Last active
June 23, 2021 08:37
-
-
Save madalinignisca/a66eca1d01ebd52b93cb97297e55c685 to your computer and use it in GitHub Desktop.
nodenv phpenv pyenv rbenv
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
# add this to ~/.profile or correct profile file used by your shell | |
export RBENV_ROOT="/home/madalin/.rbenv" | |
if [ -d "${RBENV_ROOT}" ] ; then | |
PATH="${RBENV_ROOT}/bin:$PATH" | |
eval "$(rbenv init -)" | |
fi | |
export PHPENV_ROOT="/home/madalin/.phpenv" | |
if [ -d "${PHPENV_ROOT}" ] ; then | |
export PATH="${PHPENV_ROOT}/bin:${PATH}" | |
eval "$(phpenv init -)" | |
fi | |
export NODENV_ROOT="/home/madalin/.nodenv" | |
if [ -d "${NODENV_ROOT}" ] ; then | |
export PATH="${NODENV_ROOT}/bin:${PATH}" | |
eval "$(nodenv init -)" | |
fi | |
export PYENV_ROOT="$HOME/.pyenv" | |
if [ -d "${PYENV_ROOT}" ] ; then | |
export PATH="$PYENV_ROOT/bin:$PATH" | |
eval "$(pyenv init --path)" | |
fi |
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
curl -L https://raw.githubusercontent.com/phpenv/phpenv-installer/master/bin/phpenv-installer | bash | |
curl -fsSL https://raw.githubusercontent.com/nodenv/nodenv-installer/master/bin/nodenv-installer | bash | |
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash | |
curl https://pyenv.run | bash |
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
# copy the next comment, without # and paste: | |
# sudo apt install autoconf pkg-config libzip-dev libxslt1-dev libtidy-dev libreadline-dev libonig-dev libjpeg-dev libpng-dev libcurl4-openssl-dev libbz2-dev zlib1g-dev libsqlite3-dev libssl-dev libxml2-dev build-essential | |
autoconf | |
pkg-config | |
libzip-dev | |
libxslt1-dev | |
libtidy-dev | |
libreadline-dev | |
libonig-dev | |
libjpeg-dev | |
libpng-dev | |
libcurl4-openssl-dev | |
libbz2-dev | |
zlib1g-dev | |
libsqlite3-dev | |
libssl-dev | |
libxml2-dev | |
build-essential |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
libmcrypt-dev is needed only for 7.1 or lower