How To Install alsa-utils on CentOS 8

alsa-utils is Advanced Linux Sound Architecture (ALSA) utilities

Introduction

In this tutorial we learn how to install alsa-utils on CentOS 8.

What is alsa-utils

This package contains command line utilities for the Advanced Linux Sound Architecture (ALSA).

We can use yum or dnf to install alsa-utils on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install alsa-utils.

Install alsa-utils on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install alsa-utils using dnf by running the following command:

sudo dnf -y install alsa-utils

Install alsa-utils on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install alsa-utils using yum by running the following command:

sudo yum -y install alsa-utils

How To Uninstall alsa-utils on CentOS 8

To uninstall only the alsa-utils package we can use the following command:

sudo dnf remove alsa-utils

alsa-utils Package Contents on CentOS 8

/etc/alsa
/etc/alsa/alsactl.conf
/usr/bin/aconnect
/usr/bin/alsaloop
/usr/bin/alsamixer
/usr/bin/alsaunmute
/usr/bin/amidi
/usr/bin/amixer
/usr/bin/aplay
/usr/bin/aplaymidi
/usr/bin/arecord
/usr/bin/arecordmidi
/usr/bin/aseqdump
/usr/bin/aseqnet
/usr/bin/axfer
/usr/bin/iecset
/usr/bin/speaker-test
/usr/lib/.build-id
/usr/lib/.build-id/08
/usr/lib/.build-id/08/38c7f5bebe5ddbfe7b791dc5817257644d14ea
/usr/lib/.build-id/09
/usr/lib/.build-id/09/4f173765e76deaa7405e6db5859db8b5749ac6
/usr/lib/.build-id/19
/usr/lib/.build-id/19/0339984bde4f55d1e369109a0412d0fa398813
/usr/lib/.build-id/29
/usr/lib/.build-id/29/61e79115a405be09b8c5375b9df39198101d87
/usr/lib/.build-id/47
/usr/lib/.build-id/47/526c08833434cc89fab52667a12448e8a4f920
/usr/lib/.build-id/69
/usr/lib/.build-id/69/1b091a6943185407aee80477e47af85c31d2f0
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/aaf27267164b2f3bcf70b2e6357d01dcba4100
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/4c584fb64e6a6e66e25fb417b9c9bd368e6c30
/usr/lib/.build-id/91
/usr/lib/.build-id/91/337d8e7d6813e50933f443223a5570c7ec4ed3
/usr/lib/.build-id/93
/usr/lib/.build-id/93/37da22763e9e20ea2b1e911d41dbb479e65608
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/49800f50eec79832a18640adbdc0025bbe390f
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/4275eaac16bad52eba20061e177b944ef9ba84
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/78b65089446ca2bb4daea1d7343003acb944c6
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/8b5dcc6a0d9249ff90615cea141a87915b34c1
/usr/lib/alsa
/usr/lib/alsa/init
/usr/lib/alsa/init/00main
/usr/lib/alsa/init/ca0106
/usr/lib/alsa/init/default
/usr/lib/alsa/init/hda
/usr/lib/alsa/init/help
/usr/lib/alsa/init/info
/usr/lib/alsa/init/test
/usr/lib/systemd/system/alsa-restore.service
/usr/lib/systemd/system/alsa-state.service
/usr/lib/systemd/system/sound.target.wants
/usr/lib/systemd/system/sound.target.wants/alsa-restore.service
/usr/lib/systemd/system/sound.target.wants/alsa-state.service
/usr/lib/udev/rules.d/90-alsa-restore.rules
/usr/sbin/alsa-info.sh
/usr/sbin/alsabat-test.sh
/usr/sbin/alsactl
/usr/share/alsa
/usr/share/alsa/init
/usr/share/alsa/speaker-test
/usr/share/alsa/speaker-test/sample_map.csv
/usr/share/doc/alsa-utils
/usr/share/doc/alsa-utils/COPYING
/usr/share/doc/alsa-utils/ChangeLog
/usr/share/doc/alsa-utils/README.md
/usr/share/doc/alsa-utils/TODO
/usr/share/locale/de/LC_MESSAGES/alsa-utils.mo
/usr/share/locale/fr/LC_MESSAGES/alsa-utils.mo
/usr/share/locale/ja/LC_MESSAGES/alsa-utils.mo
/usr/share/man/man1/aconnect.1.gz
/usr/share/man/man1/alsa-info.sh.1.gz
/usr/share/man/man1/alsactl.1.gz
/usr/share/man/man1/alsaloop.1.gz
/usr/share/man/man1/alsamixer.1.gz
/usr/share/man/man1/alsaunmute.1.gz
/usr/share/man/man1/amidi.1.gz
/usr/share/man/man1/amixer.1.gz
/usr/share/man/man1/aplay.1.gz
/usr/share/man/man1/aplaymidi.1.gz
/usr/share/man/man1/arecord.1.gz
/usr/share/man/man1/arecordmidi.1.gz
/usr/share/man/man1/aseqdump.1.gz
/usr/share/man/man1/aseqnet.1.gz
/usr/share/man/man1/axfer-list.1.gz
/usr/share/man/man1/axfer-transfer.1.gz
/usr/share/man/man1/axfer.1.gz
/usr/share/man/man1/iecset.1.gz
/usr/share/man/man1/speaker-test.1.gz
/usr/share/man/man7/alsactl_init.7.gz
/usr/share/sounds/alsa
/usr/share/sounds/alsa/Front_Center.wav
/usr/share/sounds/alsa/Front_Left.wav
/usr/share/sounds/alsa/Front_Right.wav
/usr/share/sounds/alsa/Noise.wav
/usr/share/sounds/alsa/Rear_Center.wav
/usr/share/sounds/alsa/Rear_Left.wav
/usr/share/sounds/alsa/Rear_Right.wav
/usr/share/sounds/alsa/Side_Left.wav
/usr/share/sounds/alsa/Side_Right.wav
/var/lib/alsa

References

Summary

In this tutorial we learn how to install alsa-utils on CentOS 8 using yum and dnf.