User Tools

Site Tools


enable_repos_alma_linux_yum

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
enable_repos_alma_linux_yum [2023/10/10 20:54] walkeradminenable_repos_alma_linux_yum [2023/10/10 21:08] (current) walkeradmin
Line 1: Line 1:
-====== Enable Repos Alma Linux Yum ====== +====== Enable Repos Alma Linux Yum (yum-config-manager) ====== 
-<color #db5f0b>May 2023</color>+<color #db5f0b>Oct 2023</color>
 \\  \\ 
 \\  \\ 
Line 46: Line 46:
 rt-debuginfo                    AlmaLinux 8 - Real Time Debuginfo                 disabled rt-debuginfo                    AlmaLinux 8 - Real Time Debuginfo                 disabled
 </file> </file>
-if you get an error, due to the software not being available, you can install it by using:+if you get an error (command not found), due to the software not being available, you can install it by using:
     yum install yum-utils     yum install yum-utils
 This should install as shown below: This should install as shown below:
Line 81: Line 81:
 Complete! Complete!
 </file> </file>
 +Now the repositories can be enabled using the package manger yum, first test that yum-config-manager is working:
 +    yum-config-manager --version
 +You should get a valid response similar to the following:
 +<file>
 +4.7.0
 +  Installed: dnf-0:4.7.0-11.el8.alma.noarch at Tue 08 Aug 2023 12:43:43 PM GMT
 +  Built    : AlmaLinux Packaging Team <packager@almalinux.org> at Wed 12 Oct 2022 09:46:34 AM GMT
 +
 +  Installed: rpm-0:4.14.3-24.el8_7.x86_64 at Tue 08 Aug 2023 12:42:46 PM GMT
 +  Built    : AlmaLinux Packaging Team <packager@almalinux.org> at Wed 09 Nov 2022 03:50:55 PM GMT
 +</file>
 +Now repositories can be enabled, for our servers the following should be enabled:
 +    yum-config-manager --enable appstream baseos extras
 +This will enable the following repositories:
 +<file>
 +repo id                         repo name                                         status
 +appstream                       AlmaLinux 8 - AppStream                           enabled
 +baseos                          AlmaLinux 8 - BaseOS                              enabled
 +extras                          AlmaLinux 8 - Extras                              enabled
 +</file>
 +\\ 
 +\\ 
 +Now you can install software and other repos as required.
 +\\ 
 +\\ 
enable_repos_alma_linux_yum.txt · Last modified: 2023/10/10 21:08 by walkeradmin