LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Where should I be installing appz (https://www.linuxquestions.org/questions/linux-newbie-8/where-should-i-be-installing-appz-217829/)

DraaX 08-15-2004 07:37 AM

Where should I be installing appz
 
I am using slack 10 and am not exactly sure where I should be installing programs. Can anyone offer me any more assisitance on the best place to install stuff?

bruno buys 08-15-2004 08:03 AM

These places are defaults. You don't have to worry, when you "make install", the command will install them in the right place. Usually it's /usr, ou /usr/bin.
A few exception occur. Netscape downloads a precompiled package in tar.gz format that you can run from anywhere.

DraaX 08-15-2004 04:50 PM

Cool Thanks d00d. So it does not matter where I download the Tarball too, if I understand right. Everything is installed into the default location. After installing I can just erase or archive the tarball?

Mara 08-15-2004 04:58 PM

Yes. The tarball is not needed after 'make install'. BTW The standard directory for compiled rpograms is /usr/local. Binaries go to /usr/local/bin, libraries to /usr/local/lib and so on. The thing is that /usr/local/bin is not always in your PATH, so you won't be able to run it using only its name. If you encounter such a problem, add /usr/local/bin (or any directory you prefer for the programs) to PATH in such command
export PATH=$PATH:/usr/local/bin
To make the change permanent and for all users, add the command above to /etc/profile.

scuzzman 08-15-2004 05:29 PM

Quote:

Yes. The tarball is not needed after 'make install'.
Before you remove the tarball, or its directory for that matter, you'll want to make sure it doesn't have a 'make uninstall' script that will make the uninstall process easier if you ever want to get rid of the package.


All times are GMT -5. The time now is 04:41 PM.