Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to "completely" remove a software in Fedora?

If I were on a debian based system, I would have done these steps to remove a package named firefox:

  • $ dpkg --get-selection *firefox*

to list all the packages which contains firefox in their name. Suppose the above command gave this output:

firefox
firefox-foo
foo-firefox
gnome-firefox-xyz
foo-firefox-bar

Now I would do a:

  • $ sudo apt-get remove firefox firefox-foo foo-firefox gnome-firefox-xyz foo-firefox-bar

to remove the firefox and firefox related package.

Now I would do a:

  • $ sudo dpkg --purge *firefox*

I don't know what this does but it removes the packages from dpkg --get-selection.

  • In next step I would check if there is any file/folder named firefox in /usr/lib/ and /usr/bin/, if so then remove them.

  • Finally I would remove my ~/.mozilla/firefox/ directory.

Last two steps are not going to change on most Linux.

But how do I do that in Fedora or Fedora based systems?

How to "completely" remove a software in Fedora?

If I were on a debian based system, I would have done these steps to remove a package named firefox:

  • $ dpkg --get-selection *firefox*

to list all the packages which contains firefox in their name. Suppose the above command gave this output:

firefox
firefox-foo
foo-firefox
gnome-firefox-xyz
foo-firefox-bar

Now I would do a:

  • $ sudo apt-get remove firefox firefox-foo foo-firefox gnome-firefox-xyz foo-firefox-bar

to remove the firefox and firefox related package.

Now I would do a:

  • $ sudo dpkg --purge *firefox*

I don't know what this does but it removes the packages from dpkg --get-selection.

  • In next step I would check if there is any file/folder named firefox in /usr/lib/ and /usr/bin/, if so then remove them.

  • Finally I would remove my ~/.mozilla/firefox/ directory.

Last two steps are not going to change on most Linux.

But how do I do that in Fedora or Fedora based systems?