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:45] 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 12: Line 12:
 You should see a list similar to the following, albeit with different repositories. You should see a list similar to the following, albeit with different repositories.
  
 +<file>
 +repo id                         repo name                                         status
 +alma-updates-8.7-2023.04.26     alma-updates-8.7-2023.04.26                       enabled
 +appstream                       AlmaLinux 8 - AppStream                           disabled
 +appstream-debuginfo             AlmaLinux 8 - AppStream debuginfo                 disabled
 +appstream-source                AlmaLinux 8 - AppStream Source                    disabled
 +baseos                          AlmaLinux 8 - BaseOS                              disabled
 +baseos-debuginfo                AlmaLinux 8 - BaseOS debuginfo                    disabled
 +baseos-source                   AlmaLinux 8 - BaseOS Source                       disabled
 +extras                          AlmaLinux 8 - Extras                              disabled
 +extras-debuginfo                AlmaLinux 8 - Extras debuginfo                    disabled
 +extras-source                   AlmaLinux 8 - Extras Source                       disabled
 +ha                              AlmaLinux 8 - HighAvailability                    disabled
 +ha-debuginfo                    AlmaLinux 8 - HighAvailability debuginfo          disabled
 +ha-source                       AlmaLinux 8 - HighAvailability Source             disabled
 +install-utils_repo              install-utils_repo repo                           disabled
 +k3s-pre-reqs_repo               k3s-pre-reqs_repo repo                            disabled
 +mkel_repo                       mkel_repo repo                                    enabled
 +nfv                             AlmaLinux 8 - Real Time for NFV                   disabled
 +nfv-debuginfo                   AlmaLinux 8 - Real Time for NFV Debuginfo         disabled
 +nfv-source                      AmaLinux 8 - Real Time for NFV Sources            disabled
 +plus                            AlmaLinux 8 - Plus                                disabled
 +plus-debuginfo                  AlmaLinux 8 - Plus debuginfo                      disabled
 +plus-source                     AlmaLinux 8 - Plus Source                         disabled
 +powertools                      AlmaLinux 8 - PowerTools                          disabled
 +powertools-debuginfo            AlmaLinux 8 - PowerTools debuginfo                disabled
 +powertools-source               AlmaLinux 8 - PowerTools Source                   disabled
 +reboot-daemon_repo              reboot-daemon_repo repo                           disabled
 +resilientstorage                AlmaLinux 8 - ResilientStorage                    disabled
 +resilientstorage-debuginfo      AlmaLinux 8 - ResilientStorage debuginfo          disabled
 +resilientstorage-source         AlmaLinux 8 - ResilientStorage Source             disabled
 +rt                              AlmaLinux 8 - Real Time                           disabled
 +rt-debuginfo                    AlmaLinux 8 - Real Time Debuginfo                 disabled
 +</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