Open Source Technical Information: How do I install software in Fedora? (How to use yum or an RPM)

Friday 28 October 2011

How do I install software in Fedora? (How to use yum or an RPM)

,
Fedora has thousands of pieces of software that can be downloaded and automatically installed from the Internet.

Configuring Package Installation

Many of the packages I mention in the FAQ are only available from rpmfusion. To configure your system so that you can install packages from rpmfusion, follow these instructions:
  1. Open a Terminal.
  2. Become root:
    su -
  3. Run the following command:

Using the GUI to Install/Update Software

If you have graphical access to your desktop, you can use the graphical tools to install software. Go to the System menu, choose "Administration", and then click on "Add/Remove Software".
Fedora will automatically let you know when updates are available for your software.

Installing Software From the Command Line

Often people want to use install or update software using the command line. For this you use a program called "yum". First become root, and then you can use the following commands:
  • To see a list of available software:
    yum list available
  • To install some software, you type:
    yum install packagename
  • To update some software, you type:
    yum update packagename
    If you leave out "packagename" yum will update all your software.
  • To see what updates are available, you can do:
    yum check-update
  • To search for a package, you can do:
    yum search word
For more info about yum, see the yum project page. (Thanks to Ron Kuris for this tip.)

Installing Local RPMs

To install an RPM file that you downloaded outside of yum, open up a terminal, and as root do:
rpm -Uvh filename.rpm
If you have Internet access, you can also install local files by doing:
yum --nogpgcheck install filename.rpm
Which is handy because it will automatically download and install any dependencies that that RPM has.

0 comments to “How do I install software in Fedora? (How to use yum or an RPM)”

Post a Comment

Write your tips here...

Deal of the Day

Advertisement here

Advertisement here