LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   uninstalling preinstalled packages (https://www.linuxquestions.org/questions/linux-software-2/uninstalling-preinstalled-packages-26234/)

enzo250gto 07-21-2002 01:38 AM

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.

lynch 07-21-2002 04:46 AM

That would be :
Code:

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:D
Note:you can only use one option at a time but you can list more than one pkg. I hope this helps.
lynch

linuxcool 07-21-2002 06:18 AM

Use pkgtool. Check out this page.

lynch 07-21-2002 07:28 AM

Oh,yeah.
lynch

turnip 07-23-2002 10:43 AM

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

try it with and with out the xargs


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