Arquivos de configuraçao e instalacoes feitas no Debian 11/12.
Inserir o usuário wwagner no .sudoer.
sudo apt install build-essential net-tools git wget curl linux-headers-$(uname -r) manpages-dev
Instalação do AASDF seguindo o passo a passo presente no endereço https://asdf-vm.com/pt-br/guide/getting-started.html#_2-download-asdf.
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.11.3
Inserir no arquivo .bashrc as linhas:
. "$HOME/.asdf/asdf.sh"
. "$HOME/.asdf/completions/asdf.bash"
Trocar todo o conteúdo do arquivo /etc/apt/sources.list por:
# deb cdrom:[Debian GNU/Linux 12.1.0 _Bookworm_ - Official amd64 NETINST with firmware 20230722-10:48]/ bookworm main non-free-firmware
deb http://ftp.br.debian.org/debian/ bookworm main non-free-firmware
deb-src http://ftp.br.debian.org/debian/ bookworm main non-free-firmware
deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware
# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://ftp.br.debian.org/debian/ bookworm-updates main non-free-firmware
deb-src http://ftp.br.debian.org/debian/ bookworm-updates main non-free-firmware
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
deb http://deb.debian.org/debian bookworm-backports main contrib non-free
deb-src http://deb.debian.org/debian bookworm-backports main contrib non-free
deb http://debian.pop-sc.rnp.br/debian/ bookworm-proposed-updates main contrib non-free non-free-firmware
deb http://deb.debian.org/debian/ sid main contrib non-free
deb https://deb.debian.org/debian/ trixie main contrib non-free-firmware non-free
deb-src https://deb.debian.org/debian/ trixie main contrib non-free-firmware non-free #Added by software-properties
deb https://deb.debian.org/debian/ trixie-proposed-updates non-free-firmware contrib main non-free
#experimentals
deb https://deb.debian.org/debian experimental main
Atualizar os arquivos instalados e a distribuição Debian 11 para 12.
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
Instalação do Snap e o Snap Store.
sudo apt install snapd
sudo snap install core
sudo snap install snap-store
Instalação do Visual Studio Code.
sudo snap install --classic code
Instalação do NordVPN.
sh <(curl -sSf https://downloads.nordcdn.com/apps/linux/install.sh)
su - $USER
nordvpn login
nordvpn set technology openvpn
nordvpn set protocol udp
nordvpn connect
Instalação do github CLI (gh)
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg && sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null && sudo apt update && sudo apt install gh -y
Fazendo a cópia de todos os repositórios
gh auth login
gh repo list wwagner33 --limit 1000 | while read -r repo _; do
gh repo clone "$repo" "$repo"
done
Instalação do Steam
Instale o Steam através da Snap Store. Depois habilite a compatibilidade com o Linux no Settings -> Compatibillity.
Instalação do Python
sudo apt install python3-full
Para usar o ambiente virtual do Python usar:
python3 -m venv .venv
. .venv/bin/activate
Instalação do Kernel otimizado Liquorix
curl -s 'https://liquorix.net/install-liquorix.sh' | sudo bash
Instalação do Grub Customizer
sudo apt update && sudo apt install grub-customizer