LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to install a tarball? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-install-a-tarball-864681/)

Ubuntonian 02-23-2011 11:27 PM

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 :hattip:

xeleema 02-23-2011 11:37 PM

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.

Aquarius_Girl 02-24-2011 01:00 AM

Quote:

Originally Posted by Ubuntonian (Post 4269269)
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/

xeleema 02-24-2011 01:04 AM

@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...

Aquarius_Girl 02-24-2011 01:07 AM

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 :D

xeleema 02-24-2011 01:16 AM

Very true, there's many way's to install software. :D
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. :(


All times are GMT -5. The time now is 10:18 AM.