Last active
December 21, 2019 12:53
-
-
Save leonardobiffi/ba3dc2bfcc01d12b9acfbfe7aef613df to your computer and use it in GitHub Desktop.
Revisions
-
leonardobiffi revised this gist
Nov 2, 2019 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -13,6 +13,8 @@ PROGRAMAS_PARA_INSTALAR=( docker.io docker-compose tilix libreoffice libreoffice-l10n-pt-br ) ## Atualizando o repositório depois da adição de novos repositórios ## -
leonardobiffi renamed this gist
Nov 2, 2019 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
leonardobiffi created this gist
Nov 2, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,52 @@ #!/usr/bin/env bash #VARIAVEIS URL_GOOGLE_CHROME="https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb" URL_TEAMVIEWER="https://download.teamviewer.com/download/linux/version_13x/teamviewer_amd64.deb" DIRETORIO_DOWNLOADS="$HOME/Downloads/programas" PROGRAMAS_PARA_INSTALAR=( flameshot vim gnome-tweak-tool docker.io docker-compose tilix ) ## Atualizando o repositório depois da adição de novos repositórios ## sudo apt update -y ## Download e instalaçao de programas externos ## mkdir "$DIRETORIO_DOWNLOADS" wget -c "$URL_GOOGLE_CHROME" -P "$DIRETORIO_DOWNLOADS" wget -c "$URL_TEAMVIEWER" -P "$DIRETORIO_DOWNLOADS" ## Instalando pacotes .deb baixados na sessão anterior ## sudo dpkg -i $DIRETORIO_DOWNLOADS/*.deb # Instalar programas no apt for nome_do_programa in ${PROGRAMAS_PARA_INSTALAR[@]}; do if ! dpkg -l | grep -q $nome_do_programa; then # Só instala se já não estiver instalado apt install "$nome_do_programa" -y else echo "[INSTALADO] - $nome_do_programa" fi done ## Configuração para o Docker ## sudo usermod -aG docker $USER ## Instalando pacotes Snap ## sudo snap install spotify sudo snap install sublime-text # ----------------------------- PÓS-INSTALAÇÃO ----------------------------- # ## Finalização, atualização e limpeza## sudo apt install -f sudo apt update && sudo apt dist-upgrade -y flatpak update sudo apt autoclean sudo apt autoremove -y