如何在Heroku上安装brew(或ffmpeg)?

时间:2018-05-24 20:13:37

标签: heroku ffmpeg homebrew

根据标题,我想知道是否以及如何安装brew,因为我需要安装ffmpeg lib

我尝试了它写的here

sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"

test -d ~/.linuxbrew && PATH="$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin:$PATH"
test -d /home/linuxbrew/.linuxbrew && PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:$PATH"
test -r ~/.bash_profile && echo "export PATH='$(brew --prefix)/bin:$(brew --prefix)/sbin'":'"$PATH"' >>~/.bash_profile
echo "export PATH='$(brew --prefix)/bin:$(brew --prefix)/sbin'":'"$PATH"' >>~/.profile

但是仍然没有找到brew:

bash: brew: command not found

0 个答案:

没有答案