Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Hello, I am new to Linux. I am an avid programmer in the C/ C++ and ASM languages so I thought I'd give Linux a try. I am using Slackware 10 using Gnome as my GUI.
My question is, I have successfully used tar consistently now. But I am having a bit of confusion making where to install and how to make shortcuts on my toolbars and on my desktop. I put the tarball into my /home/mydir and successfully extracted. I was told that most of my libraries and software goes in the /usr directory, so I install them into there. Then someone told me that I should install my software into my /usr/local. I'm a bit confused. Can someone give me a better overview where in /usr to install my software. Plus, I can't ever find the actual binaries in my Firefox folder when I want to make shortcuts or even run it.
Sorry if I'm not making any sense, I'm trying to shake my Windows traits as much as possible without sounding too confusing. Thanks to anyone in advance.
P.S. Yes I have searched on this on google and on this site, but my question(s) still have gone unanswered.
I really do appreciate anyones help given. I've dedicated what little free time I have to finding this out on my own.
First, binaries of most system programs go to the /usr/bin dir. You may want to install your software in the /usr/local dir,coz it's universally available from that location. Most packages will install the binaries and libs in the appropriate dirs, so unless you want them somewhere else, just let the package handle the installation. And it doesn't matter you untarred your package,it will install itself according to it's prespecified rules.
As for firefox,if you didn't specify a different location during configure, you'll find the binary in the /usr/local/bin dir. I think to understand the linux filesystem, try looking up this URL: www.tldp.org/docs.html
Try looking up the man pages for more info. Linux documentation is very extensive, unlike Redmondsoft's.
Hi Rawr101,
I think your answer might still not be answered completely.
You mention you have managed to successfully use tar, but I am not sure you have actually managed to install software nonetheless. (You dont need to copy any file anywhere. The installation is completely automated in most cases, all you need to do is enter three commands.)
Just to make sure, have a look at this article about compiling (and installing) software from source in linux.
It is really not necessary to have an in-depth understanding of the file system to use a linux system. However, if you feel more comfortable knowing about it, look at this description.
Making links to programs does not require you to know where the binaries are either. Any command you can run from the command line can also be executed from within the desktop environment. If you still want to find out where the binary is located, try using the command which (e.g.:which firefox). Use the man pages (e.g.: man which).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.