title: Can I use Homebrew on Ubuntu?
body: <p>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:</p>
  
  <pre><code>sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev
  
  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"
  </code></pre>
  
  <p>I got the following warning:</p>
  
  <pre><code>Warning: /home/tong/.linuxbrew/bin is not in your PATH.
  </code></pre>
  
  <p>I vi my bash.bashrc in home/etc and add this:</p>
  
  <pre><code>export PATH="$HOME/.linuxbrew/bin:$PATH"
  export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
  export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
  </code></pre>
  
  <p>Then I tried <code>brew doctor</code> but got <code>No command 'brew' found</code>. How am I able to use Homebrew on Ubuntu?</p>