Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-11-2015, 03:37 PM
|
#1
|
LQ Newbie
Registered: Apr 2015
Posts: 17
Rep: 
|
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.
|
|
|
04-11-2015, 03:43 PM
|
#2
|
LQ 5k Club
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,375
|
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.
|
|
|
04-11-2015, 03:49 PM
|
#3
|
LQ Newbie
Registered: Apr 2015
Posts: 17
Original Poster
Rep: 
|
Quote:
Originally Posted by camorri
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.
|
|
|
04-11-2015, 03:55 PM
|
#4
|
LQ 5k Club
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,375
|
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.
|
|
|
04-11-2015, 04:09 PM
|
#5
|
LQ Newbie
Registered: Apr 2015
Posts: 17
Original Poster
Rep: 
|
Quote:
Originally Posted by camorri
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.
|
|
|
04-11-2015, 04:16 PM
|
#6
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520
|
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 05:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|