Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-21-2002, 02:38 AM   #1
Registered: Oct 2001
Location: Tokyo, Japan
Distribution: Slackware
Posts: 105

Rep: Reputation: 15
uninstalling preinstalled packages

I did a search and everything I read said do a make uninstall in the program directory if the program is from source. Ok I understand that no problem. But what if the program was installed with the distro? I have Slackware 8.0 and would like to uninstall emacs so I can install the newer one. Is this the best way or can I just install over the existing? Thanks for the help.
Old 07-21-2002, 05:46 AM   #2
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388

Rep: Reputation: 30
That would be :
 removepkg [option]  packagename
The 4 options are:
-copy= copies to preserved package directory,creating a tree of original pkg without removing it.

-keep=used for debugging

-preserve=same as -copy but removes original pkg

-warn=shows what will happen if the pkg is removed

Most of this is cribbed from the Slackware essentials manual to help make this reply more understandable to someone besides myself
Note:you can only use one option at a time but you can list more than one pkg. I hope this helps.

Last edited by lynch; 07-21-2002 at 05:47 AM.
Old 07-21-2002, 07:18 AM   #3
LQ Addict
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Use pkgtool. Check out this page.
Old 07-21-2002, 08:28 AM   #4
Registered: Nov 2000
Location: A Mid-Atlantic state
Distribution: SuSE 8.1,Knoppix 3.2,Mandrake 9.1
Posts: 388

Rep: Reputation: 30
Old 07-23-2002, 11:43 AM   #5
Registered: Jul 2002
Posts: 143

Rep: Reputation: 15
rpm -qa |grep emacs |xargs rpm --uninstall might work too, dunno, i've never tried it.

try it with and with out the xargs


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Uninstalling packages jlp1976 Linux - Software 2 03-09-2005 09:48 AM
uninstalling packages.... admstng Mandriva 2 01-01-2005 03:40 AM
uninstalling packages kapslock Debian 1 10-14-2004 12:34 PM
Uninstalling packages - How? Seventh Linux - Newbie 1 01-13-2004 11:06 AM
Uninstalling packages ToadLurker Linux - Newbie 6 10-07-2003 10:28 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration