themactep.com

A home of miscellaneous projects by Paul Philippov.

Notes

Installing new Debian 12.8

Add your user to sudoers

su
/sbin/usermod -a -G sudo $USER
logout

Install missing software

sudo sed -i "s/main/main contrib non-free non-free-firmware/" /etc/apt/sources.list
sudo apt update
sudo apt full-upgrade
sudo apt install ack arp-scan bash-completion binwalk chromium dnsutils git-all feh figlet ffmpeg \
  genisoimage gimp htop httpie inkscape libsox-fmt-all linkchecker mc mediainfo meld mpv mtr \
  neovim net-tools nfs-server nmap openscad rename ruby scite ssh sox strace toilet-fonts u-boot-tools \
  virtual-mysql-server wget whois xclip xorriso xxd
sudo apt remove vim-tiny
wget -O discord.deb "https://discord.com/api/download?platform=linux&format=deb"
sudo dpkg -i discord.deb
rm discord.deb

wget -O telegram.tgz https://telegram.org/dl/desktop/linux
tar xvf telegram.tgz
rm telegram.tgz

Install Docker

sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
  sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update

## docker engine
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo usermod -a -G docker $USER

## alternatively docker desktop
sudo apt install gnome-terminal
wget https://desktop.docker.com/linux/main/amd64/docker-desktop-amd64.deb
sudo dpkg -i ./docker-desktop-amd64.deb
rm ./docker-desktop-amd64.deb

Install Spotify

curl -sS https://download.spotify.com/debian/pubkey_6224F9941A8AA6D1.gpg | sudo gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg
echo "deb http://repository.spotify.com stable non-free" | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt update
sudo apt install spotify-client

Install JetBrains tools

echo "fs.inotify.max_user_watches = 1048576" | sudo tee -a /etc/sysctl.d/idea.conf
sudo sysctl -p --system