Last active
March 16, 2024 21:04
-
-
Save reinaldocoelho/9cc8af62c20f803772a079fbc95c7392 to your computer and use it in GitHub Desktop.
Bash script para instalacão dos softwares Ubuntu (After reinstall)
This file contains 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
#! /bin/bash | |
## Corrigir cedilha Ubuntu (principalmente navegadores) | |
## Detalhes: <https://gist.github.com/reinaldocoelho/3fc62b9b1e4287708eb458f5010dde8f#file-correcao-cedilha-ubuntu-md> | |
echo 'GTK_IM_MODULE=cedilla' | sudo tee -a /etc/environment | |
echo 'QT_IM_MODULE=cedilla' | sudo tee -a /etc/environment | |
## ####################################################### | |
## VIA APT | |
## ####################################################### | |
sudo apt update && sudo apt install -y tmux \ | |
flatpak \ | |
gnome-software-plugin-flatpak \ | |
fonts-firacode \ | |
keepass2 \ | |
vim \ | |
git gist gitk gh \ | |
bat \ | |
tree \ | |
make \ | |
curl \ | |
htop \ | |
libreoffice \ | |
flameshot \ | |
bacula-console-qt \ | |
kdiff3 | |
## ######################################################### | |
## VIA SNAP | |
## ######################################################### | |
snap install --edge starship | |
snap install --classic docker | |
snap install --classic aws-cli | |
snap install --classic another-redis-desktop-manager | |
snap install --classic freemind | |
# Aplicativo para testes de seguranca | |
snap install --classic hetty | |
# snap install --classic notion-snap | |
snap install --classic logseq | |
# VsCode | |
snap install --classic code | |
# Dotfiles controller | |
snap install --classic chezmoi | |
# scc \ # Code Counter pra linguagens | |
# teams \ # Teams pegando versao via Flatpak agora | |
snap install --classic gimp | |
## ######################################################### | |
## VIA FLAT-PACK | |
## Install on ubuntu https://flatpak.org/setup/Ubuntu | |
## ######################################################### | |
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo | |
## Instalando pacotes | |
flatpak install -y com.dropbox.Client | |
# Microsoft Teams Nao oficial | |
flatpak install -y com.github.IsmaelMartinez.teams_for_linux | |
flatpak install -y org.chromium.Chromium | |
# flatpak install -y com.visualstudio.code | |
flatpak install -y io.dbeaver.DBeaverCommunity | |
flatpak install -y net.jami.Jami | |
# flatpak install -y io.appflowy.AppFlowy # Alternativa ao Notion | |
# flatpak install -y org.scummvm.ScummVM # Interpretador de jogos Click and point | |
flatpak install -y com.spotify.Client | |
flatpak install -y org.telegram.desktop | |
flatpak install -y com.microsoft.Edge | |
flatpak install -y org.remmina.Remmina | |
## flatpak install -y org.flameshot.Flameshot | |
## ClamAV antivirus FrontEnd | |
flatpak install -y flathub com.gitlab.davem.ClamTk | |
flatpak install -y org.mozilla.Thunderbird | |
flatpak install -y org.videolan.VLC | |
## TO UPDATE | |
# flatpak update | |
## ######################################################### | |
## VIA HOME-BREW | |
## https://brew.sh/ | |
## ######################################################### | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
(echo; echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"') >> ~/.profile | |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | |
## TERA - Radio CLI | |
## https://github.com/shinokada/tera | |
brew tap shinokada/tera | |
brew install tera | |
## PROGRAMAS DE TERMINAL | |
## NuShell | |
sudo apt install pkg-config libssl-dev | |
brew install nushell | |
# NCDU para acompanhamento de disco | |
sudo apt install -y ncdu # Programa para ver espaco em disco | |
## Player MP3 no terminal | |
# https://github.com/clangen/musikcube | |
sudo mkdir /opt/musikcube | |
sudo wget https://github.com/clangen/musikcube/releases/download/3.0.1/musikcube_linux_x86_64_3.0.1.tar.bz2 -O /opt/musikcube/musikcube_linux_x86_64_3.0.1.tar.bz2 | |
sudo tar -xf /opt/musikcube/musikcube_linux_x86_64_3.0.1.tar.bz2 --strip-components=1 -C /opt/musikcube | |
sudo chmod +x /opt/musikcube/musikcube | |
sudo ln -s /opt/musikcube/musikcube /usr/bin/musikcube | |
# Spotify no terminal: https://github.com/Rigellute/spotify-tui | |
snap install spt # Spotify | |
# Browser: https://www.brow.sh/ | |
# docker run -it --rm browsh/browsh | |
# FNM (Instalacao de versoes NodeJs (Tipo NVM, mas para uso com Nushell) | |
curl -fsSL https://fnm.vercel.app/install | bash | |
# dutree (SpaceUsed cli): https://www.tecmint.com/dutree-analyze-disk-usage-in-linux/ | |
sudo curl https://sh.rustup.rs -sSf | sh | |
## ######################################################### | |
# Youtube no terminal: https://pypi.org/project/yewtube/ | |
## Mais ferramentas de dia a dia, assista: https://www.youtube.com/watch?v=4yBEqI74TUI | |
## ######################################################### | |
## Post-Install | |
## ######################################################### | |
# DOCKER | |
# <https://docs.docker.com/engine/install/linux-postinstall/> | |
sudo groupadd docker | |
sudo usermod -aG docker $USER | |
## dotnet - With dotnet-install | |
# Mais sobre: <https://docs.microsoft.com/pt-br/dotnet/core/tools/dotnet-install-script> | |
wget https://dot.net/v1/dotnet-install.sh | |
chmod +x ./dotnet-install.sh | |
./dotnet-install.sh -c Current | |
./dotnet-install.sh -c 8.0 | |
./dotnet-install.sh -c 6.0 | |
## GitAHead cliente visual de Git | |
# https://github.com/gitahead/gitahead/releases | |
wget https://github.com/gitahead/gitahead/releases/download/v2.6.3/GitAhead-2.6.3.sh && \ | |
sh ./GitAhead-2.6.3.sh --prefix=/home/reinaldo/snap --include-subdir | |
## CTOP Top para containers | |
# https://github.com/bcicen/ctop | |
sudo wget https://github.com/bcicen/ctop/releases/download/v0.7.7/ctop-0.7.7-linux-amd64 -O /usr/local/bin/ctop | |
sudo chmod +x /usr/local/bin/ctop | |
## Fix Wrong DateTime if dual-boot with windows | |
# Mais em: <https://itsfoss.com/wrong-time-dual-boot/> | |
## Aviso: Não efetuar isso para SERVIDORES. | |
timedatectl set-local-rtc 1 | |
## Reboota sistema (opcional) | |
# sudo shutdown -r now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment