Computing.Net > Forums > Linux > Install softwares

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Install softwares

Reply to Message Icon

Name: dissa
Date: December 17, 2003 at 06:46:23 Pacific
OS: redhat linux 9
CPU/Ram: 256MB
Comment:

Hi
Please tell me hoe to install new softwares
in linux command prompt.Give some important tips about this problem.
Thanks......



Sponsored Link
Ads by Google

Response Number 1
Name: taurus
Date: December 17, 2003 at 07:13:18 Pacific
Reply:

Well, it depends what kind of file you've downloaded!!! It can come with rpm, gz, bz, or even tgz extension. For rpm, log in as root and run this at the command prompt,

rpm -ivh filename.rpm

But for both gz and bz, you need to uncompress it first and probably untar it...

tar xvzf filename.tar.gz
-or-
tar xvjf filename.tar.bz

Then, change to the new directory that it just created and read either README or INSTALL for further instructions on how to compile and install it! But if you can tell me exactly the name of the file, then I can tell you how to do it.

taurus


0

Response Number 2
Name: 3Dave
Date: December 17, 2003 at 08:09:49 Pacific
Reply:

Considering that you are using redhat, you'll probably want to use RPMs (Redhat Package Manager) as they are easy to install (as taurus said above). You may also want to have a look at apt-get for redhat which will download any extra packages required (aka dependencies) for a program to run. Learn more about it here: http://freshrpms.net/apt/


0

Response Number 3
Name: Audiophile
Date: December 17, 2003 at 08:11:03 Pacific
Reply:

Dissa must be thinking how complicated it is to install something in a linux system...
For Redhat, redhat recommends that you use RPM (RedHat package manager). an rpm file contains the already compiled (binary) program which you can install using "rpm" as taurus said.
Binaries are usually not, but can also be in the form of a "gzipped tar file" (like zip) which you can simply extract and put the binaries wherever you want to.

Because most software for linux systems is open source, it is also available as "source tarballs", ie. gzipped tar files (containing source files and scripts to build the source).
You can read the README or INSTALL to view the instructions on compiling the source and installing it. For this you need the development programs installed.


0

Response Number 4
Name: 3Dave
Date: December 17, 2003 at 08:36:17 Pacific
Reply:

I think in redhat you should also be able to just double-click on an RPM file and it will come up with the package manager ready to install it (you will have to give root's password too). It used to do that when I ran mandrake which is pretty similar to redhat.

Some useful RPM commands:
(I haven't used RPMs for a while but I think the commands are correct)
To install a package
# rpm -ivh program.rpm
To upgrade a package
# rpm -Uvh program.rpm
To remove a package
# rpm -ev program.rpm
To list the files that were installed
# rpm -ql program
To list all programs installed via rpm
# rpm -qal
To get help
# man rpm


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Install softwares

installing SoftWare on Linux www.computing.net/answers/linux/installing-software-on-linux/17580.html

installing software with linux www.computing.net/answers/linux/installing-software-with-linux/3015.html

installing software www.computing.net/answers/linux/installing-software/26799.html