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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I need some advises/suggestions for the way I download/compile/install files.
I don't know if the following steps are correct:
log as root.
download the file name.tar.gz to the /usr/local/tmp directory I make this directory myself)
tar the file in the above directory
and then the program's bin will go to /usr/local/bin directory by itself.
I am wondering should I save the download files to /tmp directory or /usr directory? or doesn't matter? because I am affair if something bad happen when I compile the files, it will affect the whole directory?
Thanks for ur suggestion. so when the instruction says "log as root", does that mean I cannot compile/install the files in /home directory? must be in /root?
and let's say if I want to download Libsigc++, can i download in /home (log as normal user) and after I compile the files, the /root/usr/bin will have a record automatically?
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
when you compile a program, the place of installation is controlled with the --prefix command.
will install the stuff under user local when you run make install, no matter where you compiled. you don't have to be root to compile, unless your system is set up that way. you just have to be root, or have root privliges to install the software where every user on the system has access.
1. it does not matter where You are going to download it
2. as root, do only what is needed, nothing more
3. You do not need to be root for downloading file
4. common instructions are
0. odwnload the file (in your home folder)
1. untar the file (if it is in gzip try tar xvzf file.tar.gz)
2. cd in untared directory
3. less README
4. less INSTALL
8. make install
And You are done. Do not forget number 7 ;-)