Thursday, December 4, 2014

linuxbrew : Package manager

linuxbrew is folk of homebrew, for Mac OSX,  it can install package:
 - to home directory
 - without root permission
 - install up-to-date, if the distribution is old version or not exist
 - searchable and solve dependency

1- Installation
before install the linuxbrew we need
- Ruby 1.8.6 or newer
- GCC 4.2 or newer

root@brew:/# ruby -e "$(curl -fsSL"

then set some environments viable in .bashrc

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

Now we can use the linuxbrew to install any package available
user@brew:/$ brew install package_name

No comments:

Post a Comment