LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-04-2009, 05:35 AM   #1
kabith
LQ Newbie
 
Registered: Jan 2009
Location: Bangalore, India
Distribution: ubuntu 9.04
Posts: 24

Rep: Reputation: 15
Installing


I am a total newbie to linux. I switched from windows, but I am loving it. How do I install tar.gz files in linux?
Thank in advance.
 
Old 02-04-2009, 05:43 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Generally speaking, try to let "don't" be a good enough answer for now. There is a very very good chance that whatever you're trying to install should have a precompiled version available in whichever package management system you're using on your distro. Whilst it's very easy to install from source, there can be a lot of additional packages to install and a certain learning curve which if you're very new to Linux, is probably best avoided for now if possible.

That said...

tar zxvf myapp.tar.gz
cd myapp
./configure
make
make install
 
Old 02-04-2009, 06:02 AM   #3
kabith
LQ Newbie
 
Registered: Jan 2009
Location: Bangalore, India
Distribution: ubuntu 9.04
Posts: 24

Original Poster
Rep: Reputation: 15
Checked for precompiled package, but it is not there. I am installing Songbird.
 
Old 02-04-2009, 06:02 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Hi Kabith,
It might help us if you could tell us exactly what tar.gz file you are trying to install. I do agree with acid_kewpie's answer above.
cheers,
jdk
 
Old 02-04-2009, 06:13 AM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by kabith View Post
Checked for precompiled package, but it is not there. I am installing Songbird.
Open a terminal and navigate to where the Songbird tarball is.
Untar it using the the command
Code:
tar zxvf tar Songbird_1.0.0-860_linux-i686.tar.gz
This is not a tarball to be compiled but rather a generic linux binary which now should be moved to its permanent home.
Still from the terminal now use the command
Code:
sudo mv Songbird /opt
You will be prompted for your own password. If you don't like this location you can move it anywhere your heart desires.
Songbird may now be run with this command
Code:
/opt/Songbird/songbird
Upper and lower case are important.
You can create a shortcut to this app on your desktop.

My previous message was sent out before I saw yours about Songbird. Sorry about that.
Cheers,
jdk
 
Old 02-04-2009, 06:39 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
nothing useful here?

http://wiki.songbirdnest.com/Develop...ributed_Builds
 
Old 02-06-2009, 10:11 AM   #7
kabith
LQ Newbie
 
Registered: Jan 2009
Location: Bangalore, India
Distribution: ubuntu 9.04
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks for the help, will give it a shot. I have to learn this someday, so why not now?
 
Old 02-06-2009, 02:31 PM   #8
kirkster
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Rep: Reputation: 0
similar issue

I am likewise a complete newbie to Linux, though have some familiarity with Solaris and the UNIX command line.

I am running Ubuntu 8.10 - NICE!!!

However, I to want to install a tar.gz

http://www.metasploit.com/framework/...ork-3.2.tar.gz

I want to run this application which is a network penetration tester (I am a network engineer).

When I type the ./configure command it complains about being an unknown command.

Any ideas chaps? Is my path wrong?

Rgds, Steve
 
Old 02-06-2009, 02:37 PM   #9
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by kirkster View Post
I am likewise a complete newbie to Linux, though have some familiarity with Solaris and the UNIX command line.

I am running Ubuntu 8.10 - NICE!!!

However, I to want to install a tar.gz

http://www.metasploit.com/framework/...ork-3.2.tar.gz

I want to run this application which is a network penetration tester (I am a network engineer).

When I type the ./configure command it complains about being an unknown command.

Any ideas chaps? Is my path wrong?

Rgds, Steve
It might be a good idea to start a separate thread for this???
That said, what directory are you in when you issue the ./configure command? Is there a configure file in that directory? I would guess not since you get the "unknown command" response. You need to run ./configure from the very directory where the configure file is found.

I am assuming you have untarred the tar.gz file, yes?
cheers,
jdk

Last edited by jdkaye; 02-06-2009 at 02:38 PM.
 
Old 02-06-2009, 02:45 PM   #10
kirkster
LQ Newbie
 
Registered: Jan 2009
Posts: 4

Rep: Reputation: 0
Yes, Extracted the files and created a new folder in my home directory

pwd

/home/steve/Documents/framework

./configure

bash: ./configure: No such file or Directory


So not sure. Didn't start new thread since veru similar to OP. I will start another one!!!!

Rgds, Steve
 
Old 02-06-2009, 02:53 PM   #11
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
Kabith, what distribution of linux are you using?

Kirkster,

Since you are using Ubuntu, see if you can install this package using synaptice, a graphical front end for the apt-get package manager that Ubuntu uses.

Enter at the command line:

sudo synaptic

You will be prompted for the user password you set when you installed Ubuntu.

Once synaptic is open, you can use it to search for any package you are interested in installing, either by name or package description. You may need to enable additional ubuntu repositories, including "universe" and "multiverse". You can configure this through synaptic.

Installing tarballs (.tar.gz files) is something that can be avoided with most modern linux distributions. Ubuntu is based on Debian, which has over 26,000 packages available via apt-get and synaptic.
 
Old 02-07-2009, 05:30 AM   #12
kabith
LQ Newbie
 
Registered: Jan 2009
Location: Bangalore, India
Distribution: ubuntu 9.04
Posts: 24

Original Poster
Rep: Reputation: 15
Ubuntu 8.10, Intrepid.
 
Old 02-10-2009, 02:37 AM   #13
kabith
LQ Newbie
 
Registered: Jan 2009
Location: Bangalore, India
Distribution: ubuntu 9.04
Posts: 24

Original Poster
Rep: Reputation: 15
Another question- How do I change the desktop environment from GNOME to KDE?
 
Old 02-10-2009, 02:42 AM   #14
kabith
LQ Newbie
 
Registered: Jan 2009
Location: Bangalore, India
Distribution: ubuntu 9.04
Posts: 24

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jdkaye View Post
Open a terminal and navigate to where the Songbird tarball is.
Untar it using the the command
Code:
tar zxvf tar Songbird_1.0.0-860_linux-i686.tar.gz
What is meant by navigating through terminal to the tarball?
 
Old 02-10-2009, 02:48 AM   #15
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by kabith View Post
What is meant by navigating through terminal to the tarball?
Open a terminal. Normally it starts you off in your home folder /home/kabith, for example (often abbreviated as "~"). Lets say your tarball is located in /tmp.
Navigating to the folder where your tarball is found consists of this:
Code:
cd /tmp
"cd" is the command to change directory (or navigate) to the one indicated following the command.
Code:
cd
with no argument takes you to your home folder.
cheers,
jdk
 
  


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
Toshiba Satellite 110CS installing pdf reader, installing linux nappy501 Linux - Laptop and Netbook 3 10-11-2008 11:45 AM
Installing Vega Strike, having trouble installing SDL_mixer-devel captainxark Fedora 3 09-13-2008 07:29 PM
Installing individual OpenOffice apps without installing the entire suite? roystonlodge DamnSmallLinux 3 06-06-2008 02:14 PM
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 03:44 PM
Installing Mandriva 2006 - Hangs installing hard drive controller nvidia mcp04 sata DanielJPayne Mandriva 7 01-19-2006 03:15 AM


All times are GMT -5. The time now is 10:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration