From Fedora Project Wiki
mNo edit summary
m (add category)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
Use repositories and the standard <code>yum</code> commands to locate and install new software, unless the software package is not available from any repository. In these cases, use the <code>localinstall</code> function to install the software from the package file.
Use repositories and the standard <code>yum</code> commands to locate and install new software, unless the software package is not available from any repository. In these cases, use the <code>localinstall</code> function to install the software from the package file.


{|
{{Admon/important | Public Key is Required | Ensure that the public key for the package source has been imported before you install a package without a repository. Refer to [[Docs/Drafts/SoftwareManagementGuide/ConfiguringRepositories#manually_authorizing| Section 7.2, “Manually Authorizing Package Sources”]].}}
|-
| {{Template:Important}} '''Public Key is Required'''
|-
| Ensure that the public key for the package source has been imported before you install a package without a repository. Refer to [[Docs/Drafts/SoftwareManagementGuide/ConfiguringRepositories#manually_authorizing| Section 7.2, “Manually Authorizing Package Sources”]] .
|}


Enter this command to install the package <code>tsclient-0.132-4.i386.rpm</code>:
Enter this command to install the package <code>tsclient-0.132-4.i386.rpm</code>:
Line 16: Line 11:
At the prompt, enter the ''root'' password.
At the prompt, enter the ''root'' password.


{|
{{Admon/note |Previously Installed Software is Updated | If the package provides a later version of software that is already installed on your system, <code>yum</code> updates the installed software.}}
|-
| {{Template:Note}} '''Previously Installed Software is Updated'''
|-
| If the package provides a later version of software that is already installed on your system, <code>yum</code> updates the installed software.
|}


If the package requires software that is not installed on your system, <code>yum</code> attempts to meet the dependencies with packages from the configured repositories. You may need to manually download and install additional packages in order to satisfy all of the dependencies.
If the package requires software that is not installed on your system, <code>yum</code> attempts to meet the dependencies with packages from the configured repositories. You may need to manually download and install additional packages in order to satisfy all of the dependencies.


{|
{{Admon/caution | Maintaining Manually Installed Software | If you install software that is not provided by a repository, <code>yum update</code> cannot automatically upgrade it as new versions become available. To ensure that you have the latest packages, subscribe to e-mail or RSS services that notify you when new versions are released.}}
|-
| {{Template:Caution}} '''Maintaining Manually Installed Software'''
|-
| If you install software that is not provided by a repository, <code>yum update</code> cannot automatically upgrade it as new versions become available. To ensure that you have the latest packages, subscribe to e-mail or RSS services that notify you when new versions are released.
|}


{|
{|
Line 36: Line 21:
|[[Docs/Drafts/SoftwareManagementGuide/ConfiguringRepositories| Previous Page - 7. Configuring Access to Software Repositories]] ||[[Docs/Drafts/SoftwareManagementGuide| Table of Contents]] ||[[Docs/Drafts/SoftwareManagementGuide/CustomizingYum| Next Page - 9. Customizing yum]]
|[[Docs/Drafts/SoftwareManagementGuide/ConfiguringRepositories| Previous Page - 7. Configuring Access to Software Repositories]] ||[[Docs/Drafts/SoftwareManagementGuide| Table of Contents]] ||[[Docs/Drafts/SoftwareManagementGuide/CustomizingYum| Next Page - 9. Customizing yum]]
|}
|}
[[Category:Software Management Guide]]

Latest revision as of 01:13, 4 March 2009

8. Installing Software from an Isolated Package

Use repositories and the standard yum commands to locate and install new software, unless the software package is not available from any repository. In these cases, use the localinstall function to install the software from the package file.

Important.png
Public Key is Required
Ensure that the public key for the package source has been imported before you install a package without a repository. Refer to Section 7.2, “Manually Authorizing Package Sources”.

Enter this command to install the package tsclient-0.132-4.i386.rpm:

su -c 'yum localinstall tsclient-0.132-4.i386.rpm'

At the prompt, enter the root password.

Note.png
Previously Installed Software is Updated
If the package provides a later version of software that is already installed on your system, yum updates the installed software.

If the package requires software that is not installed on your system, yum attempts to meet the dependencies with packages from the configured repositories. You may need to manually download and install additional packages in order to satisfy all of the dependencies.

Stop (medium size).png
Maintaining Manually Installed Software
If you install software that is not provided by a repository, yum update cannot automatically upgrade it as new versions become available. To ensure that you have the latest packages, subscribe to e-mail or RSS services that notify you when new versions are released.
Previous Page - 7. Configuring Access to Software Repositories Table of Contents Next Page - 9. Customizing yum