enable_repos_alma_linux_yum
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| enable_repos_alma_linux_yum [2023/10/10 19:51] – walkeradmin | enable_repos_alma_linux_yum [2023/10/10 20: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 #db5f0b>Oct 2023</ |
| \\ | \\ | ||
| \\ | \\ | ||
| 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 | + | < |
| - | alma-updates-8.7-2023.04.26 | + | repo id repo name |
| - | appstream | + | alma-updates-8.7-2023.04.26 |
| - | appstream-debuginfo | + | appstream |
| - | appstream-source | + | appstream-debuginfo |
| - | baseos | + | appstream-source |
| - | baseos-debuginfo | + | baseos |
| - | baseos-source | + | baseos-debuginfo |
| - | extras | + | baseos-source |
| - | extras-debuginfo | + | extras |
| - | extras-source | + | extras-debuginfo |
| - | ha AlmaLinux 8 - HighAvailability | + | extras-source |
| - | ha-debuginfo | + | ha AlmaLinux 8 - HighAvailability |
| - | ha-source | + | ha-debuginfo |
| - | install-utils_repo | + | ha-source |
| - | k3s-pre-reqs_repo | + | install-utils_repo |
| - | mkel_repo | + | k3s-pre-reqs_repo |
| - | nfv | + | mkel_repo |
| - | nfv-debuginfo | + | nfv |
| - | nfv-source | + | nfv-debuginfo |
| - | plus AlmaLinux 8 - Plus disabled\\ | + | nfv-source |
| - | plus-debuginfo | + | plus AlmaLinux 8 - Plus disabled |
| - | plus-source | + | plus-debuginfo |
| - | powertools | + | plus-source |
| - | powertools-debuginfo | + | powertools |
| - | powertools-source | + | powertools-debuginfo |
| - | reboot-daemon_repo | + | powertools-source |
| - | resilientstorage | + | reboot-daemon_repo |
| - | resilientstorage-debuginfo | + | resilientstorage |
| - | resilientstorage-source | + | resilientstorage-debuginfo |
| - | rt AlmaLinux 8 - Real Time | + | resilientstorage-source |
| - | rt-debuginfo | + | rt AlmaLinux 8 - Real Time |
| + | rt-debuginfo | ||
| + | </ | ||
| + | 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: | ||
| + | < | ||
| + | Last metadata expiration check: 1:01:22 ago on Tue 10 Oct 2023 06:26:57 PM UTC. | ||
| + | Dependencies resolved. | ||
| + | ======================================================================================================================================================================================================= | ||
| + | | ||
| + | ======================================================================================================================================================================================================= | ||
| + | Installing: | ||
| + | | ||
| + | Transaction Summary | ||
| + | ======================================================================================================================================================================================================= | ||
| + | Install | ||
| + | |||
| + | 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 | ||
| + | Installing | ||
| + | Running scriptlet: yum-utils-4.0.21-14.1.el8.noarch | ||
| + | Verifying | ||
| + | |||
| + | Installed: | ||
| + | yum-utils-4.0.21-14.1.el8.noarch | ||
| + | |||
| + | Complete! | ||
| + | </ | ||
| + | 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: | ||
| + | < | ||
| + | 4.7.0 | ||
| + | Installed: dnf-0: | ||
| + | Built : AlmaLinux Packaging Team < | ||
| + | |||
| + | Installed: rpm-0: | ||
| + | Built : AlmaLinux Packaging Team < | ||
| + | </ | ||
| + | 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: | ||
| + | < | ||
| + | repo id repo name | ||
| + | appstream | ||
| + | baseos | ||
| + | extras | ||
| + | </ | ||
| + | \\ | ||
| + | \\ | ||
| + | Now you can install software and other repos as required. | ||
| + | \\ | ||
| + | \\ | ||
enable_repos_alma_linux_yum.1696967483.txt.gz · Last modified: by walkeradmin
