Skip to content

Instantly share code, notes, and snippets.

@ericof
Last active May 20, 2024 20:04
Show Gist options
  • Save ericof/ffeeafbe9ef8774bdb9d4b6d261f5752 to your computer and use it in GitHub Desktop.
Save ericof/ffeeafbe9ef8774bdb9d4b6d261f5752 to your computer and use it in GitHub Desktop.
Install Ubuntu dependencies
# Instala pacotes base
sudo apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git docker.io
# Instala pyenv (Gestor de instalacoes Python)
curl https://pyenv.run | bash
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bashrc
source ~/.bashrc
# Instala Python 3.11
pyenv install 3.11
pyenv global 3.11
pip install -U pipx
# Instala nvm (Gestor de instalacoes node)
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.bashrc
nvm install --lts
nvm use --lts
npm install -g yo @plone/generator-volto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment