Last active
September 3, 2015 21:03
-
-
Save nullfieldio/07d905e030bb4fc9b145 to your computer and use it in GitHub Desktop.
Install zsh to /usr/local/bin on centos/rhel 6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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