How do I install a local rpm with GNOME Software?

I’ve downloaded an rpm. When I double click it software opens but nothing is installed.

How do I install a local rpm?

(the rpm can be found here: https://dev.mysql.com/downloads/file/?id=544380)

GNOME Software will open a details page for the app, where you should click the Install button.

Please always specify distro version and GNOME version.

FWIW, this is a source RPM (mysql-workbench-community-8.0.43-1.el9.src.rpm), which is used for development (install to ~/rpmbuild/ folder etc) and not an actual mysql RPM.

GNOME Software only installs from files with the following mimetypes.

	const gchar *mimetypes[] = {
		"application/x-app-package",
		"application/x-deb",
		"application/vnd.debian.binary-package",
		"application/x-redhat-package-manager",
		"application/x-rpm",
		NULL };

GNOME Software ignores the .src.rpm file when clicked, as the content type doesn’t match, as shown below.

$ gio info mysql-workbench-community-8.0.43-1.el9.src.rpm  | grep content-type
  standard::content-type: application/x-source-rpm
  standard::fast-content-type: application/x-source-rpm

It can show a notification / toast about the failure in the UI though.

You can open a issue for that in Issues · GNOME / gnome-software · GitLab.

1 Like

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.