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
Last revisionBoth sides next revision
enable_repos_alma_linux_yum [2023/10/10 20:51] walkeradminenable_repos_alma_linux_yum [2023/10/10 21:07] 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>May 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 (command not found), due to the software not being available, you can install it by using:
 +    yum install yum-utils
 +This should install as shown below:
 +<file>
 +Last metadata expiration check: 1:01:22 ago on Tue 10 Oct 2023 06:26:57 PM UTC.
 +Dependencies resolved.
 +=======================================================================================================================================================================================================
 + Package                                   Architecture                           Version                                            Repository                                                   Size
 +=======================================================================================================================================================================================================
 +Installing:
 + yum-utils                                 noarch                                 4.0.21-14.1.el8                                    alma-updates-8.7-2023.04.26                                  73 k
  
 +Transaction Summary
 +=======================================================================================================================================================================================================
 +Install  1 Package
 +
 +Total size: 73 k
 +Installed size: 23 k
 +Is this ok [y/N]: y
 +Downloading Packages:
 +Running transaction check
 +Transaction check succeeded.
 +Running transaction test
 +Transaction test succeeded.
 +Running transaction
 +  Preparing        :                                                                                                                                                                               1/1
 +  Installing       : yum-utils-4.0.21-14.1.el8.noarch                                                                                                                                              1/1
 +  Running scriptlet: yum-utils-4.0.21-14.1.el8.noarch                                                                                                                                              1/1
 +  Verifying        : yum-utils-4.0.21-14.1.el8.noarch                                                                                                                                              1/1
 +
 +Installed:
 +  yum-utils-4.0.21-14.1.el8.noarch
 +
 +Complete!
 +</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