This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Distros
About 50 non-derivative software distributions package sox either
from 14.4.2 with different selections of patches or
from commit 42b355 with a different array of patches.
We add Debian derivative Ubuntu because it may have different patches and has a separate, well-nourished issue tracker.
If there is a page of distro-specific notes, the link on the distro name in the following table will take you to it; distro-generic notes are after the table.
Distros that package SoX
Legend
14.4.2 Last release of sox.sf.net from 2015-02-22
42b355 Tip of the sox.sf.net repo on 2021-05-09
| Distro | Pages | Maintainers | Notes |
|---|---|---|---|
| 80x24 | Package | Eric Wong normalperson@yhbt.net and others | 14.4.2 with many commits, patches and branches |
| AIX | - | - | Doesn't package SoX |
| Alpine Linux | Packages Patches |
Natanael Copa | 14.4.2 with 19 patches |
| ALT Linux | Package Specfiles |
ded (Andrey Kovalev) | 14.4.2 with 26 patches: 19 CVEs & 6 bug fixes from Debian and one build system fix |
| ArchLinux | Package Patches |
David Runge dvzrv@archlinux.org | 42b355 with 7 CVE fixes |
| Artix | Package | Last commits are by Nathan Owens ndowens@artixlinux.org | 42b355 |
| buildroot | Patches | Last patch is from fontaine.fabrice@gmail.com | sox.sf.net commit 752416 (2021-02-01=42b355^) with 5 build system fixes |
| CentOS | Package Patches |
14.4.1 with three patches | |
| CRUX | Package | 42b355 with one build system fix | |
| cygwin | Package Commits Patches |
ORPHANED | 14.4.2 with patches from fedoraproject |
| Debian | Package Patches Bugs Mailing list |
debian-multimedia@lists.debian.org | 14.4.2 with 27 patches, 18 of which are for CVEs, and one more in sid |
| Exherbo | Package | 14.4.2 with no patches | |
| Fedora | Package Patches Issues |
The last committer is Florian Weimer fweimer@redhat.com | 14.4.2 with 13 patches |
| Fink | Package Info-File |
Hanspeter Niederstrasser nieder@users.sourceforge.net | 14.4.2 taken from Ubuntu with the Debian patches |
| FreeBSD | Package Patches |
dnelson@allantgroup.com | gentoo's distfile of 42b355 with 2 patches: "Fix man page" and "src/output.c:flow()" |
| Gentoo | ebuild | sound@gentoo.org | 42b355 with two build system fixes |
| GNU Guix | Package Issues |
14.4.2 with no patches. No issue is relevant. | |
| Gobolinux | Recipe | Hisham Muhammad hisham@gobolinux.org | 14.4.2 with no patches |
| Haiku | Recipe Patches |
aarroyoc adrian.arroyocalle@gmail.com | 14.4.2 with one build system fix |
| Homebrew | Package Formula |
14.4.2 with 2 patches, one build system and one by Eric Wong | |
| KaOS | Package Patches |
14.4.2 with one patch for ffmpeg0.11 | |
| LiGurOS | Repository | sox-14.4.2_p20210509 Gentoo derivative | |
| Macports | Package and Issues Portfile Patches |
No maintainer | 14.4.2 with 2 patches |
| Mageia | Package Patches and RPM spec |
zezinho | "sox-20200117.tar.xz" snapshot with 7 CVE patches from Debian |
| MSYS2 mingw | Package and patch | Wolfgang Stöggl c72578@yahoo.de | 14.4.2 with one patch |
| MXE | Makefile patch | Last commit by mabrand | 14.4.2 with one patch |
| NetBSD | Package Patches |
Appears to be 14.4.2 with 5 patches and some translations in the spec file | |
| NixOS | Package | Marc Weber marco-oweber@gmx.de | Based on 42b355 with patch 0001-musl-rewind-pipe-workaround |
| nixpkgs | Package | As for NixOS | |
| OpenBSD | Package | Michael Mikonos mmikono@mail2Agent.com | 42b355 with 7 patches. See this post |
| OpenEmbedded | Package & patches Recipe |
Koen Kooi koen@dominion.thruhere.net | sox-14.4.2 with 3 patches |
| OpenEuler | Package and patches | sox-14.4.2.0.modified with 11 patches | |
| OpenIndiana | Package Patches |
14.4.2 with 3 patches | |
| openmamba | Package | silvan | 14.4.2 apparently with no patches |
| OpenMandriva | Package Issues |
Last commit by berolinux (Bernhard Rosenkraenzer) | 14.4.2 with no patches |
| OpenSUSE | Package Patches |
packagehub@suse.com | 14.4.2 with 19 CVE patches |
| OpenWrt | Package Git tree Patches |
14.4.2 with 3 patches | |
| OS4DEPOT | Package | Submitter: Matthias Muench | 14.2.0 |
| Parabola | Package | Last Packager: Andreas Baumann mail@andreasbaumann.cc | "This package comes from Arch" |
| Pisi Linux | Package | admins@pisilinux.org | Git snapshot? Last updated 2020-02-03 |
| PLD Linux | Package Patches |
Last commits by Jan Palus atler@pld-linux.org and Jakub Bogusz qboosh@pld-linux.org | 14.4.2 with 3 patches |
| PureOS | Package | Maintainer: debian-multimedia@lists.debian.org Uploaders: Dennis Braun d_braun@kabelmail.de, Jaromír Mikeš mira.mikes@seznam.cz |
sox_14.4.2+git20190427 Debian derivative with Debian's 28 patches |
| Rosa | Package | Last commits Aleksandr Proklov a.proklov@rosalinux.ru and gvm | 14.4.2 with 12 CVE patches from Fedora and 6 bug fixes |
| Scoop | sox.json | 14.4.2 | |
| Slackware | Page | Couldn't find the source. Seems plain 14.4.2 | |
| SliTaz | Package | Pascal Bellard <pascal.bellard@slitaz.org> | 14.4.2 |
| Solus | Package | Packager: Jakob Gezelius jakob@knugen.nu | 14.4.2 with no patches |
| Spack | Package | sox is looking for a maintainer! | 14.4.2 |
| T2 SDE | Package | Rene Rebe rene@t2-project.org | 14.4.2 with one patch #67 |
| Termux | Package | "@termux" | 14.4.2 with 1 patch for Android |
| Trisquel | Package ChangeLog |
It says that the maintainer is Ubuntu Developers | Seems to be a copy of Debian or Ubuntu |
| Ubuntu | Package ChangeLog Bug reports |
Ubuntu Developers ubuntu-devel-discuss@lists.ubuntu.com | Debian derivative, maybe with extra patches |
| VoidLinux | Package | Leah Neukirchen leah@vuxu.org | 14.4.2 with one patch #67 |
Distros that do not package SoX
| Distro | Pages | Maintainers | Notes |
|---|---|---|---|
| MINIX | - | info@minix3.org |
Sources
- Software distributions on Repology that package sox
- Software distributions on pkgs.org that package sox
sox_ng compared to sox.sf.net
CVEs and bugs are fixed
sox_ng is a hard fork of sox-14.4.2 including all the
Debian and Fedora patches with more successful fixes for some of the CVEs,
fixes all the unaddressed CVEs and more bug fixes from the distros.
There is a regression test suite that runs SoX against a collection of the test files from CVEs and bug reports
For a summary of how sox-14.4.2, sox.sf.net, Debian and sox_ng fare,
see Testing.
Copyright is now regular
The copyright status of SoX was a mess (see Copyright)
but in sox_ng it has been sorted out
thanks to input from the FSF's legals
and to confirmations from dodgy files' original authors.
The package as a whole is GPLv2
because src/opus.c is based on oggdec.c which is GPLv2-only
but individual source files retain their more permissive,
GPLv2-compatible licences.
Regular releases
sox_ng has time-based releases.
The first micro release with bug fixes happened on 18 August 2024
and the first minor release with new features on 18 October 2024,
with a following six-monthly cycle for each.
"Upgrading" from 42b355
If your distro opted for basing its package on the 2021 top of the sox.sf.net
git tree (affectionately known as 42b355), your users may lose some features
if you move to the first sox_ng micro release.
Other than bug fixes and changes and better input validation,
the only ones I am aware of are:
spectrogram -nflag to normalize the brightnessspectrogram: remove height limit of 8193 pixels- Handle 192k sample rates in RIAA files
- Allow
combineto merge a single file - Handling of ID3 tags in more formats
WAVfiles: allow the number of "valid bits" to be less than the sample size
Extra build dependencies and package recommendations
From 14.5, it can use fftw3 and speexdsp (which may also need speex)
SoX includes the source code for libgsm, lpc10 and (since 14.6) libdolbyb.
libgsmis now widespread in distros, so you can include it as a dep; this also applies to the originalsoxwhich autodetects its presence;libdolbybwas first released in early 2025 so you may wish to package that separately and include it as a builddep ofsox_ng;lpc10doesn't have.tar.gzsource releases yet, onlygit clone.
To be able to read URLs, your package should "recommend" installing
- 14.4:
wget - 14.5:
wgetor, if configured with--with-curl,curl. - 14.6:
wgetorwget2orcurl
For it to be able to launch ffmpeg on a pipe to be able to read
dozens more audio (and video!) formats, you will want to "recommend" ffmpeg
- 14.5: if configured
--with-ffmpeg - 14.6: if not configured
--without-ffmpeg
It's not fatal if these aren't found at runtime; it just can't read the extra filetypes.
Replacing sox is optional
sox_ng installs as sox_ng, {soxi,play,rec}_ng, sox_ng.h,
libsox_ng.{a,la,so}, sox_ng.pc and similarly for the manual pages
but if you ./configure --enable-replace it also makes links
sox, play, sox.h and so on so that other programs find
what they are used to.
According to your distro's norms, you may prefer to enable these links
and make it supplant the original sox (a "conflicting alternative")
or you may prefer to use your distro's "alternatives" mechanism
so that users can choose which to use.