Skip to content

Instantly share code, notes, and snippets.

@solar
Created October 12, 2012 05:00
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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
@rothgar
Copy link

rothgar commented Aug 11, 2014

zsh 5.0.5 works for me on 6.4 too. Thanks

@Sligcm
Copy link

Sligcm commented May 12, 2015

Thanks.

@grasses
Copy link

grasses commented Oct 21, 2015

configure: error: in /home/public/zsh-5.0.0': configure: error: "No terminal handling library was found on your system. This is probably a library called 'curses' or 'ncurses'. You may need to install a package called 'curses-devel' or 'ncurses-devel' on your system." Seeconfig.log' for more details

@jkyin
Copy link

jkyin commented Jun 7, 2016

# yum install ncurses-devel -y

@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