How To Install sox on Fedora 34

sox is A general purpose sound file conversion tool A general purpose sound file conversion tool

Introduction

In this tutorial we learn how to install sox on Fedora 34.

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. sox 14.4.2.0 30.fc34 x86_64 421 k sox-14.4.2.0-30.fc34.src.rpm fedora A general purpose sound file conversion tool http GPLv2+ and LGPLv2+ and MIT 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install sox.

Install sox on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install sox

Install sox on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove sox

sox Package Contents on Fedora 34

/usr/bin/play
/usr/bin/rec
/usr/bin/sox
/usr/bin/soxi
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/1c142fa9044390b70e519965f573d2bef47f25
/usr/lib/.build-id/34
/usr/lib/.build-id/34/e2a33eafb53d0871fa3f89aeb35966b9db4750
/usr/lib/.build-id/37
/usr/lib/.build-id/37/a7336030abc7e1311819f5aee6f3664fbb07fc
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/758002df3d8d3e4fb2a12f4cae3de127c586bf
/usr/lib/.build-id/57
/usr/lib/.build-id/57/7995897c426681278af02d75f61d8963a50e80
/usr/lib/.build-id/58
/usr/lib/.build-id/58/3c87774c31cb974ac40b0d09ee62538c723f92
/usr/lib/.build-id/58/6299b4d2bf9167ec17d56ae8fe3455e8413c4f
/usr/lib/.build-id/59
/usr/lib/.build-id/59/04f482885ca43aaa228414f1fe21693ac85d2b
/usr/lib/.build-id/5b
/usr/lib/.build-id/5b/95b29030165e9d928767052941255cd1fe7d73
/usr/lib/.build-id/5f
/usr/lib/.build-id/5f/640d829b231d0d05add7650c5bb8d3a53e43a7
/usr/lib/.build-id/64
/usr/lib/.build-id/64/1ef86e2a3e93b9aefc7ffe65ec128ee87645be
/usr/lib/.build-id/65
/usr/lib/.build-id/65/605dcf077937fe82a5daad272092c6518af579
/usr/lib/.build-id/7c
/usr/lib/.build-id/7c/59e98dcb737801dec2000f676242e499bb310f
/usr/lib/.build-id/89
/usr/lib/.build-id/89/65e14be1710e1d6648a0cd27cd6fdedcff4b8a
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/702283a549c5c802bb2ca81db2d991b9f4f2e4
/usr/lib/.build-id/90
/usr/lib/.build-id/90/d69c8647e9f32ee7577480e170072bd0282ae9
/usr/lib/.build-id/a1
/usr/lib/.build-id/a1/15c07b08048fb8ec9f64893b8f533c856f2ccc
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/2acb1e8ece40f3e3d38f51cde1221e149b5730
/usr/lib/.build-id/de
/usr/lib/.build-id/de/83c635111abcfb18db886fd12f302e83742a68
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/b1b7c11d70e7f34935e125d898ff92a61f4498
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/2bf71bec6d4cec1b3ba7915277dfcf76c696c1
/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
/usr/bin/play
/usr/bin/rec
/usr/bin/sox
/usr/bin/soxi
/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/83cebc3620c1e6be734daa5e1ae8144359c62c
/usr/lib/.build-id/24
/usr/lib/.build-id/24/250f7a1efc8dd59ed300205405253b88cf0e85
/usr/lib/.build-id/25
/usr/lib/.build-id/25/faec033e7d2752f6006a692aabfec4e56747b3
/usr/lib/.build-id/28
/usr/lib/.build-id/28/07670895021bca696818b0441139a9a6667e44
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/173f18f1da9cad8a4babfc8c4cbdbd255f7792
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/80077cee94782c10a516086b1627a314d45ab2
/usr/lib/.build-id/48
/usr/lib/.build-id/48/f77148eafd79c8ca7baa6e959ebf84ce4b3039
/usr/lib/.build-id/50
/usr/lib/.build-id/50/3788ad06591a0b9bc6515616ae1bfef15f0139
/usr/lib/.build-id/50/e06ef93e8b5641bcb23cc31af2dbc6d5380b58
/usr/lib/.build-id/52
/usr/lib/.build-id/52/e79aa532c3db06a5d09f9a66992f7ff350f0d9
/usr/lib/.build-id/59
/usr/lib/.build-id/59/80b978c0697094f8a5f5876f265d895f7f5c54
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/eec3de39fcc0f94c3b7645ad885e4506c3fa16
/usr/lib/.build-id/65
/usr/lib/.build-id/65/dff94932118c544b59058f9f641e7e6ac36b2c
/usr/lib/.build-id/76
/usr/lib/.build-id/76/fdec469c1cfe41cabccf4d6ef5f3d638f1bc77
/usr/lib/.build-id/87
/usr/lib/.build-id/87/feba38a707ba31b14dacd2bb39a0e4d390939b
/usr/lib/.build-id/96
/usr/lib/.build-id/96/fed8a2d18a0b8c7cc5736fc2481edb1410326a
/usr/lib/.build-id/ad
/usr/lib/.build-id/ad/b604908ec908a6ff2cfc1e2081932528a366f8
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/ab8146994dd56487f87c63c9e74b4807e6f1f3
/usr/lib/.build-id/dc
/usr/lib/.build-id/dc/7b4db47e06a23413c7d26a0353a9308fe1e888
/usr/lib/.build-id/f5
/usr/lib/.build-id/f5/888193bb9defaa941a7c392d7afa58cf05d7e1
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/c88ca57f31cda84acdc5803d4b9b4648a44bad
/usr/lib/libsox.so.3
/usr/lib/libsox.so.3.0.0
/usr/lib/sox
/usr/lib/sox/libsox_fmt_alsa.so
/usr/lib/sox/libsox_fmt_ao.so
/usr/lib/sox/libsox_fmt_caf.so
/usr/lib/sox/libsox_fmt_fap.so
/usr/lib/sox/libsox_fmt_flac.so
/usr/lib/sox/libsox_fmt_mat4.so
/usr/lib/sox/libsox_fmt_mat5.so
/usr/lib/sox/libsox_fmt_mp3.so
/usr/lib/sox/libsox_fmt_opus.so
/usr/lib/sox/libsox_fmt_oss.so
/usr/lib/sox/libsox_fmt_paf.so
/usr/lib/sox/libsox_fmt_pulseaudio.so
/usr/lib/sox/libsox_fmt_pvf.so
/usr/lib/sox/libsox_fmt_sd2.so
/usr/lib/sox/libsox_fmt_sndfile.so
/usr/lib/sox/libsox_fmt_vorbis.so
/usr/lib/sox/libsox_fmt_w64.so
/usr/lib/sox/libsox_fmt_wavpack.so
/usr/lib/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 Fedora 34 using yum and dnf.