Linux - NewbieThis 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.
Hi,
I'm a new Linux society member (Red Hat 9). Installation went just fine and now I'd like to install some programs but I don't know which place is the most convenient. In windows os you have a special directory called ProgramFiles - should I create similar directory in /usr?
During installation I created separate partiton for /home but I guess it would be better to use it for the data?
I also encountered problem when I wanted to expand compressed file (which contains installation) zigzag.linux.tar (error massage ''This does not look like a tar archive'').
Programs typically choose a prefix automatically on Linux, there is no need to explicitly tell them where to install.
There are several FS trees that software can "integrate" itself with. /usr is the most common one, /usr/local is used for things you compiled and installed from source. I'd not worry about it - as you'll find out, it's automatic
sounds like the .tar file is corrupt, try re-downloading it from the same source or download it from a new source. Also ensure that you don't move it once you download, in very rare instances on RH 9 it can corrupt files, similar to windows (depending on file size).
One more stupid question, but I can't find this in installed documentation (I don't have any hardcopy manual yet):
what means ./ (in ./config) and what does make command do (in make and make install)
if you have made your homedirectory big enough than you should use it, so you dont have to switch to root everytime u want to use/move/delete/manipulate the installfiles
depending on the kind of install you are doing the files are moved automatically to its proper locations.
after u are using rh its easier to look for the programm as a rpm package http://rpmfind.net
install goes much faster and easier especially for newbies
./ (in ./config): . stands for the actual directory you are just working in (type pwd to have it shown), so ./configure is the correct concatenation of the path and the filename "configure" thus yielding /path/to/your/actual/directory/configure. Reason: more often than not the directory you are downloading to is not in the PATH variable (type echo $PATH), and then just typing "configure" won't start it.
The make command executes a file containing a series of commands for the compiler and other utilities. And make install triggers a series of other commands like copying the by the compiler etc. newly created executables etc. into the necessary directories. You can look at the make file with an editor of your choice to get an idea. (make install is just an option for make, I think).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.