IgorMiletic/Drafts/ManageSoftware

Managing Software
In Fedora, managing software is possible using either graphical interface or command line interface.

Using Graphical Tools
Graphical utility that allows you to manage software on your system is called  (pronounced pirate). also includes the tool named. Pups, short for Package UPdater, sole purpose is to check repositories for updated packages and to update them.

Using these two tools you will be able to modify the software on your system in four ways:


 * To update existing software on your system

Updating Software With Package Updater (pup)
Updating software using pup is very straight forward. Here are 8 basic steps:


 * Step 1Open pup from Applications > System Tools > Software Updater.Opening pup might take some time since it will immediately after the opening start looking for updated software.


 * Step 2Once it opens, you will be presented with available updates. Select a package and use Update Details to see version information. Checkboxes on the left side allow you to deselect any update that you wish. By default, they are all selected for updating. Click Apply updates to continue.


 * Step 3Wait for pup to resolve dependencies for updates.


 * Step 4Once all dependencies are resovled, it might require to add additional updates. Click Continue to confirm.


 * Step 5Now, it's downloading packages from either fedora yum base server or one of many mirror servers.


 * Step 6If this is your first time updating packages, it might ask you to import key which requires to verify the packages. Click Import key to continue.


 * Step 7Now, it's updating software. It will take for a while if this is your first updates.


 * Step 8When all the updates are installed, it might ask you to reboot the system if the updates include kernel updates.You can either click on Reboot now or click Reboot later but it is recommended to reboot your system when new kernel updates are installed.

Using Command Line Interface (CLI)
When using terminal you can use the  utility to modify the software on your system in four ways:


 * To install new software from package repositories
 * To install new software from an individual package file
 * To update existing software on your system
 * To remove unwanted software from your system

To use, specify a function and one or more packages or package groups. Each section below gives some examples.

For each operation,  downloads the latest package information from the configured repositories. If your system uses a slow network connection yum may require several seconds to download the repository indexes and the header files for each package.

The  utility searches these data files to determine the best set of actions to produce the required result, and displays the transaction for you to approve. The transaction may include the installation, update, or removal of additional packages, in order to resolve software dependencies.

This is an example of the transaction for installing :

============================================================================= Package                Arch       Version          Repository        Size

=
================================================================ Installing: tsclient               i386       0.132-6          base              247 k Installing for dependencies: rdesktop               i386       1.4.0-2          base              107 k

Transaction Summary

=
================================================================ Install     2 Package(s) Update      0 Package(s) Remove      0 Package(s) Total download size: 355 k Is this ok [y/N] :

Example 1. Format of  Transaction Reports

Review the list of changes, and then press [y]  to accept and begin the process. If you press [N]  or [Enter] ,  does not download or change any packages.

The  utility also imports the repository public key if it is not already installed on the rpm keyring.

This is an example of the public key import:

warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2 public key not available for tsclient-0.132-6.i386.rpm Retrieving GPG key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora Importing GPG key 0x4F2A6FD2 "Fedora Project " Is this ok [y/N] :

Example 2. Format of  Public Key Import

Check the public key, and then press [y]  to import the key and authorize the key for use. If you press [N]  or [Enter] ,  stops without installing any packages.

To ensure that downloaded packages are genuine,  verifies the digital signature of each package against the public key of the provider. Once all of the packages required for the transaction are successfully downloaded and verified,  applies them to your system.

Installing New Software with yum
To install the package, enter the command:

Enter the password for the root account when prompted.

To install the package group, enter the command:

Enter the password for the root account when prompted.

Updating Software with yum
To update the  to the latest version, type:

Enter the password for the root account when prompted.

To update all of the packages in the package group, enter the command:

Enter the password for the root account when prompted.

Removing Software with yum
To remove software,  examines your system for both the specified software, and any software which claims it as a dependency. The transaction to remove the software deletes both the software and the dependencies.

To remove the  package from your system, use the command:

Enter the password for the root account when prompted.

To remove all of the packages in the package group, enter the command:

Enter the password for the root account when prompted.

{| border="1"
 * Previous Page - 3. Software Management Tools in Fedora Core || Table of Contents || Next Page - 5. Searching for Packages with yum
 * Previous Page - 3. Software Management Tools in Fedora Core || Table of Contents || Next Page - 5. Searching for Packages with yum