LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 10-17-2004, 05:39 PM   #1
shadowofanubis6
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Rep: Reputation: 0
How do i install this tar stuff?


I'm very new to linux and trying out mandrake. Can anyone take me through the basic run through of installing a tar file? I read all these books and they say... "type xyz" or wahtever... but i havce no idea where to type that in! so can someone gimme a basic runthrough for an idiot like me?
 
Old 10-17-2004, 05:45 PM   #2
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
YOU DON'T!

Please bear with:

Mandrake provides a nicely integrated package management system that automatically downloads and installs just about anything you can think of.

If you wish to install a new program you should first see if it is available via the URPMI repositories.

However your system is not configured correctly "out of the box" to utilize these sources. You must do the set up first.

See: http://www.zebulon.org.uk/

Follow the directions there for setting up urpmi.

After you've done so, then either use the "install software" gui or the urpmi command line to find, download, and install any software.

Normally everything distributed as .tar and .tar.gz is already available in the repositories already set up for your distribution, in such a way that it integrates completely with your desktop, etc.

In addition urpmi automatically will download and install any missing components (called dependancies) that are required to make the software you want to run, run.

ONLY IF the package you want is otherwise NOT available in the repositories should you try dealing with .tar.gz files.

In this case you will be unpacking these files and COMPILING the new application.

The problem is that these packages are fairly generic, and they don't tell you what they may need to run.

Also they may install something that will "break" other programs or system components.

So this should always be the last resort.
 
Old 10-17-2004, 05:55 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
To add to the above, for info and completeness, you don't actually install .tar or .tar.gz files. They are compressed (zipped, if you like) files.

To uncompress:
Code:
tar -xf program.tar
Code:
tar -xzvf program.tar.gz
Within you will find a configure file (but read the INSTALL and README files first), normally you would:
Code:
$ ./configure
$ make
$ su
(type in the root password)
# make install
The $ and # symbols don't get typed in, they just denote normal user and root user.

But as opjose says, use the Mandrake tools, they make your system more consistent.
 
  


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
how can i decompress this tar.tar file? hmmm sounds new.. tar.tar.. help ;) kublador Linux - Software 14 10-25-2016 02:48 AM
how to install .tar.gz and .tar.bz and .src.rpms gadekishore Linux - Software 3 08-06-2010 05:02 PM
Need some help w/ unpacking a tar.gz & directory stuff davidbix Linux - Newbie 2 10-21-2005 07:01 PM
how to install .tar.bz and src.rpms and tar.gz files gadekishore Linux - Software 1 10-12-2005 08:09 PM
.bin and .tar.gz stuff for HLDS server Punker86 Linux - Software 4 11-06-2002 10:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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