LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   installing software (https://www.linuxquestions.org/questions/linux-software-2/installing-software-857017/)

Ribo01 01-18-2011 06:31 AM

installing software
 
hello y'all happy new year to you all wish y'all the best this year brings forth and a much wonderful year of computing. anyway, i downloaded some software from the internet into my pen drive, so i took the pen drive down to my system at home for installation. basically the problem am having is how to install or run the software from my pen drive into my redhat linux. would be looking forward to getting a reply for my problem. thanks again cheers

repo 01-18-2011 06:32 AM

Depends what you downloaded.
Best way is to use the package manager from your distro.

Kind regards

Ribo01 01-18-2011 03:31 PM

Hey repo, thanks anyway, but don't knw if you got my post right, am not downloading straight from the internet to my redhat linux box, am downloading from another system into my flash drive then take my flash drive and mount on my linux box for installation, you know how you an download a setup into anything, let say a flash and jst connect it to ur system and click the setupm besides, how do I use my rpm to install from my flash?

repo 01-18-2011 04:10 PM

What are you trying to install?
Which file is on the flash drive?
rpm, tar...

It the file is an rpm, open a terminal
login as root
Code:

rpm -ivh path/to/rpmfile.rpm
Kind regards

Ribo01 01-20-2011 02:16 AM

Hey repo, Its a .tar file, so how do I go about it?

repo 01-20-2011 02:25 AM

open a terminal
cd to the directory where the tarfile is located
then type
Code:

tar xvf myfile.tar
cd to the created directory and read the readme files
in general
Code:

./configure
make

Then as root
Code:

make install
More info?
type
Code:

man tar
However, it's better to use the packagemanager on your distribution to instal software
If the software isn't available via the packagemanager you can install from source.

Kind regards

MTK358 01-20-2011 08:08 AM

Just for clarification, tar files (aka tarballs) are kind of like zip files commonly seen in Windows, they store a hierarchy of folders and files in one file for easy sharing.

Usually, but not always, Linux software distributed in tarballs is source code (not an actual executable program), and you have to compile it.


All times are GMT -5. The time now is 01:12 AM.