LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   installing and managing new apps. good practice! (http://www.linuxquestions.org/questions/linux-newbie-8/installing-and-managing-new-apps-good-practice-237973/)

bikov_k 10-02-2004 03:54 PM

installing and managing new apps. good practice!
 
Hi everyone, I would like to ask the more experienced users about some advice regarding installing and managing applications. What tools do you use? Are there any other special package managers besides rpm?

I found out that quite often software has to be compiled. How do you keep organized such software?

Thanks for sharing you ideas!

Kalo

bikov_k 10-02-2004 04:15 PM

ok, right now I am installing some mpc plugin. I am following the steps from the README file.
./configure
make
make install

OK! At later times I can decide to uninstall the plugin and all its files. But how?

Bruce Hill 10-02-2004 04:27 PM

To uninstall later the best app is CheckInstall

Very few apps allow you to uninstall later after compiling from source as you mention.

Komakino 10-02-2004 04:30 PM

Quote:

Originally posted by Chinaman
To uninstall later the best app is CheckInstall

Very few apps allow you to uninstall later after compiling from source as you mention.

True, but most apps don't add anything more than:
/usr/local/share/app-name/
/usr/local/bin/app-bin

Bruce Hill 10-02-2004 05:23 PM

As a newbie, you probably don't want to go running through your
system looking for all the file locations of apps... If I'm wrong, issue
"whereis <app_name>"
Quote:

mingdao@james:~$ whereis gimp
gimp: /usr/bin/gimp /etc/gimp /usr/lib/gimp /usr/share/gimp /usr/man/man1/gimp.1.gz /usr/share/man/man1/gimp.1.gz
mingdao@james:~$ whereis xmms
xmms: /usr/bin/xmms /usr/lib/xmms /usr/include/xmms /usr/share/xmms /usr/man/man1/xmms.1.gz /usr/share/man/man1/xmms.1.gz
mingdao@james:~$ whereis scribus
scribus: /usr/local/bin/scribus /usr/local/lib/scribus
mingdao@james:~$ whereis fluxbox
fluxbox: /usr/X11R6/bin/fluxbox /usr/bin/X11/fluxbox /usr/X11/bin/fluxbox /usr/X11/man/man1/fluxbox.1.gz
Not only does CheckInstall make it easy to uninstall a package you
decide you don't want, but it will leave you a copy of the installed package
in the source directory it creates, so you can install it again on another system.

CheckInstall will create a Slackware, RPM or Debian compatible package
and install it with Slackware's installpkg, "rpm -i" or Debian's "dpkg -i" as
appropriate, so you can view it's contents with pkgtool ("rpm -ql" for RPM
users or "dpkg -l" for Debian) or remove it with removepkg ("rpm -e"|"dpkg -r").


All times are GMT -5. The time now is 06:54 AM.