Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
At the Linux Documentation Project, under the topic of installing GNU software, it says: With the [source.tar.gz] archive in the [/usr/src/] directory, or wherever you maintain your source files, untar and decompress the package with the command:
tar zxvf package-name.tar.gz
This is the same command my read me file tells me to use, too, although it doesn't say anything about having the source in the /usr/src directory. There is a piece of the puzzle missing for this n00b. When I type in this command as either user or root, I get "no such file or directory". Right now the file is in the
/home directory. The file is rp-pppoe-3.3.tar.gz. When I click on it, it opens another window with a folder called rp-pppoe-3.3. I click on that and I get another window with 6 directories and 5 files. Does that mean the tar file is now unpacked?
Do I have to move some or all of these files to the /usr/src directory? Do I have to be in this directory when I type the command?
What does untar mean? Does unpack and decompress mean the same thing?
TAR is an acronym for tape archive and retrieval it is a sequencial file that can be expanded into a directory structure. It is the .gz extension that tells you it is a zip file. You will need to be in the directory that contains the .tar file, or specify a full path name in the command. You can also right click on it to untar it, select 'preview' or 'extract here' But you might want to keep distributed source in the /usr/src directory.
Use mkdir to create a new directory in /usr/src
move the tar file to the new directory
mv /home/pr-pppoe-3.3.tar.gz ./pr-pppoe-3.3/
then you can either use the tar command or right click to extract.
Then you can begin the install process.
... or wherever you maintain your source files ...
You don't have to put your source files into /usr/src, you can put them wherever it makes to put them. The point is, that you need to be in the directory where you put them then run the tar, or gzip, program.
From you description, I would say that after you did all your clicking that the files are unpacked. If they are source files, then go to the directory where they landed and follow the compile and install instructions.
Thanks for the link, boblucci. I got stuck at #2: cd to new directory.
When I executed the tar command, I got a long list of src files. The read me file says "If you're lucky, the quickstart method will work. After unpacking the archives, log in as root and type ./go-gui. This should configure, compile, and install the software and set up your adsl connection."
When I typed ./go-gui I got "no such file or directory".
The readme file says "if the quickstart doesn't work, unpack and then cd src.
Again, "no such file or directory".
I typed in cd rp-pppoe-3.3/src and got root@localhost src.
I typed ./configure (step 3 from readme). I got:
creating cache ./config.cache
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
I have three different configure files: config.h.in, configure, configure.in