LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Where you place non deb files (https://www.linuxquestions.org/questions/debian-26/where-you-place-non-deb-files-102791/)

Kroenecker 10-11-2003 11:27 AM

Where you place non deb files
 
Just wondering where everyone puts their files such as tarballs etc which they dont install using dpkg. I read that dpkg doesnt touch the directory /usr/local/src and that one should install such files from there and then binaries, libraries and config files around as needed. So what do you recommend?

Thanks.

LSD 10-11-2003 12:46 PM

For the tarballs themselves, I generally download them into either a dedicated Downloads directory or my home directory (they almost always get moved to the downloads folder later though). When it comes to compiling them though, I'll decompress them to /usr/src as this is the standard location for such things. When I just want to uncompress the archives without compiling or installing them (say, I want to get a specific file out of the archive or just poke through the contents) or experiment with things such as patches, I'll decompress to /tmp.

Strike 10-11-2003 01:38 PM

/usr/local is where everything you don't want messed with (but you want globally available) to go. I believe by default anyone in the staff group can do anything with those files. So normal users can do global installs into /usr/local if they are in that group.

Kroenecker 10-12-2003 03:00 AM

Thanks for the input! I am still very noobish when it comes to installing tarballs. Just takes some time to understand where certain files should go in the file system.

Strike 10-12-2003 10:55 AM

For installing tarballs, ./configure --prefix=/usr/local is your friend (though in a lot of instances /usr/local is what the default prefix is anyway ... specify it just to be on the safe side).


All times are GMT -5. The time now is 12:38 PM.