July 8, 2007
How to install a .tar or .gz program into Linux?
Dumb question, but for a Linux newbie, how do I install a program in Linux (Fedora Core 4)? I have already unzipped the file to a directory, but can't find an install executable. I know I can use an RPM file, but I want to learn how to do this.
- type this at the command prompt (in the directory where the unzipped file is located):
./Install.sh
- You will find text file(s) named 'README' and/or 'INSTALL' in the unzipped directory. Follow the instructions there.
In many cases, installing involves the following steps (BUT read up your specific set of instructions!):
1. Run a configure script (Usually called 'configure').
2. Run make
3. Run make test
4. Run make installAGAIN, read up your specific README/INSTALL for the exact details.
Regards,
Philip - Hi
Did you untar the file?
If not tar xvf abc.tar ( where the file name is abc.tar)
Now just cd to the directory and look for a file saying README or INSTALL or a similar name.You will probaly find the instructions clearly stated.If you cant find these text files then look for a file that has a name install, install.sh(install scripts) etc… and execute the command ./install or ./install.sh respectively.
If you don't find these then the file is probably a source code; so try to execute the following ./configure .It is actually a good thing first to run ./configure –help as the source file may contain some more options.
If all this does not help you then go to the site where you downloaded the file and look for more instructions.Cheers
Tags: linux hosting, ubuntu linux























