-   Mandriva (
-   -   How do i install this tar stuff? (

shadowofanubis6 10-17-2004 05:39 PM

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?

opjose 10-17-2004 05:45 PM


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.


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.

XavierP 10-17-2004 05:55 PM

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:

tar -xf program.tar

tar -xzvf program.tar.gz
Within you will find a configure file (but read the INSTALL and README files first), normally you would:

$ ./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.

All times are GMT -5. The time now is 11:17 PM.