LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-06-2004, 04:20 AM   #1
Morpheusx00x
LQ Newbie
 
Registered: Aug 2004
Location: Marbella, Spain
Distribution: Mandrake 9.2
Posts: 29

Rep: Reputation: 15
How to ........


Hello,
How can i install a tar.gz ?

Thank
you
 
Old 08-06-2004, 04:23 AM   #2
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
try tar -zxvf <filename>.tar.gz

Then you usually need to
./configure
make
make install


the "make install" part has to be done as root.
Baldrick

Last edited by Baldrick65; 08-06-2004 at 04:25 AM.
 
Old 08-06-2004, 04:28 AM   #3
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
First, you must untar your file: tar xvfz filename.tar.gz

You will get a folder named filename. cd into that directory and run as root ./configure (to create a makefile), then make, and finally make install to install your software.

I should mention this installs the software with default settings, to the default path. There should be a README or INSTALL file inside the .gz that will help you with other options or configurations.
 
Old 08-06-2004, 04:29 AM   #4
Morpheusx00x
LQ Newbie
 
Registered: Aug 2004
Location: Marbella, Spain
Distribution: Mandrake 9.2
Posts: 29

Original Poster
Rep: Reputation: 15
Ok done that .
What next ? When i click on the File then theres another directorie in it with many other Files .........
 
Old 08-06-2004, 04:34 AM   #5
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
All of our supplied commands were from the command line. Try right-clickingon the tar.gz file to see if there is an "extract" option if you are using a WindowsManager (ie from inside KDE or Gnome)
 
Old 08-06-2004, 04:35 AM   #6
Morpheusx00x
LQ Newbie
 
Registered: Aug 2004
Location: Marbella, Spain
Distribution: Mandrake 9.2
Posts: 29

Original Poster
Rep: Reputation: 15
Well i have done that First : tar -zxvf.......... Then it created another Directorie wich is called FlightGear.... and there are many Files inside like FlightGear.dsp and INSTALL and .......
 
Old 08-06-2004, 04:46 AM   #7
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
OK, from a shell (terminal), type

cd FlightGear-xxx (in case you're not there already)
./configure
make
su (then enter <password>)
make install

then run "FlightGear" from the command line

Baldrick
 
Old 08-06-2004, 04:47 AM   #8
Morpheusx00x
LQ Newbie
 
Registered: Aug 2004
Location: Marbella, Spain
Distribution: Mandrake 9.2
Posts: 29

Original Poster
Rep: Reputation: 15
Ok in the INSTALL it says :

1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.

Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.

2. Type `make' to compile the package.

3. Optionally, type `make check' to run any self-tests that come with
the package.

4. Type `make install' to install the programs and any data files and
documentation.

5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
fo....

So i cd to the Directorie but i dont understand what they mean with ./configure and make install
 
Old 08-06-2004, 04:48 AM   #9
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
That's just a generic install instructions file. Just execute the commands I gave above.

Baldrick
 
Old 08-06-2004, 04:55 AM   #10
Morpheusx00x
LQ Newbie
 
Registered: Aug 2004
Location: Marbella, Spain
Distribution: Mandrake 9.2
Posts: 29

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Baldrick65
OK, from a shell (terminal), type

cd FlightGear-xxx (in case you're not there already)
./configure
make
su (then enter <password>)
make install

then run "FlightGear" from the command line

Baldrick
---

Well do i have to type in cd ..... everytime ? like

cd /home/danny/Documents/ ./configure ?

( The File is called FlightGear-0.9.5.tar.gz and located in this Folder : file:/home/danny/Documents )
 
Old 08-06-2004, 04:58 AM   #11
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
Quote:
Well do i have to type in cd ..... everytime ? like

cd /home/danny/Documents/ ./configure ?
No ... as long as you're already in the FlightGear-0.9.5 directory, just running ./configure etc. should work.

Baldrick
 
Old 08-06-2004, 05:01 AM   #12
Morpheusx00x
LQ Newbie
 
Registered: Aug 2004
Location: Marbella, Spain
Distribution: Mandrake 9.2
Posts: 29

Original Poster
Rep: Reputation: 15
When i type in ./configure it says No such File or Directory .
 
Old 08-06-2004, 05:05 AM   #13
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
OK, open up a new terminal, type in
cd /home/danny/Documents/FlightGear-0.9.5
you should be in the FlightGear Directory ...
./configure
make
su
<then enter root password>
make install

Baldrick
 
Old 08-06-2004, 05:17 AM   #14
Morpheusx00x
LQ Newbie
 
Registered: Aug 2004
Location: Marbella, Spain
Distribution: Mandrake 9.2
Posts: 29

Original Poster
Rep: Reputation: 15
When i type it in ( cd /home/danny/Documents/FlightGear-0.9.5 ) it still says No such File or Directory
 
Old 08-06-2004, 05:21 AM   #15
Morpheusx00x
LQ Newbie
 
Registered: Aug 2004
Location: Marbella, Spain
Distribution: Mandrake 9.2
Posts: 29

Original Poster
Rep: Reputation: 15
I just made a new Folder called FlightGear then i typed in cd /home/danny/Documents/FlightGear and it worked but when i type in ./configure it says no such file or directory .
 
  


Reply



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



LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:27 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
Open Source Consulting | Domain Registration