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 have not heard of a Kwort (Slackware) distro.
However if it is slackware you might be able to easily install pre-made packages for slackware. http://www.linuxpackages.net/
installpkg <package name.tgz>
you then have it installed. Easy as that no compiling.
when you untar tar -zxvf <file.tar.gz>
cd to the new file
ls look for a file "README" or "INSTALL" or something like that.
less README or
You will have compiling instructions.
Some programs compile a little differently.
You can always check with "pwd" (print working directory) where you currently are.
I usually use the TAB key to make sure I typed it correctly. I either use it to complete a long directory name, or instead of typing / I will press TAB to make sure I got it right.
Maybe I can help explain some of this. When you download these packages they are "archives" that are usually bundled together using a utility called "tar". These packages will end with the extension ".tar". In addition to bundling the package together they archive is usually compressed to save disk space and download bandwidth. Compressed archives usually end in ".gz" or ".bz2".
With a ".gz" archive you should first move it to a suitable place to install it. The locataion you want is "/usr/local/" so type this:
$mv pacakagename.gz /usr/local
Then change directories to that location:
Use this command to list the contents of the directory:
You should see your file. Uncompress the compressed archive:
This will uncompress the archive. Usually this results in a file called packagename.tar, which you can find again by listing the directory. Once you have found the file type this:
$tar -zxvf packagename.tar
This will unzip the archive and create a new directory with all the files. Now you need to change directories to the new one.
$cd (name of new directory)
When you type ls you should see a lot of interesting things. Usually there is a file called configure, which is what you're looking for. But first you should also look for README and/or INSTALL files which are just text files with good information about the package, requirements, and install instructions. Usually the INSTALL file says to ./configure then make and finally make install. Follow the instructions in the README or INSTALL file. I'll assume it is a normal set of instructions so do this:
Look for any error messages before continuing. If there was an error then you can't continue until you remedy the problem, such as installing a required software package (called a prerequisite). If there was no error, then type (as user root or superuser):
This is usually the hardest step and takes a few minutes. You'll se a bunch of text scrolling across the console too fast to read. This is instructions and standard ouput of the compiler. the only thing you should concern yourself with here is that it does not stop on error. If it finishes OK then you are homoe free! Type this to finish:
Then type whatever command launches the application. Thats pretty much it. You should always make life easy on yourself and check to see if there is already a package pre-configured for your linux version. Most linux distros have "pakage manager" software that will install software for you and greatly reduce the manual work and frustration that sometimes results. Most people only install software by this manual complilation when the software package does not exist in a pre-compiled state, which is fairly uncommon for popular software. I recommend a more popular linux distro because you are more likely to find software package pre-compiled and easily installable.