LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-03-2003, 02:41 PM   #1
bumbleb
LQ Newbie
 
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
Newcomer to Linux: installing tar.gz programs


Hi, I'm very new to the linux red hat environment. I need a little help on how to install a tar.gx file in the terminal window.
 
Old 10-03-2003, 02:51 PM   #2
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
Go here: www.linuxnovice.org and click on the HOW-TO button on the left of the page, and then select the "install applications from a tarball" link.

rberry88

Last edited by rberry88; 10-03-2003 at 02:52 PM.
 
Old 10-03-2003, 02:51 PM   #3
boreo
Member
 
Registered: Feb 2003
Location: Dominican Republic
Distribution: Slackware, FreeBSD, RedHat
Posts: 326

Rep: Reputation: 30
You need to untar the file you want to install with this command from

tar xvzf filename.tar.gz
 
Old 10-03-2003, 04:08 PM   #4
RockmanExe
Member
 
Registered: Aug 2003
Distribution: Mandriva, Slackware
Posts: 265

Rep: Reputation: 30
you should read this:
http://www.linuxquestions.org/questi...threadid=45094
 
Old 10-04-2003, 03:39 AM   #5
activelylazy
LQ Newbie
 
Registered: Sep 2003
Distribution: Red Hat 8
Posts: 25

Rep: Reputation: 15
My motto is, if you don't know something, Google it.

Aside from that ...

in general, when you have a question on a command, check the man page (for instance, type "man tar" at the terminal and hit enter)

Also, here are a couple good resources for linux commands:

Comprehensive:
http://www.oreillynet.com/linux/cmd/

Beginner's guide:
http://www.userlocal.com/helpbasic.php
 
Old 10-04-2003, 09:23 AM   #6
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 20.04
Posts: 1,979

Rep: Reputation: 70
If you are using KDE, right click the file. In the menu there is then a choice, open file in archive viewer. Then right click any of the shown files. The menu you then see has an option select all. Do that.
Then unpack all the files to another directory of your own making. ie click on extract to: (here I create a directory just for the purpose, there is an option, create new directory)
Then go to that directory, and open a terminal in it. (Right click, choose open terminal here)
Then you go , in the terminal, ./configure. There are some options open here, so best read the readme first, if there is one. Some things don't have a configure file, so try make, but check first that there is a makefile.
Then enter (in the terminal) make install.
This works. Don't know why. Linux cracks do all this in terminals very cryptically, but I can't .
 
Old 10-04-2003, 09:25 AM   #7
WiZaC
Member
 
Registered: Sep 2003
Location: Denmark
Distribution: FreeBSD
Posts: 110

Rep: Reputation: 15
Examples:
tar -cf archive.tar foo bar # Create archive.tar from files foo and bar.
tar -tvf archive.tar # List all files in archive.tar verbosely.
tar -xf archive.tar # Extract all files from archive.tar.
 
Old 10-04-2003, 09:32 AM   #8
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
rpmbuild -ta XXXXX. tar.gz
is supposed to work

man rpm build

never tryed it tho
 
  


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
Hello...Newcomer with Linux ScubaGear2001 LinuxQuestions.org Member Intro 2 08-18-2005 05:56 PM
Newcomer to Linux JSLayton Linux - General 26 04-24-2005 07:54 AM
Newcomer-- Redhat linux 9 kimnajoo Programming 2 04-18-2005 12:07 AM
installing programs from tar.gz Cheechi Linux - Software 14 07-18-2004 12:01 AM
newcomer in Linux. Samba problem jalla Linux - Software 17 06-02-2004 04:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:55 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
Open Source Consulting | Domain Registration