Skip to content

Instantly share code, notes, and snippets.

@nullfieldio
Last active September 3, 2015 21:03
Show Gist options
  • Select an option

  • Save nullfieldio/07d905e030bb4fc9b145 to your computer and use it in GitHub Desktop.

Select an option

Save nullfieldio/07d905e030bb4fc9b145 to your computer and use it in GitHub Desktop.
Install zsh to /usr/local/bin on centos/rhel 6
First, get and extract the files:
$ wget http://iweb.dl.sourceforge.net/project/zsh/zsh/5.1/zsh-5.1.tar.gz
$ tar xzf zsh-5.1.tar.gz
$ cd zsh-5.1
#Configure, make and install:
$ ./configure
#Should confirm its installing to /usr/local/bin/
$ make
$ sudo make install
$ /usr/local/bin/zsh --version
zsh 5.1 (x86_64-unknown-linux-gnu)
#If you want to use it as your login shell, you’ll need to add it to /etc/shells:
$ echo "/usr/local/bin/zsh" | sudo tee -a /etc/shells
$ chsh -s /usr/local/bin/zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment