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 04-22-2008, 03:49 PM   #1
Josiah26
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
i dont know how to install tar.gz files on my linux.


Hi. Im new linux and I have been trying to learn how to install programs and games on my linux. I did some searching through forums and did the commands to install but when I got the command " configure" I didnt work. So I really dont know what to do.
 
Old 04-22-2008, 03:53 PM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: Caldera, CTOS, Debian, FreeBSD, Mac OS X, Mandrake, Minix, OpenBSD, Slackware, SuSE
Posts: 1,757

Rep: Reputation: 80
Welcome to Linux and forums!

Here's good article on how to build and install applications from source:

Installing software from source in Linux
http://www.tuxfiles.org/linuxhelp/softinstall.html
 
Old 04-22-2008, 03:55 PM   #3
Maligree
Member
 
Registered: Mar 2008
Distribution: Gentoo, CentOS, Fedora, Arch
Posts: 231
Blog Entries: 1

Rep: Reputation: 42
Any errors?

Usually all you have to do is:
Code:
tar xzf whatever.tar.gz
cd whatever
./configure
make
su -c 'make install'
You need to give us more info if you want some help.
 
Old 04-22-2008, 04:01 PM   #4
oskeewow
LQ Newbie
 
Registered: Apr 2008
Location: Greater Chicago
Distribution: Centos, SuSE, RHEL..etc..
Posts: 9

Rep: Reputation: 0
When I install programs, I usually read the REAME file that comes with a software. It usually has all the tricks/workaround/pre-requisites necessary to complete the installation. Look for it and it might have the solution you're looking for.
 
Old 04-22-2008, 04:08 PM   #5
thveillon
Member
 
Registered: Dec 2007
Posts: 59

Rep: Reputation: 16
I very often use checkinstall instead of make install, especially on Debian but it's available for many distro flavours. Just be sure to install checkinstall before you try the command. The main difference is that checkinstall will build a package (.deb or .rpm depending on the distro used), install it, and make the package manager aware of it so that you can later remove the package the traditional way with the package manager. It can also be helpful in case you want to reinstall it.
 
Old 04-22-2008, 06:13 PM   #6
Josiah26
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Original Poster
Rep: Reputation: 0
I downloaded a tar.gz file into a directory I named dls but I dont know the right place to run those commands
 
Old 04-22-2008, 06:23 PM   #7
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
You need to uncompress and extract the archive first.

tar xfz file_here.tar.gz

I'd also recommend picking up a book on Linux basics from your local library or book store.
 
Old 04-23-2008, 03:44 AM   #8
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,053

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
Quote:
Originally Posted by Josiah26 View Post
Hi. Im new linux and I have been trying to learn how to install programs and games on my linux.
This isn't an answer to the question that you asked, but you should note that the easiest (and usually the safest) way to find and install programs on your system is to use your distro's package manager.
 
Old 04-23-2008, 06:26 AM   #9
andreas_skw
Member
 
Registered: Jan 2008
Location: Indonesia, tanah air beta
Distribution: Knoppix v5
Posts: 97

Rep: Reputation: 15
The way you did is installing from source. The easier way and the safer way, You should do it by synaptic package manager. But you should online first. If you insist to compile the source, you need follow like what maligree said (#3). The first step you need to do before configuring is read README file. There are a dependancies you need to install.

Hope this will help you
 
  


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
i cant install any tar files with my linux hesham79 Linux - Software 6 09-03-2007 02:55 PM
How to install a tar files ? Peter_APIIT Linux - Software 3 02-05-2007 12:27 AM
how to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 09:09 PM
How do you install tar/gz files, and rpm files? Fear58 Linux - Software 6 02-14-2004 05:35 PM
cant install .bin files, tar.gz files or anyother format!!! madskillz Linux - Newbie 4 10-05-2003 11:28 AM


All times are GMT -5. The time now is 05:00 AM.

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