Skip to content

Instantly share code, notes, and snippets.

@movibe
Last active April 25, 2020 19:43
Show Gist options
  • Save movibe/477a892bbb2778da18b0b9f264efb9a9 to your computer and use it in GitHub Desktop.
Save movibe/477a892bbb2778da18b0b9f264efb9a9 to your computer and use it in GitHub Desktop.
ubuntu-movibe.sh
#!/bin/bash
## Removendo travas eventuais do apt ##
sudo rm /var/lib/dpkg/lock-frontend ; sudo rm /var/cache/apt/archives/lock ;
## Atualizando o repositório ##
sudo apt update &&
## Instalando pacotes e programas do repositório deb do Ubuntu ##
sudo apt install terminator zsh python3 python3-pip wine nautilus-dropbox docker docker-compose git build-essential libssl-dev flatpak gnome-software-plugin-flatpak -y &&
## ZSH Terminal
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" &&
# ZSH Plujgins
sh -c "$(curl -fsSL https://raw.githubusercontent.com/zdharma/zinit/master/doc/install.sh)" &&
zinit light zdharma/fast-syntax-highlighting &&
zinit light zsh-users/zsh-autosuggestions &&
zinit light zsh-users/zsh-completions &&
## Nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash &&
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
## Instalando pacotes Snap ##
sudo snap install ubuntu-make --classic &&
sudo snap install slack --classic &&
sudo snap install skype --classic &&
sudo snap install code --classic &&
sudo snap install insomnia &&
#sudo snap install spotify &&
sudo snap install wps-office-multilang &&
## Adicionando repositório Flathub ##
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo &&
## Instalando Apps do Flathub ##
sudo flatpak install flathub com.obsproject.Studio -y &&
sudo flatpak install flathub com.sublimetext.three -y &&
sudo flatpak install flathub io.dbeaver.DBeaverCommunity -y &&
## Softwares que precisam de download externo ##
cd ~/Downloads/ &&
# Mac Mojave Theme Dark
sudo apt install gtk2-engines-murrine gtk2-engines-pixbuf &&
sudo apt install sassc optipng inkscape libcanberra-gtk-module libglib2.0-dev libxml2-utils &&
git clone https://github.com/vinceliuice/Mojave-gtk-theme &&
cd Mojave-gtk-theme && ./install && cd .. &&
git clone https://github.com/vinceliuice/McMojave-circle.git
cd McMojave-circle && ./install && cd .. &&
# Google Chrome
wget -c https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb &&
sudo dpkg -i *.deb &&
##Softwares alternativos Windows##
##GIMP e PhotoGIMP
#latpak install flathub org.gimp.GIMP -y && wget -c https://doc-0s-1g-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/0v83rmt4mij9897co9ufvor2r1jcj1am/1567965600000/07452089978596344616/*/12i-ihCDSZelx30-oNHJaKAzUei1etsbS?e=download && unzip 12i-ihCDSZelx30-oNHJaKAzUei1etsbS?e=download && cd "PHOTOGIMP V2018 - DIOLINUX" && cd "PATCH" && mkdir -p /home/$USER/.var/app/org.gimp.GIMP/config/GIMP/2.10/ && cp -R * /home/$USER/.var/app/org.gimp.GIMP/config/GIMP/2.10/ &&
# Wine softwares ###
## Nfe
# cd ~/Downloads/ &&
# wget -c https://uploads.treeunfe.me/downloads/instalar-freenfe.exe &&
#wine instalar-freenfe.exe ;
## Atualização do sistema ##
sudo apt update && sudo apt dist-upgrade -y && sudo apt autoclean -y && sudo apt autoremove -y &&
#Fim do Script ##
echo "Finalizado"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment