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-23-2011, 11:27 PM   #1
Ubuntonian
LQ Newbie
 
Registered: Nov 2010
Posts: 28

Rep: Reputation: 0
How to install a tarball?


I'd love to know how to install a tar.gz file in Ubuntu. I just reinstalled Ubuntu from scratch, so I don't have any additional software.

Thanks for any help
 
Old 02-23-2011, 11:37 PM   #2
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
Greetingz!

Well, that depends on what's in the tarball, but the following should help you out a bit.
Open a terminal, go to the directory that contains your *.tar.gz file, and do the following;
Code:
tar -zxvf your_tarball.tar.gz
Once you get that done, go into the directory it creates and do an "ls -l", you might see a file called "configure".
If you see anything like "INSTALL", "README", or "doc", get in there and start reading.

It'd help if you gave us the name or source URL where you obtained the tarball, too.
 
Old 02-24-2011, 01:00 AM   #3
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,679
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Quote:
Originally Posted by Ubuntonian View Post
I just reinstalled Ubuntu from scratch, so I don't have any additional software.
PLEASE, since you are using UBUNTU it is better to install a .deb package rather than
a tar file (through Synaptic Package Manager) or http://packages.ubuntu.com/
 
1 members found this post helpful.
Old 02-24-2011, 01:04 AM   #4
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
@Anisha Kaul
True, but OP didn't say what they were installing. It may be that the software in question doesn't have a .deb file.
Heck, I'm thinking it could be a sourcecode tarball of some sort...
 
Old 02-24-2011, 01:07 AM   #5
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,679
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Actually I focused on:
Quote:
so I don't have any additional software.
and secondly I didn't mean to tell OP not to follow your advice, I just meant to point
out that there is one more way
 
Old 02-24-2011, 01:16 AM   #6
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
Very true, there's many way's to install software.
And I would strongly advise anyone installing pre-compiled software to grab somethine created with their *NIX distribution's native package-management system in mind.

It's a shame OP didn't include more details...as they're offline at the moment, it will probably be a day till we hear back from them.
 
  


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
Trying to install tarball pintobean Mandriva 3 04-22-2006 05:37 AM
trying to install tarball pintobean Mandriva 7 04-21-2006 06:06 AM
make install does not install daemons (clamd snortd). Is this a feature of tarball? Emmanuel_uk Linux - Newbie 3 11-15-2005 01:29 AM
how do u install a tarball? brianwoods Linux - Newbie 4 05-27-2004 08:11 PM
How do you install from a tarball? HoosTrax Linux - Software 3 02-10-2004 12:34 PM


All times are GMT -5. The time now is 08:22 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