5
3

More than 5 years have passed since last update.

SoXコマンドをCentOS6.5にインストール

Posted at

Sox

音声ファイルを加工、変換できるコマンド

  1. RPMforgeリポジトリ導入して必要なパッケージをインストール
    # rpm -Uhv http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
    # yum -y install lame lame-devel libmad libmad-devel

  2. ソースダウンロード
    # wget http://sourceforge.net/projects/sox/files/sox/14.4.1/sox-14.4.1.tar.gz

  3. インストール
    tar zxvf sox-14.4.1.tar.gz && cd sox-14.4.1
    # ./configure
    # make all
    # make install

  4. パスを通すためシンボリックリンク作成
    # ln -s /usr/local/bin/sox /usr/bin/sox

  5. 確認
    # which sox
    /usr/bin/sox

    # sox --version
    /usr/local/bin/sox: SoX v14.4.1

終わり

5
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
3