yum install update makes no sense. You're trying to install a package named "update".

Unlike apt with yum/dnf you normally don't need to update the packages database - yum/dnf does that automatically.

Simply run yum install package_name and you're good to go. If you don't know the exact name of a package, you could search for it using yum search something.

If you want to update all the packages in the system you simply run yum update.

Here's a nice guide how to install all the LAMP packages: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-centos-7

Answer from Artem S. Tashkinov on Stack Exchange
🌐
Server Fault
serverfault.com › questions › 1108767 › install-httpd-devel-on-centos8-unable-to-find-a-match-error
Install httpd-devel on centos8 -Unable to find a match error - Server Fault
[root@localhost native]# [root@localhost native]# yum install epel-release CentOS-8 - Base 5.6 kB/s | 3.9 kB 00:00 CentOS Linux 8 - AppStream 14 kB/s | 3.9 kB 00:00 CentOS Linux 8 - BaseOS 15 kB/s | 3.9 kB 00:00 CentOS Linux 8 - Extras 4.8 kB/s | 1.5 kB 00:00 Docker CE Stable - x86_64 14 kB/s | 3.5 kB 00:00 Extra Packages for Enterprise Linux 8 - x86_64 22 kB/s | 53 kB 00:02 Extra Packages for Enterprise Linux Modular 8 - x86_64 24 kB/s | 63 kB 00:02 Metadata cache created. [root@localhost native]# yum install httpd-devel Last metadata expiration check: 0:00:12 ago on Mon 22 Aug 2022 02:26:58 PM +04. No match for argument: httpd-devel Error: Unable to find a match: httpd-devel
Discussions

