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.
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.