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.
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.
.tar and .gz are simply suffixes to denote certain kinds of compression and archiving. Only after extracting will you know the next steps.
First open a terminal and do:
tar -xzvf filename
this will result in a new folder (directory). cd into this and look at the contents. There normally will be some kind of README or other instructions.
But first--if you are installing SW, have you checked to make sure it is not in your package manager? If so that is the easiest method.
$ tar -xvzf saidFile.tar.gz I think, from memory. The last time I did this it created a subdirectory, in the directory in which the command was executed, and put all the stuff in there.
Alternatively,
$ gunzip saidFile.tar.gz
$ tar -xf saidFile.tar x for 'extract', f for file.
You can use "tar tzvf <file.tar.gz>" to see the contents of the file.
You can use "tar xzvf <file.tar.gz>" to extract the contents of the file.
file.tar.gz being replaced by the actual name of the file you want to extract of course.
Typically you would run the extract. One (or more) of the files should be "readme" (or README or Readme - linux is case sensitive so these are different names) and may have suffixes like readme.first. You can read that file and it should contain instructions for how to install the package. If the package is a source distribution it typically goes something like:
configure - Command sets up the makefile(s) based on your system's setup
make - Compiles the source for your system based on the configure you did
make install - Installs the software.
It DOES however vary so it is very important to read the readme files or the instructions from the site you downloaded the tar.gz from. For example the Firefox.tar.gz doesn't contain any instructions so you have to figure it out (or look at the post I did about Firefox explaining it some time back) for yourself.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.