Can I use Homebrew on Ubuntu?

后端 未结 8 567
[愿得一人]
[愿得一人] 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:04

    I just tried installing it using the ruby command but somehow the dependencies are not resolved hence brew does not completely install. But, try installing by cloning:

    git clone https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew
    

    and then add the following to your .bash_profile:

    export PATH="$HOME/.linuxbrew/bin:$PATH"
    export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
    export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
    

    It should work..

提交回复
热议问题