LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can't Uninstall Firefox (https://www.linuxquestions.org/questions/linux-software-2/cant-uninstall-firefox-4175539419/)

TexT 04-11-2015 03:37 PM

Can't Uninstall Firefox
 
I'm trying to get rid of Firefox on my computer. There is a Firefox directory in /usr/lib64/firefox-24.1.0 I try to delete it but I don't have permissions.

camorri 04-11-2015 03:43 PM

If you want to remove a program, use your distros package manager to remove it. You will need the root password to remove the program.

What distro are you running?

Deleting the directory /usr/lib64/firefox-24.1.0 may not remove the entire program. Linux programs have parts installed in many different directories.

TexT 04-11-2015 03:49 PM

Quote:

Originally Posted by camorri (Post 5345963)
If you want to remove a program, use your distros package manager to remove it. You will need the root password to remove the program.

What distro are you running?

Deleting the directory /usr/lib64/firefox-24.1.0 may not remove the entire program. Linux programs have parts installed in many different directories.

I'm running Slackware.

camorri 04-11-2015 03:55 PM

The command 'removepkg' will remove it.

You need to look in /var/log/packages/ to find the exact package name. The command 'ls -l /var/log/packages | grep firefox' will list the exact name.

Then 'removepkg firefoxexactpackagename' will remove it.

TexT 04-11-2015 04:09 PM

Quote:

Originally Posted by camorri (Post 5345967)
The command 'removepkg' will remove it.

You need to look in /var/log/packages/ to find the exact package name. The command 'ls -l /var/log/packages | grep firefox' will list the exact name.

Then 'removepkg firefoxexactpackagename' will remove it.

I ran

removepkg mozilla-firefox-24.1.0esr-x86_64-1 and I got

bash: removepkg: command not found

Sorry if I did something wrong still new to linux.

knudfl 04-11-2015 04:16 PM

The commands are :
1) su <enter root password>
2) removepkg mozilla-firefox-24.1.0esr-x86_64-1


All times are GMT -5. The time now is 03:57 PM.