Available in Nexus Repository OSS and Nexus Repository Pro
is a command line package management utility for Linux distributions using the RPM package manager. It allows for many commonly used Linux packages to be easily installed on to distributions such as RedHat, CentOS and Fedora. or "Yellowdog Updater, Modified"
Nexus Repository Manager OSS and Nexus Repository Manager Pro support the Yum repository format for proxy repositories. This allows the repository manager to take advantage of the packages in public Yum repositories without incurring repeated downloads of packages. This will also allow you to perform offline installs, for example allowing you to install CentOS without a connection to the internet.
Upgrading Yum repositories from version 2 to version 3 is currently not supported.
Proxying Yum Repositories
You can set up a Yum proxy repository to access a remote repository location.
To proxy a Yum repository, you simply create a new yum (proxy) as documented in Repository Management.
Minimal configuration steps are:
- Define Name e.g. yum-proxy
- Define URL for Remote storage, e.g. http://mirror.centos.org/centos/
- Pick a Blob store for Storage
We do not create a default Yum proxy repository as there are many. Determine which repositories are appropriate for your environment.
Yum should come pre-installed with RedHat, CentOS, Fedora and a long list of Linux flavors. If your system does not have Yum preinstalled, you may have larger problems that cannot be solved in these docs.
Fedora users are encouraged to use http://dnf.baseurl.org/ as of Fedora version 20. DNF is currently backwards compatible and should work with Nexus Repository Manager 3, but is not explicitly supported.
Configuring Yum Client
nexus.repo file in
/etc/yum.repos.d/ that looks similar to the following:
If you have set
gpgcheck to enabled, you'll want to provide the location of the
gpgkey, replacing the value we've shown in the example above.
Browsing Yum Repositories and Searching Packages
You can browse Yum repositories in the user interface inspecting the components and assets and their details, as described in Browsing Repositories and Repository Groups.
Searching for Yum packages can be performed in the user interface, too. It finds all packages that are currently stored in the repository manager, as described in Searching for Components.