Changes between Version 25 and Version 26 of WikiStart


Ignore:
Timestamp:
Nov 8, 2016, 1:46:37 PM (13 months ago)
Author:
ak120
Comment:

fix typo

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v25 v26  
    55RPM is free software, released under the GNU GPL.
    66
    7 [http://yum.baseurl.org/ YUM] is an automatic updater and package installer/remover for rpm systems. It automatically computes dependencies and figures out what things should occur to install packages. It makes it easier to maintain groups of machines without having to manually update each one using rpm. Yum has a plugin interface for adding simple features. Yum can also be used from other python programs via its module interface.
     7[http://yum.baseurl.org/ YUM] is an automatic updater and package installer/remover for rpm systems. It automatically computes dependencies and figures out what things should occur to install packages. It makes it easier to maintain groups of machines without having to manually update each one using RPM. YUM has a plugin interface for adding simple features. YUM can also be used from other Python programs via its module interface.
    88
    99== Current Status ==
     
    1111
    1212== Installation ==
    13 
    1413There are 2 possibilities to install RPM:
    1514 * Arca Noae Package Manager
     
    6665
    6766=== Mirrors ===
    68 
    6967Please note: if you have netlabs-exp-xxx.rpm or netlabs-rel-xxx.rpm installed, the mirrors will be automatically added on your next update. Install below files only to reach US mirror directly without checking for main site. Also, see the section related to fastestmirror before adding the repo files below.
    7068
     
    7270
    7371==== Stable repository mirror ====
    74 
    7572If you do not intend to use the fastestmirror plugin, you may download this [http://www.2rosenthals.com/rpm.netlabs.org/mirror/netlabs-rel-2rosenthals.repo file] and put it into %UNIXROOT%\etc\yum\repos.d directory.
    7673
     
    8077
    8178==== Experimental repository mirror ====
    82 
    8379If you do not intend to use the fastestmirror plugin, you may download this [http://www.2rosenthals.com/rpm.netlabs.org/mirror/netlabs-exp-2rosenthals.repo file] and put it into %UNIXROOT%\etc\yum\repos.d directory.
    8480
     
    8884
    8985=== Managing repositories ===
    90 
    9186To disable a repository, either use:
    9287
     
    9691
    9792or simply edit the appropriate .repo file in %UNIXROOT%\etc\yum\repos.d and toggle the enabled line to 0, as in:
    98 
    9993  enabled=1
    100 
    10194to
    102 
    10395  enabled=0
    10496
     
    110102
    111103== Plugins ==
    112 
    113 Plugins are python modules which eextend yum's functionality. Plugins are available from a variety of sources. A good place to start looking for plugins is the yum-utils Trac wiki, [http://yum.baseurl.org/wiki/YumUtils here].
     104Plugins are Python modules which extend YUM's functionality. Plugins are available from a variety of sources. A good place to start looking for plugins is the yum-utils Trac wiki, [http://yum.baseurl.org/wiki/YumUtils here].
    114105
    115106=== Installing a plugin ===
    116 
    117107At the very least, a plugin requires a python script (something.py) and a configuration file (something.conf). The script should be placed in %UNIXROOT%\usr\lib\yum-plugins or %UNIXROOT%\usr\share\yum-plugins (create the directory if it does not exist). Alternatively, plugins may be placed in the directory of your choice by adding the following to %UNIXROOT%\etc\yum\yum.conf in the [main] section:
    118108
     
    135125
    136126=== Enabling the use of plugins ===
    137 
    138127In order for yum to process any plugins, it is necessary to add the following line to %UNIXROOT%\etc\yum\yum.conf in the [main] section:
    139128
     
    143132
    144133=== Miscellaneous plugin issues ===
    145 
    146134Sometimes, a given plugin will not load. When that happens, you should see a message, such as:
    147135
    148136  Plugin "xyz" can't be imported
    149137
    150 This may be because the plugin itself (a python script) has one or more unsatisfied dependencies. To determine what may be the cause requires examining the plugin to see what it might need to import and from what other module. Here's an example:
     138This may be because the plugin itself (a Python script) has one or more unsatisfied dependencies. To determine what may be the cause requires examining the plugin to see what it might need to import and from what other module. Here's an example:
    151139
    152140{{{
     
    181169as does yum.
    182170
    183 In the future, as on other platforms, we hope to have some plugins available for installation via yum itself, which will handle these dependencies.
     171In the future, as on other platforms, we hope to have some plugins available for installation via YUM itself, which will handle these dependencies.
    184172
    185173=== The fastestmirror plugin ===
    186 
    187174==== Background ====
    188 
    189175In short, the fastestmirror plugin allows yum to make a determination as to which repo is more responsive from your location, given available bandwidth, traffic, routing constraints, and of course, server load. From the comments in the script itself:
    190176
     
    193179
    194180==== Installing the plugin ====
    195 
    196181See [#Installingaplugin Installing a plugin] for more detail, but in general, follow these steps to get fastestmirror up and running quickly:
    197182
     
    222207
    223208==== Tuning ====
    224 
    225209You may want to adjust the behavior of fastestrepo to better suit your conditions. This is done through  %UNIXROOT%\etc\yum\pluginconf.d\fastestmirror.conf. Hints are provided there as well as in the beginning comments in the plugin itself. As provided, the configuration should be adequate for most users.
    226210
    227211==== Example session ====
    228 
    229212Here's an example of the output when using fastestmirror:
    230 
    231213{{{
    232214yum check-update
     
    252234
    253235== Manually setting system architecture ==
    254 
    255236Please note [http://trac.netlabs.org/rpm/wiki/RpmHowToEndUsers#Platformselectionforbinaries Platform Selection for Binaries] in the How-To for more information on creating and/or modifying the platform text file.
    256237
    257238== Reporting bugs ==
    258 
    259239Please report bugs only related to the following modules:
    260240 * rpm