Skip to content

Instantly share code, notes, and snippets.

@luizomf
Last active September 29, 2025 00:02
Show Gist options
  • Save luizomf/1fe6c67f307fc1df19e58f224134dc8f to your computer and use it in GitHub Desktop.
Save luizomf/1fe6c67f307fc1df19e58f224134dc8f to your computer and use it in GitHub Desktop.

Revisions

  1. luizomf revised this gist Oct 31, 2022. 1 changed file with 6 additions and 5 deletions.
    11 changes: 6 additions & 5 deletions ambiente-dev-ubuntu.sh
    Original file line number Diff line number Diff line change
    @@ -4,15 +4,16 @@
    sudo apt update -y
    sudo apt upgrade -y

    # Só o Python
    sudo apt install python3.10-full python3.10-dev -y

    # Instalar pacotes a seguir
    sudo apt install dkms make perl gcc build-essential git curl -y
    sudo apt install -y libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget llvm \
    sudo apt install git curl build-essential dkms perl wget -y
    sudo apt install gcc make default-libmysqlclient-dev libssl-dev -y
    sudo apt install -y zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev llvm \
    libncurses5-dev libncursesw5-dev \
    xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git

    # Instalar Python 3.10 (opcional)
    sudo apt install python3.10-full python3.10-dev

    # Baixar e instalar VS Code: https://code.visualstudio.com/download
    # Baixar e instalar Google Chrome: https://www.google.com/intl/pt-BR/chrome/

  2. luizomf revised this gist Oct 31, 2022. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions ambiente-dev-ubuntu.sh
    Original file line number Diff line number Diff line change
    @@ -6,11 +6,9 @@ sudo apt upgrade -y

    # Instalar pacotes a seguir
    sudo apt install dkms make perl gcc build-essential git curl -y

    #
    sudo apt install -y libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget llvm \
    libncurses5-dev libncursesw5-dev \
    xz-utils tk-dev libffi-dev liblzma-dev python-openssl git
    xz-utils tk-dev libffi-dev liblzma-dev python3-openssl git

    # Instalar Python 3.10 (opcional)
    sudo apt install python3.10-full python3.10-dev
  3. luizomf revised this gist Oct 31, 2022. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions ambiente-dev-ubuntu.sh
    Original file line number Diff line number Diff line change
    @@ -7,6 +7,11 @@ sudo apt upgrade -y
    # Instalar pacotes a seguir
    sudo apt install dkms make perl gcc build-essential git curl -y

    #
    sudo apt install -y libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget llvm \
    libncurses5-dev libncursesw5-dev \
    xz-utils tk-dev libffi-dev liblzma-dev python-openssl git

    # Instalar Python 3.10 (opcional)
    sudo apt install python3.10-full python3.10-dev

  4. luizomf created this gist Nov 4, 2021.
    50 changes: 50 additions & 0 deletions ambiente-dev-ubuntu.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,50 @@
    #!/bin/bash

    # Executar comandos a seguir para atualizar os pacotes
    sudo apt update -y
    sudo apt upgrade -y

    # Instalar pacotes a seguir
    sudo apt install dkms make perl gcc build-essential git curl -y

    # Instalar Python 3.10 (opcional)
    sudo apt install python3.10-full python3.10-dev

    # Baixar e instalar VS Code: https://code.visualstudio.com/download
    # Baixar e instalar Google Chrome: https://www.google.com/intl/pt-BR/chrome/

    # Abaixo tudo é opcional

    # Instalar e configurar ZSH
    sudo apt install zsh -y
    chsh -s /bin/zsh
    zsh

    # Instalar Oh-my-zsh! -> https://ohmyz.sh/
    sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

    # Instalar Spaceship Prompt
    # https://github.com/spaceship-prompt/spaceship-prompt
    git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1
    ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"

    # Mudar ~/.zshrc -> ZSH_THEME="spaceship"

    # Instalar Zsh Autosuggestions
    # https://github.com/zsh-users/zsh-autosuggestions
    git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

    # Instalar Zsh Syntax Highlighting
    # https://github.com/zsh-users/zsh-syntax-highlighting
    git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

    # Mudar plugins
    # plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

    # Font optional (https://github.com/pdf/ubuntu-mono-powerline-ttf)
    mkdir -p ~/.fonts
    git clone https://github.com/pdf/ubuntu-mono-powerline-ttf.git ~/.fonts/ubuntu-mono-powerline-ttf
    fc-cache -vf

    # REBOOT!!!!!!!!!!!!!!!!!!!!!