fedora - dnf and yum: can not find package - Unix & Linux Stack Exchange
Last metadata expiration check: 0:01:34 ago on Thu 05 Jul 2018 12:27:36 AM +0430. No match for argument: [package name] Error: Unable to find a match ... yum repolist will display the active repo list, I suspect the packages your looking for are not in the base/update/extras repositories and ... More on unix.stackexchange.com
🌐 unix.stackexchange.com
July 4, 2018
linux - Error: Unable to find a match phpmyadmin when i try to install phpmyadmin on centos - Stack Overflow
[root@vmi329080 ~]# sudo yum install phpmyadmin Last metadata expiration check: 0:57:18 ago on Sun 05 Jan 2020 01:05:52 PM CET. No match for argument: phpmyadmin Error: Unable to find a match This is More on stackoverflow.com
🌐 stackoverflow.com
[Question] Can't install specific yum package in clean Redhat Docker image?
Also use EPEL8 ( https://fedoraproject.org/wiki/EPEL ) and the package name ia slightly different - boost169-program-optins. More on reddit.com
🌐 r/redhat
12
6
August 12, 2021
Yum and dnf not find any package
yum install net-snmp Last metadata expiration check: 1:03:56 ago on Fri Sep 22 08:55:18 2023. No match for argument: net-snmp Error: Unable to find a match: net-snmp here my package repos are enabled, package mangers up to date, also working this in different pc this works i think here some ... More on discussion.fedoraproject.org
🌐 discussion.fedoraproject.org
5
0
September 22, 2023
🌐
Red Hat
access.redhat.com › solutions › 4500251
yum or dnf fails with "Error: Unable to find a match" when a package is missing - Red Hat Customer Portal
Last metadata expiration check: 1:05:08 ago on Tue 15 Oct 2019 13:36:54 AEST. No match for argument: foo Error: Unable to find a match Previous versions of yum would simply ignore missing package and install the rest.
Top answer
1 of 3
5

yum repolist will display the active repo list, I suspect the packages your looking for are not in the base/update/extras repositories and you may need to add additional repositories.

A good way to find out is to google search the package your looking for to get an idea of repository you need to have setup or install.

A lot of repositories do have a RPM file that will install the repository for your or a "how to" for adding the repository.


Examples below

Red Hat has made the documentation free to read
9.5.2. Setting [repository] Options

IUS repo setup
IUS Getting Started

yum repolist example:

Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
 * base: mirror.its.sfu.ca
 * extras: mirror.it.ubc.ca
 * updates: centos.mirror.rafal.ca
base                                                                                                                                                                                                                  | 3.6 kB  00:00:00     
extras                                                                                                                                                                                                                | 3.4 kB  00:00:00     
updates                                                                                                                                                                                                               | 3.4 kB  00:00:00     
(1/4): base/7/x86_64/group_gz                                                                                                                                                                                         | 166 kB  00:00:00     
(2/4): extras/7/x86_64/primary_db                                                                                                                                                                                     | 150 kB  00:00:00     
(3/4): updates/7/x86_64/primary_db                                                                                                                                                                                    | 3.6 MB  00:00:00     
(4/4): base/7/x86_64/primary_db                                                                                                                                                                                       | 5.9 MB  00:00:01     
repo id                                                                                                           repo name                                                                                                            status
base/7/x86_64                                                                                                     CentOS-7 - Base                                                                                                      9911
extras/7/x86_64                                                                                                   CentOS-7 - Extras                                                                                                     314
updates/7/x86_64                                                                                                  CentOS-7 - Updates                                                                                                    946
repolist: 11171
2 of 3
4

Have you tried yum search packageName ?

I have seen similar behavior from two other causes, DNS is not working or the cache is corrupted.

On that machine can you ping a host by name? i.e. ping google.com ?

If that works, try a yum clean all and then try to install your package when it is done.

🌐
Techglimpse
techglimpse.com › home › articles › linux › how to fix unable to find a match: policycoreutils-python on rhel/centos 8
How to fix Unable to find a match: policycoreutils-python on RHEL/CentOS 8 - Techglimpse
March 7, 2022 - [root@centos8 ~]# yum install policycoreutils-python-utils Last metadata expiration check: 2:01:00 ago on Mon 07 Mar 2022 10:19:17 AM IST. Dependencies resolved.
🌐
Red Hat
bugzilla.redhat.com › show_bug.cgi
Unable to find a match: yum-utils in podman container
January 27, 2022 - Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla · RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue ...
🌐
Reddit
reddit.com › r/redhat › [question] can't install specific yum package in clean redhat docker image?
r/redhat on Reddit: [Question] Can't install specific yum package in clean Redhat Docker image?
August 12, 2021 -

Hi everyone,

I'm messing around with trying to install MariaDb on Redhat. I'm starting from an empty Docker image (redhat/ubi8:latest) e and following the instructions here: https://mariadb.com/resources/blog/how-to-install-mariadb-on-rhel8-centos8/

When I get to the step:

sudo yum install perl-DBI libaio libsepol lsof boost-program-options

I get: Error: Unable to find a match: boost-program-options

I have tried adding this package repository that I found using Google: http://sodium.resophonic.com/boost-cmake/1.40.0.cmake0/

I did this with:

yum install -y yum-utils
yum-config-manager --add-repo="http://sodium.resophonic.com/boost-cmake/1.40.0.cmake0/"

But then I get the following error:

Errors during downloading metadata for repository 'sodium.resophonic.com_boost-cmake_1.40.0.cmake0_':
  - Curl error (6): Couldn't resolve host name for http://sodium.resophonic.com/boost-cmake/1.40.0.cmake0/repodata/repomd.xml [Could not resolve host: sodium.resophonic.com]
Error: Failed to download metadata for repo 'sodium.resophonic.com_boost-cmake_1.40.0.cmake0_': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

I've been at this for the good part of an hour, and couldn't understand how to fix this problem. Any help would be greatly appreciated. Thanks!

Find elsewhere
🌐
Bobcares
bobcares.com › blog › error-unable-to-find-a-match-nfs-utils-lib
How to Fix "Unable to Find a Match: nfs-utils-lib" Error
July 13, 2024 - YUM-based distributions (CentOS, RHEL, etc.): yum install nfs-utils · APT-based distributions (Ubuntu, Debian, etc.): apt install nfs-common · DNF-based distributions (Fedora, etc.): dnf install nfs-utils · Package Not Available in Current Repositories · If the package isn’t available in the current repositories, we will get the “unable to find a match” error.
🌐
Plesk Forum
talk.plesk.com › forums › plesk discussion › plesk obsidian for linux
Issue - The Yum utility failed to install the required packages. | Plesk Forum
November 1, 2023 - Failed to install {'name': 'plesk-php81-pear', 'arch': 'noarch', 'version': '1.10.13', 'release': '0redhat.8.231228.1347'}: Number of retries is exceeded. dnf.exceptions.PackageNotFoundError: No match for argument: plesk-php81-pear-1.10.13-0redhat.8.231228.1347.noarch ERROR: The Yum utility failed to install the required packages.
🌐
Fedora Discussion
discussion.fedoraproject.org › ask fedora
Yum and dnf not find any package - Fedora Discussion
September 22, 2023 - yum install net-snmp Last metadata expiration check: 1:03:56 ago on Fri Sep 22 08:55:18 2023. No match for argument: net-snmp Error: Unable to find a match: net-snmp here my package repos are enabled, package mangers up to date, also working this in different pc this works i think here some kind of blockage, or lock in repo this error i am thinking or fire wall issue guys if anybody have solution of this problem ?
🌐
GitHub
github.com › gyazo › Gyazo-for-Linux › issues › 144
Unable to find match gyazo - CentOS 8 · Issue #144 · gyazo/Gyazo-for-Linux
February 29, 2020 - Forgive me, I'm still learning linux. I followed the instructions on how to install gyazo on my CentOS 8 but after running the command sudo yum install gyazo i would see that it would look through "gyazo_gyazo-for-linux" and the source whatever it was, it would then say no match found.
Author   gyazo
🌐
LinuxQuestions.org
linuxquestions.org › questions › linux-newbie-8 › yum-no-match-error-4175495327
YUM No Match Error
Hi, I'm getting following packages when i run yum list. [root@vfiwdsqlrm1 ~]# yum list | grep gtk GConf2-gtk.x86_64 2.28.0-6.el6 @local_repo
🌐
Nagios
support.nagios.com › board index › community support forums for nagios commercial products › nagios xi
RPM install fails on perl-List-MoreUtils CentOS 8 - Nagios Support Forum
Error: No Matches found # yum config-manager --set-enabled PowerTools # yum whatprovides perl-List-MoreUtils CentOS-8 - PowerTools 83 kB/s | 1.9 MB 00:23 Last metadata expiration check: 0:00:01 ago on Fri 23 Oct 2020 05:38:27 PM EDT. perl-List-MoreUtils-0.428-2.el8.noarch : Provide the stuff missing in List::Util Repo : PowerTools Matched from: Provide : perl-List-MoreUtils = 0.428-2.el8 I'm not sure why this isn't working for you.
🌐
Red Hat
access.redhat.com › solutions › 5588101
yum fails with "All matches were filtered out by modular filtering" in RHEL 8 - Red Hat Customer Portal
June 14, 2024 - yum install fails with error: All matches were filtered out by modular filtering for argument: Error: Unable to find a match: yum fails to install ipa-server or parfait # yum install ipa-server All matches were filtered out by modular filtering for argument: ipa-server Error: Unable to find a match: ipa-server # yum install parfait All matches were filtered out by modular filtering for argument: parfait Error: Unable to find a match: parfait yum fails to find or install non-modular content when a module provides the same package.
Top answer
1 of 1
3

It's kinda lame in CentOS 8 how by default, many needed repos are not enabled by default and packages are spread out now among the different repos making life more of a pain in the a$$ instead of easier..

ImageMagick packages are in the epel repo

[root@test35 map]# repoquery -i ImageMagick-devel
Last metadata expiration check: 0:23:13 ago on Wed 26 May 2021 04:52:14 AM PDT.
Name         : ImageMagick-devel
Version      : 6.9.10.86
Release      : 1.el8
Architecture : x86_64
Size         : 126 k
Source       : ImageMagick-6.9.10.86-1.el8.src.rpm
Repository   : epel
Summary      : Library links and header files for ImageMagick app development
URL          : http://www.imagemagick.org/
License      : ImageMagick
Description  : ImageMagick-devel contains the library links and header files
             : you'll need to develop ImageMagick applications. ImageMagick is
             : an image manipulation program.
             :
             : If you want to create applications that will use ImageMagick code
             : or APIs, you need to install ImageMagick-devel as well as
             : ImageMagick. You do not need to install it if you just want to
             : use ImageMagick, however.

To enable popular repos containing many needed packages for a typical server, run the following

yum install epel-release javapackages-tools
yum config-manager --set-enabled powertools

rebuild yum or dnf:

yum clean all
yum makecache
yum repolist

[root@localhost ~]# yum repolist
                     repo id            repo name
                     appstream          CentOS Linux 8 - AppStream
                     baseos             CentOS Linux 8 - BaseOS
                     epel               Extra Packages for Enterprise Linux 8 - x86_64
                     epel-modular       Extra Packages for Enterprise Linux Modular 8 - x86_64
                     extras             CentOS Linux 8 - Extras
                     powertools         CentOS Linux 8 - PowerTools

                List of rpms in epel where ImageMagick-devel is located:

                    yum repo-pkgs epel list

[root@test35 map]# dnf clean all
49 files removed
[root@test35 map]# dnf makecache
CentOS Linux 8 - AppStream                      3.9 MB/s | 6.3 MB     00:01
CentOS Linux 8 - BaseOS                         1.2 MB/s | 2.3 MB     00:01
CentOS Linux 8 - Extras                          27 kB/s | 9.6 kB     00:00
CentOS Linux 8 - PowerTools                     1.6 MB/s | 2.0 MB     00:01
Extra Packages for Enterprise Linux Modular 8 - 453 kB/s | 610 kB     00:01
Extra Packages for Enterprise Linux 8 - x86_64  4.2 MB/s | 9.4 MB     00:02
Last metadata expiration check: 0:00:01 ago on Wed 26 May 2021 06:09:19 AM PDT.
Metadata cache created.

[root@test35 map]# dnf repository-packages epel list|grep ImageMagick
ImageMagick.x86_64                                        6.9.10.86-1.el8                                 epel
ImageMagick-c++.x86_64                                    6.9.10.86-1.el8                                 epel
ImageMagick-c++-devel.x86_64                              6.9.10.86-1.el8                                 epel
ImageMagick-devel.x86_64                                  6.9.10.86-1.el8                                 epel
ImageMagick-doc.x86_64                                    6.9.10.86-1.el8                                 epel
ImageMagick-libs.x86_64                                   6.9.10.86-1.el8                                 epel
ImageMagick-perl.x86_64                                   6.9.10.86-1.el8       
🌐
Linuxcnf
linuxcnf.com › 2022 › 11 › how-to-fix-error-unable-to-find-match.html
The Linux Guide: How to Fix – ‘Error: Unable to find a match: iperf’ on CentOS 8
November 15, 2022 - Mostly the above message through the system when its package or binary not available on CentOS 8 default repositories. Its binary not avail...