Hi, I’m running SoX (an open-source sound processing program) on a server running CentOS. SoX got on there as part of a general distribution.
I’m running version 14.0.1 of SoX, but there’s a feature that’s available in the latest version, so I’d like to upgrade.
I’m a Linux Newbie, and I know that there is some yum command (or something like that) that will let me update the files, but I don’t know the syntax, and I can’t find any documentation. I don’t know much about yum or repositories.
Can someone provide some guidance as to what command I would use to upgrade SoX? Thanks in advance.
From section 4.2, you might try something like this: su -c ‘yum update sox’
which will invoke su (superuser) with the -c switch (run the following command and exit). I’m not sure how to tell yum to update its version of whats in the repository.
However, you will be limited to what your current repositorries provide.
If, though your searches, you find that your current version of sox is the most current Cent provides, you have 2 choices as I see them:
Look for a person/orginization that hosts a free, publicly accessable repository for Cent, and see if they cary the version of sox you are looking for.*
Compile it yourself. While it seems quite a bit intimidating, if you have the correct supporting packages, usually a bunch ending with -dev, compiling your own sox may be as easy as
configure; sudo make; sudo make install; (substitude sudo for su -c as needed)
For example, I use debian lenny (version 5), and I do a lot of video encoding and transcoding. The debian provided packages are behind current, and are not expected to be updated. However, there is a site where the purpose is to create a free, public repository of multimedia programs, with current or very near so, multimedia packages for debian. I love this site