Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-13-2002, 12:40 AM   #1
Registered: Nov 2002
Location: Dallas
Distribution: RedHat 8
Posts: 270

Rep: Reputation: 30
Question Tar Files

Hi Gang,
Ok this newbie really gets confused and down right angry because I just dont know.
I have been trying too install tar files. I get them untared ok , it just I get lost on installing them.
Someone siad go do it one way then another.

I type for instance ./configure
Then need command is make -- what ???

A directory or a bath room??
( Sorry for the pun but I am really confused here)

THen I am suppose to log in to root? and do what?

Can someone help out here?

Old 12-13-2002, 12:57 AM   #2
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
make will compile the binaries in most cases so they are all end up in current directory and subdirectories. The principal of operation of make is Makfile usually found in the root directory of the untarred software, take a look inside, you might not understand a fair bit of it but you'll see different targets for make they usually one-worded and appended by a colon ":"
for instance, so when the plain make compiles the software you want to install it otherwise you'll have to descent into that directory every time to run it or adjust your PATH everytime to included newly created directory/yada/bin or something along these lines. So the basic starndard procedure to install the software is to run
make install
as a superuser, so it'll install the compiled binaries to a common directory for instance /usr/local/bin (it is defined by --prefix= while running configure, and usually defaults to /usr/local)
Old 12-13-2002, 11:14 AM   #3
Registered: Oct 2002
Distribution: Redhat
Posts: 35

Rep: Reputation: 15
Check this out as well. It really explained a lot for me.
Old 12-13-2002, 12:53 PM   #4
Senior Member
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
A generic installation method uses these three steps:

make install

You can do the first two as anybody, but you generally need to be root to make install, or you will get permission errors. You can also combine these steps into one by using bash operators:

./configure && make && make install

This will run configure, and if that is successful, will run make, and so forth...
Old 12-14-2002, 09:48 AM   #5
Registered: Jun 2002
Location: USA
Distribution: Gentoo, Fedora Core
Posts: 408

Rep: Reputation: 30
Usually after you untar the package there will be a file named either INSTALL or README, to read onen of them just type "cat README | more". The method of installing is usually different for everything, so it's best to read those and see what they tell you to type.


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
a tough question 4 u, problem in extracting tar & tar.gz files p_garg Linux - General 5 11-08-2010 12:02 PM
how to install 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
Building RPM files from TAR files parle Linux - Software 3 05-06-2002 12:02 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration