LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices



Reply
 
Search this Thread
Old 05-07-2002, 10:57 PM   #1
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE 12.2 64 bit
Posts: 488

Rep: Reputation: 32
Please explain


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?

Last edited by pilotgi; 05-07-2002 at 11:44 PM.
 
Old 05-07-2002, 11:22 PM   #2
Jazm
LQ Newbie
 
Registered: Apr 2002
Distribution: RH & SuSE
Posts: 17

Rep: Reputation: 0
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

cd /usr/src
mkdir pr-pppoe-3.3
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.
 
Old 05-07-2002, 11:43 PM   #3
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE 12.2 64 bit
Posts: 488

Original Poster
Rep: Reputation: 32
Thanks for the reply, but I'm still confused. Is rp-pppoe-3.3 untarred and decompressed?

What do you mean by "you might want to keep distributed source in the /usr/src directory?

Why would I move /home/rp-pppoe-3.3.tar.gz and rp-pppoe-3.3?
 
Old 05-08-2002, 12:23 AM   #4
Jazm
LQ Newbie
 
Registered: Apr 2002
Distribution: RH & SuSE
Posts: 17

Rep: Reputation: 0
.tar signifies it is tarred
.gz signifies it is zipped

The move would be relevent if you want to keep distributed source in a single location such as usr/src.

BTW the move command I used makes use of the current directory indicator ./ (dot slash).
 
Old 05-08-2002, 08:22 AM   #5
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 8.04
Posts: 668

Rep: Reputation: 31
Quote:
... 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.
 
Old 05-08-2002, 08:49 AM   #6
boblucci
Member
 
Registered: Dec 2001
Location: New Jersey
Distribution: RedHat 9
Posts: 34

Rep: Reputation: 15
Quote:
Originally posted by pilotgi
Thanks for the reply, but I'm still confused. Is rp-pppoe-3.3 untarred and decompressed?

What do you mean by "you might want to keep distributed source in the /usr/src directory?

Why would I move /home/rp-pppoe-3.3.tar.gz and rp-pppoe-3.3?
take a look at this link for learning how to work with a *.tar.gz or *.tgz file. http://rtfm.dyndns.info/tips/2000/04/07/10.shtml

i also think that if you're useing mandrake that you should get packages that are made for a mandrake system, i think it's easier.

Last edited by boblucci; 05-08-2002 at 08:54 AM.
 
Old 05-08-2002, 01:52 PM   #7
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE 12.2 64 bit
Posts: 488

Original Poster
Rep: Reputation: 32
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
 
Old 05-08-2002, 02:28 PM   #8
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,539

Rep: Reputation: 149Reputation: 149
Install gcc package. You need a compiler and don't have one... Check also if make is installed. If not, install both.
 
Old 05-08-2002, 07:33 PM   #9
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE 12.2 64 bit
Posts: 488

Original Poster
Rep: Reputation: 32
Thanks Mara. Can you tell me how to do that?
 
Old 05-09-2002, 07:47 PM   #10
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE 12.2 64 bit
Posts: 488

Original Poster
Rep: Reputation: 32
Can anyone tell me how I can verify if I have the compiler and make apps on my Mandrake 8.1 machine?

Or does anyone know for sure that these apps are included with this distro?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can ANYONE explain this? jimsproch Programming 11 01-03-2005 07:49 AM
Can somebody explain this to me? SyBEX Linux - Software 3 10-24-2004 06:32 PM
can someone explain this? SteveGodfrey Linux - Wireless Networking 1 05-28-2004 09:47 AM
please someone, do explain this to me... Tisch Slackware 4 01-17-2004 11:37 AM
Can someone explain this ? beyond_2000 Linux - Hardware 6 10-08-2002 07:02 PM


All times are GMT -5. The time now is 08:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration