DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
/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.
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.
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.