Skip to content

Instantly share code, notes, and snippets.

@solar
Created October 12, 2012 05:00
Show Gist options
  • Save solar/3877413 to your computer and use it in GitHub Desktop.
Save solar/3877413 to your computer and use it in GitHub Desktop.
Install zsh 5.0.0 on CentOS/RH 6.3
# install zsh-5.0.0
# prerequisite: gcc ncurses-devel readline-devel pcre-devel zlib-devel
curl -L http://jaist.dl.sourceforge.net/project/zsh/zsh/5.0.0/zsh-5.0.0.tar.bz2 | tar jx
cd zsh-5.0.0/
./configure --prefix=/usr/local/zsh/5.0.0 --enable-cap --enable-pcre --enable-multibyte
make
sudo make install
sudo alternatives --install /usr/local/bin/zsh zsh /usr/local/zsh/5.0.0/bin/zsh 50000
@iamaliyousefi
Copy link

It worked for me too. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment