3
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

posted at

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

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

終わり

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Sign upLogin
3
Help us understand the problem. What are the problem?