How To Install sox on Rocky Linux 8

In this tutorial we learn how to install sox on Rocky Linux 8. sox is A general purpose sound file conversion tool

Introduction

In this tutorial we learn how to install sox on Rocky Linux 8.

What is sox

SoX (Sound eXchange) is a sound file format converter. SoX can convert between many different digitized sound formats and perform simple sound manipulation functions, including sound effects.

We can use yum or dnf to install sox on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install sox.

Install sox on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install sox

Install sox on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install sox using yum by running the following command:

sudo yum -y install sox

How To Uninstall sox on Rocky Linux 8

To uninstall only the sox package we can use the following command:

sudo dnf remove sox

sox Package Contents on Rocky Linux 8

/usr/bin/play
/usr/bin/rec
/usr/bin/sox
/usr/bin/soxi
/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/1d79115880713d685566cf8b266e89ae7ca5d6
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/86b518914b656cfbbdb780111fa1a3fd53a36b
/usr/lib/.build-id/26
/usr/lib/.build-id/26/ba7f2440f3de22c9be01a95b3869ca9409be06
/usr/lib/.build-id/30
/usr/lib/.build-id/30/88751040b5bceac77934f11fb5e02d664b0a22
/usr/lib/.build-id/39
/usr/lib/.build-id/39/a2142cc334a9996c1ae7242fc4e97360d7a368
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/995db3aeea1c805ed8def2ec997be0c9cc2409
/usr/lib/.build-id/49
/usr/lib/.build-id/49/bbd98a8f7a55d1c6c1cfb1ade6be30faebbd08
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/3ba29ffe0228fb01269efeb171bd9a517fb757
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/cfa456dab34f36804e2d267f89aaf075e487ce
/usr/lib/.build-id/66
/usr/lib/.build-id/66/b76f10850996add0ed1f5195fb4af4a55ed153
/usr/lib/.build-id/68
/usr/lib/.build-id/68/ba096a35e5205278e56d713ff6c35f3515bb9e
/usr/lib/.build-id/69
/usr/lib/.build-id/69/38b16d707268144e888e0c25ff13e04d85a8b0
/usr/lib/.build-id/99
/usr/lib/.build-id/99/6b95e883d8ad88fbddf63226a28d60c684b79b
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/b429e9915e7161cd3bb990b4e0d5801dc41bb1
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/26bd90e8041b59607e4b1c2fdd735ea17bdda0
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/7b57a65708a133957c09de371e5adb8e34e004
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/755c08f82bed341908c8a18d1f8c8f928115ac
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/02244254393fbdcdf27295b1ceb8f4fdd1fbb9
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/3ed7f274e8a9e65e2af89fc8137734477fa8f8
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/5becd86dea548a091abd20e20bc5508cec864e
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/eaecf8dbf8b5c55527da4f4bcd6fbe3a73b144
/usr/lib64/libsox.so.3
/usr/lib64/libsox.so.3.0.0
/usr/lib64/sox
/usr/lib64/sox/libsox_fmt_alsa.so
/usr/lib64/sox/libsox_fmt_ao.so
/usr/lib64/sox/libsox_fmt_caf.so
/usr/lib64/sox/libsox_fmt_fap.so
/usr/lib64/sox/libsox_fmt_flac.so
/usr/lib64/sox/libsox_fmt_mat4.so
/usr/lib64/sox/libsox_fmt_mat5.so
/usr/lib64/sox/libsox_fmt_mp3.so
/usr/lib64/sox/libsox_fmt_opus.so
/usr/lib64/sox/libsox_fmt_oss.so
/usr/lib64/sox/libsox_fmt_paf.so
/usr/lib64/sox/libsox_fmt_pulseaudio.so
/usr/lib64/sox/libsox_fmt_pvf.so
/usr/lib64/sox/libsox_fmt_sd2.so
/usr/lib64/sox/libsox_fmt_sndfile.so
/usr/lib64/sox/libsox_fmt_vorbis.so
/usr/lib64/sox/libsox_fmt_w64.so
/usr/lib64/sox/libsox_fmt_wavpack.so
/usr/lib64/sox/libsox_fmt_xi.so
/usr/share/doc/sox
/usr/share/doc/sox/AUTHORS
/usr/share/doc/sox/ChangeLog
/usr/share/doc/sox/README
/usr/share/licenses/sox
/usr/share/licenses/sox/COPYING
/usr/share/man/man1/play.1.gz
/usr/share/man/man1/rec.1.gz
/usr/share/man/man1/sox.1.gz
/usr/share/man/man1/soxi.1.gz
/usr/share/man/man7/soxeffect.7.gz
/usr/share/man/man7/soxformat.7.gz

References

Summary

In this tutorial we learn how to install sox on Rocky Linux 8 using yum and dnf.