Last active
August 29, 2015 13:56
-
-
Save nukesaq88/9223492 to your computer and use it in GitHub Desktop.
anyenv install memo on CentOS6
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
| #clone anyenv | |
| git clone https://github.com/riywo/anyenv ~/.anyenv | |
| echo 'export PATH="$HOME/.anyenv/bin:$PATH"' >> ~/.bashrc | |
| echo 'eval "$(anyenv init -)"' >> ~/.bashrc | |
| source ~/.bashrc | |
| # install *env | |
| #anyenv install rbenv | |
| #anyenv install plenv | |
| #anyenv install pyenv | |
| #anyenv install ndenv | |
| #example: install ruby 2.0.0 | |
| #sudo yum -y -v install gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison iconv-devel | |
| #rbenv install -v 2.0.0-p353 | |
| #example: install python 3.3.4 | |
| #sudo yum -y -v install zlib zlib-devel openssl-devel readline readline-devel ncurses-devel sqlite-devel expat-devel bzip2-devel tcl-devel gdbm-devel libbsd-devel | |
| # pyenv install -v 3.3.4 | |
| #pyenv global 3.3.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment