mac sox安装

sox的mac安装非常简单,但是百度上居然没搜到,这里弥补一下空缺,首先安装homebrew:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

然后,安装sox:

brew install sox

安装日志:

Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
ansible                    awscli                     juju-wait
ansible-lint               conjure-up                 pstoedit

==> Installing dependencies for sox: libogg, flac, lame, libpng, libvorbis, libsndfile, mad, opus and opusfile
==> Installing sox dependency: libogg
==> Downloading https://homebrew.bintray.com/bottles/libogg-1.3.4.mojave.bottle.
==> Downloading from https://akamai.bintray.com/57/57278622c3550ef4cfe1a14aa885d
######################################################################## 100.0%
==> Pouring libogg-1.3.4.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/libogg/1.3.4: 97 files, 473.2KB
==> Installing sox dependency: flac
==> Downloading https://homebrew.bintray.com/bottles/flac-1.3.3.mojave.bottle.ta
==> Downloading from https://akamai.bintray.com/ef/ef7f0557e79c99a79814f4ed29120
######################################################################## 100.0%
==> Pouring flac-1.3.3.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/flac/1.3.3: 53 files, 2.4MB
==> Installing sox dependency: lame
==> Downloading https://homebrew.bintray.com/bottles/lame-3.100.mojave.bottle.ta
Already downloaded: /Users/admin/Library/Caches/Homebrew/downloads/b96cee71ed4329bc9de357a68f60ef14ffd6a0b27d45f3a3478a8ac01c27e30e--lame-3.100.mojave.bottle.tar.gz
==> Pouring lame-3.100.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/lame/3.100: 27 files, 2.1MB
==> Installing sox dependency: libpng
==> Downloading https://homebrew.bintray.com/bottles/libpng-1.6.37.mojave.bottle
Already downloaded: /Users/admin/Library/Caches/Homebrew/downloads/1957fe4350dafd271e0a5ae9ac4c9e3583520b3b77111f873366c8a21f2e9703--libpng-1.6.37.mojave.bottle.tar.gz
==> Pouring libpng-1.6.37.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/libpng/1.6.37: 27 files, 1.2MB
==> Installing sox dependency: libvorbis
==> Downloading https://homebrew.bintray.com/bottles/libvorbis-1.3.6.mojave.bott
Already downloaded: /Users/admin/Library/Caches/Homebrew/downloads/904a20d43fb270bcc1c290fd357d3a12ef2b9f519ee9cb9f43eb3fbba79b2a15--libvorbis-1.3.6.mojave.bottle.tar.gz
==> Pouring libvorbis-1.3.6.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/libvorbis/1.3.6: 157 files, 2.3MB
==> Installing sox dependency: libsndfile
==> Downloading https://homebrew.bintray.com/bottles/libsndfile-1.0.28.mojave.bo
Already downloaded: /Users/admin/Library/Caches/Homebrew/downloads/7d5cc70676ccbf966017c3f4d29e0a199461c392e37b86f24c69b390e10f1c25--libsndfile-1.0.28.mojave.bottle.tar.gz
==> Pouring libsndfile-1.0.28.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/libsndfile/1.0.28: 48 files, 1.8MB
==> Installing sox dependency: mad
==> Downloading https://homebrew.bintray.com/bottles/mad-0.15.1b.mojave.bottle.1
Already downloaded: /Users/admin/Library/Caches/Homebrew/downloads/87718a6c9395963b2a6824cc104a794e9a500df60a0a02f6471dcf208440353a--mad-0.15.1b.mojave.bottle.1.tar.gz
==> Pouring mad-0.15.1b.mojave.bottle.1.tar.gz
🍺  /usr/local/Cellar/mad/0.15.1b: 13 files, 321.3KB
==> Installing sox dependency: opus
==> Downloading https://homebrew.bintray.com/bottles/opus-1.3.1.mojave.bottle.ta
Already downloaded: /Users/admin/Library/Caches/Homebrew/downloads/022e104b8443a397084620dd6b9dbbed83e93884a252160feffa7be52e0bb368--opus-1.3.1.mojave.bottle.tar.gz
==> Pouring opus-1.3.1.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/opus/1.3.1: 17 files, 982.4KB
==> Installing sox dependency: opusfile
==> Downloading https://homebrew.bintray.com/bottles/opusfile-0.11_1.mojave.bott
######################################################################## 100.0%
==> Pouring opusfile-0.11_1.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/opusfile/0.11_1: 17 files, 292KB
==> Installing sox
==> Downloading https://homebrew.bintray.com/bottles/sox-14.4.2_3.mojave.bottle.
Already downloaded: /Users/admin/Library/Caches/Homebrew/downloads/16b4e9e4c3e1b6b87ec7cda23b369efff98f922504d54f784b78ef32a1885e31--sox-14.4.2_3.mojave.bottle.tar.gz
==> Pouring sox-14.4.2_3.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/sox/14.4.2_3: 23 files, 1.8MB

参考文献

[1]. Install sox on Mac with Brew. https://brewinstall.org/Install-sox-on-Mac-with-Brew/

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

农民小飞侠

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值