Can I use Homebrew on Ubuntu?

后端 未结 8 568
[愿得一人]
[愿得一人] 2021-01-30 02:45

I just tried to use Homebrew and Linuxbrew to install packages on my Ubuntu Server but both failed. This is how I tried to install them:

sudo apt-get install bui         


        
8条回答
  •  星月不相逢
    2021-01-30 03:02

    Because all previous answers doesn't work for me for ubuntu 14.04 here what I did, if any one get the same problem:

    git clone https://github.com/Linuxbrew/brew.git ~/.linuxbrew
    PATH="$HOME/.linuxbrew/bin:$PATH"
    export MANPATH="$(brew --prefix)/share/man:$MANPATH"
    export INFOPATH="$(brew --prefix)/share/info:$INFOPATH"
    

    then

    sudo apt-get install gawk
    sudo yum install gawk
    brew install hello
    

    you can follow this link for more information.

提交回复
热议问题