LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   software management question (rpms and self-built) (https://www.linuxquestions.org/questions/linux-general-1/software-management-question-rpms-and-self-built-129977/)

steyr 12-30-2003 01:59 AM

software management question (rpms and self-built)
 
First, I wanted to uninstall my Xwindows system and everything associated with it on my rh9 box, but the rpm utility has no way of automatically removing dependencies. Is there a program out there that will remove a package and all the packages that are dependant on that package?

Second, how do you manage software that's been installed from source? I assume you can mostly just remove the installation directory, but I suppose there may be some caveats I don't know about.

TIA,
Paul

jailbait 12-30-2003 11:25 AM

"Second, how do you manage software that's been installed from source? I assume you can mostly just remove the installation directory, but I suppose there may be some caveats I don't know about."

Use checkinstall to create a rpm from the tarball then install the rpm. The procedure to create the rpm is:
./configure
make
checkinstall

http://asic-linux.com.mx/~izto/checkinstall/

For source packages that you have already installed from source you can go through the install procedure again using checkinstall. That way you install the rpm on top of the existing files. Then you remove the package with:
rpm -e packagename

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites


All times are GMT -5. The time now is 12:25 AM.