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:45] 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 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.
  
-repo id                                                                                 repo name                                                                                              status +<file> 
-alma-updates-8.7-2023.04.26                                                             alma-updates-8.7-2023.04.26                                                                            enabled +repo id                         repo name                                         status 
-appstream                                                                               AlmaLinux 8 - AppStream                                                                                disabled +alma-updates-8.7-2023.04.26     alma-updates-8.7-2023.04.26                       enabled 
-appstream-debuginfo                                                                     AlmaLinux 8 - AppStream debuginfo                                                                      disabled +appstream                       AlmaLinux 8 - AppStream                           disabled 
-appstream-source                                                                        AlmaLinux 8 - AppStream Source                                                                         disabled +appstream-debuginfo             AlmaLinux 8 - AppStream debuginfo                 disabled 
-baseos                                                                                  AlmaLinux 8 - BaseOS                                                                                   disabled +appstream-source                AlmaLinux 8 - AppStream Source                    disabled 
-baseos-debuginfo                                                                        AlmaLinux 8 - BaseOS debuginfo                                                                         disabled +baseos                          AlmaLinux 8 - BaseOS                              disabled 
-baseos-source                                                                           AlmaLinux 8 - BaseOS Source                                                                            disabled +baseos-debuginfo                AlmaLinux 8 - BaseOS debuginfo                    disabled 
-extras                                                                                  AlmaLinux 8 - Extras                                                                                   disabled +baseos-source                   AlmaLinux 8 - BaseOS Source                       disabled 
-extras-debuginfo                                                                        AlmaLinux 8 - Extras debuginfo                                                                         disabled +extras                          AlmaLinux 8 - Extras                              disabled 
-extras-source                                                                           AlmaLinux 8 - Extras Source                                                                            disabled +extras-debuginfo                AlmaLinux 8 - Extras debuginfo                    disabled 
-ha                                                                                      AlmaLinux 8 - HighAvailability                                                                         disabled +extras-source                   AlmaLinux 8 - Extras Source                       disabled 
-ha-debuginfo                                                                            AlmaLinux 8 - HighAvailability debuginfo                                                               disabled +ha                              AlmaLinux 8 - HighAvailability                    disabled 
-ha-source                                                                               AlmaLinux 8 - HighAvailability Source                                                                  disabled +ha-debuginfo                    AlmaLinux 8 - HighAvailability debuginfo          disabled 
-install-utils_repo                                                                      install-utils_repo repo                                                                                disabled +ha-source                       AlmaLinux 8 - HighAvailability Source             disabled 
-k3s-pre-reqs_repo                                                                       k3s-pre-reqs_repo repo                                                                                 disabled +install-utils_repo              install-utils_repo repo                           disabled 
-mkel_repo                                                                               mkel_repo repo                                                                                         enabled +k3s-pre-reqs_repo               k3s-pre-reqs_repo repo                            disabled 
-nfv                                                                                     AlmaLinux 8 - Real Time for NFV                                                                        disabled +mkel_repo                       mkel_repo repo                                    enabled 
-nfv-debuginfo                                                                           AlmaLinux 8 - Real Time for NFV Debuginfo                                                              disabled +nfv                             AlmaLinux 8 - Real Time for NFV                   disabled 
-nfv-source                                                                              AlmaLinux 8 - Real Time for NFV Sources                                                                disabled +nfv-debuginfo                   AlmaLinux 8 - Real Time for NFV Debuginfo         disabled 
-plus                                                                                    AlmaLinux 8 - Plus                                                                                     disabled +nfv-source                      AmaLinux 8 - Real Time for NFV Sources            disabled 
-plus-debuginfo                                                                          AlmaLinux 8 - Plus debuginfo                                                                           disabled +plus                            AlmaLinux 8 - Plus                                disabled 
-plus-source                                                                             AlmaLinux 8 - Plus Source                                                                              disabled +plus-debuginfo                  AlmaLinux 8 - Plus debuginfo                      disabled 
-powertools                                                                              AlmaLinux 8 - PowerTools                                                                               disabled +plus-source                     AlmaLinux 8 - Plus Source                         disabled 
-powertools-debuginfo                                                                    AlmaLinux 8 - PowerTools debuginfo                                                                     disabled +powertools                      AlmaLinux 8 - PowerTools                          disabled 
-powertools-source                                                                       AlmaLinux 8 - PowerTools Source                                                                        disabled +powertools-debuginfo            AlmaLinux 8 - PowerTools debuginfo                disabled 
-reboot-daemon_repo                                                                      reboot-daemon_repo repo                                                                                disabled +powertools-source               AlmaLinux 8 - PowerTools Source                   disabled 
-resilientstorage                                                                        AlmaLinux 8 - ResilientStorage                                                                         disabled +reboot-daemon_repo              reboot-daemon_repo repo                           disabled 
-resilientstorage-debuginfo                                                              AlmaLinux 8 - ResilientStorage debuginfo                                                               disabled +resilientstorage                AlmaLinux 8 - ResilientStorage                    disabled 
-resilientstorage-source                                                                 AlmaLinux 8 - ResilientStorage Source                                                                  disabled +resilientstorage-debuginfo      AlmaLinux 8 - ResilientStorage debuginfo          disabled 
-rt                                                                                      AlmaLinux 8 - Real Time                                                                                disabled +resilientstorage-source         AlmaLinux 8 - ResilientStorage Source             disabled 
-rt-debuginfo                                                                            AlmaLinux 8 - Real Time Debuginfo                                                                      disabled +rt                              AlmaLinux 8 - Real Time                           disabled 
-rt-source                                                                               AlmaLinux 8 - Real Time Sources                                                                        disabled +rt-debuginfo                    AlmaLinux 8 - Real Time Debuginfo                 disabled 
-sap                                                                                     AlmaLinux 8 SAP                                                                                      disabled +</file> 
-sap-debuginfo                                                                           AlmaLinux 8 SAP Debuginfo                                                                            disabled +if you get an error (command not found), due to the software not being available, you can install it by using: 
-sap-source                                                                              AlmaLinux 8 SAP Sources                                                                              disabled +    yum install yum-utils 
-saphana                                                                                 AlmaLinux SAP HANA                                                                                 disabled +This should install as shown below: 
-saphana-debuginfo                                                                       AlmaLinux 8 - SAP HANA Debuginfo                                                                       disabled +<file> 
-saphana-source                                                                          AlmaLinux 8 - SAP HANA Sources                                                                         disabled+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.1696967133.txt.gz · Last modified: 2023/10/10 20:45 by walkeradmin