Wrigs

Post Debian Install

Jun 10th, 2023
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!

Update system

sudo apt update && sudo apt upgrade -y

Install Nala apt frontend:

echo "deb [arch=amd64,arm64,armhf] http://deb.volian.org/volian/ scar main" | sudo tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list
wget -qO - https://deb.volian.org/volian/scar.key | sudo tee /etc/apt/trusted.gpg.d/volian-archive-scar-unstable.gpg > /dev/null

For Ubuntu 22.04 / Debian Sid:

sudo apt update && sudo apt install nala -y

 
For Debian 11 stable, Ubuntu 21.04 and older versions, you need to install the nala-legacy package

sudo apt update && sudo apt install nala-legacy -y

Installers (Flatpak, Gdebi & Snap)

Flatpak:

sudo apt install flatpak

Snap:
On Linux Mint 20, <u>/etc/apt/preferences.d/nosnap.pref</u> needs to be removed before Snap can be installed. This can be accomplished from the command line:

sudo rm /etc/apt/preferences.d/nosnap.pref

Update and install snap

sudo apt install snapd

Install gdebi:

sudo apt install gdebi

Appearance

Install Gnome Tweak Tool

sudo add-apt-repository universe
sudo apt install gnome-tweak-tool

Install "breeze-cursor-theme" Package on Ubuntu

sudo apt update -y
sudo apt install -y breeze-cursor-theme

Install Papirus Icon Theme

sudo add-apt-repository ppa:papirus/papirus
sudo apt update && sudo apt install papirus-icon-theme

Download and install Sardi Arc icon theme

cd ~/Downloads`
wget https://sourceforge.net/projects/sardi/files/sardi-icons-21.05-1.tar.gz
gzip -d sardi-icons-21.05-1.tar.gz
tar -xvf sardi-icons-21.05-1.tar
sudo mv Sardi* /usr/share/icons

Download and install Qogir themes

Install fonts

Install Fira Code and Noto Mono fonts

sudo apt install fonts-firacode fonts-noto-mono

Install Hasklig font

cd ~/Downloads
wget https://github.com/i-tu/Hasklig/releases/download/v1.2/Hasklig-1.2.zip
unzip Hasklig-1.2.zip -d Hasklig
sudo mkdir /usr/share/fonts/opentype/Hasklig
sudo mv ~/Downloads/Hasklig/OTF/*.* /usr/share/fonts/opentype/Hasklig
rm -rf ~/Downloads/Hasklig

Download and install JetBrains Mono font

wget https://download.jetbrains.com/fonts/JetBrainsMono-2.242.zip
unzip JetBrainsMono-2.242.zip -d JetBrains
sudo mkdir /usr/share/fonts/truetype/JetBrains_Mono
sudo mv ~/Downloads/JetBrains/fonts/ttf/*.* /usr/share/fonts/truetype/JetBrains_Mono
rm -rf ~/Downloads/JetBrains

Download and install SF Mono font

wget https://github.com/supercomputra/SF-Mono-Font/archive/refs/heads/master.zip
unzip master.zip
sudo mkdir /usr/share/fonts/opentype/SF-Mono
sudo mv ~/Downloads/SF-Mono-Font-master/*.otf /usr/share/fonts/opentype/SF-Mono
rm -rf ~/Downloads/SF-Mono-Font-master

Software

Install gmrun and rofi

sudo apt-get install gmrun rofi

Install Albert application launcher

cd ~/Downloads
wget https://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_20.04/amd64/albert_0.17.2-0_amd64.deb
sudo gdebi albert_0.17.2-0_amd64.deb

Install Ulauncher

wget https://github.com/Ulauncher/Ulauncher/releases/download/5.14.4/ulauncher_5.14.4_all.deb
sudo gdebi ulauncher_5.14.4_all.deb

Install Sublime Text

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text
sudo apt install -y clang golang cmake git meld sublime-text

Install Visual Studio Code

sudo snap install --classic code

or download .deb package from VSCode website

Install Arduino IDE

sudo snap install arduino

or download v1.8.5 from Arduino.cc

Extract archive file. Move extracted folder to opt folder. Install Arduino IDE.

sudo mv arduino-1.8.5 /opt
cd /opt/arduino-1.8.5
sudo ./install.sh

Arduino IDE USB Port Fix

Verify that "dialout" is correct group.

ls -l /dev/ttyACM*

You should see output similar to:

crw-rw---- 1 root dialout 166, 0 Jan 9 16:00 /dev/ttyACM0

Add your username to the dialout group. Replace <username> with your username.

sudo usermod -a -G dialout <username>

Install Putty and MoSerial

sudo apt-get install putty moserial

Install Typora minimal Markdown editor and viewer

sudo snap install typora

Install Obsidian (AppImage)

wget https://github.com/obsidianmd/obsidian-releases/releases/download/v0.12.3/Obsidian-0.12.3.AppImage
chmod +x Obsidian-*.AppImage

Install Obsidian (Flatpak)

flatpak install flathub md.obsidian.Obsidian

Install Obsidian (Snap)

wget https://github.com/obsidianmd/obsidian-releases/releases/download/v0.12.3/obsidian_0.12.3_amd64.snap

Install Balena Etcher USB & SD Card Burner

echo "deb https://deb.etcher.io stable etcher" | sudo tee /etc/apt/sources.list.d/balena-etcher.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 379CE192D401AB61
sudo apt update
sudo apt install balena-etcher-electron

Browsers

Chromium browser:

sudo apt-get install chromium-browser

Google Chrome:

wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i google-chrome-stable_current_amd64.deb

Iridium browser:

wget -qO - https://downloads.iridiumbrowser.de/ubuntu/iridium-release-sign-01.pub | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://downloads.iridiumbrowser.de/deb/ stable main"
sudo apt update
sudo apt-get install iridium-browser

LibreWolf browser:

wget https://gitlab.com/librewolf-community/browser/appimage/-/jobs/1246930548/artifacts/raw/LibreWolf-88.0.1-1.aarch64.AppImage`
chmod +x LibreWolf-*.AppImage`
mkdir /opt/LibreWolf`
sudo mv LibreWolf-*.AppImage /opt/LibreWolf

Launch: /opt/LibreWolf/LibreWolf-88.0.1-1.aarch64.AppImage

Install Waterfox Browser

cd ~/Downloads
wget https://github.com/WaterfoxCo/Waterfox/releases/download/G4.1.1.1/waterfox-G4.1.1.1.en-US.linux-x86_64.tar.bz2
tar -xvf waterfox-G4.1.1.1.en-US.linux-x86_64.tar.bz2
sudo mv waterfox /opt/
wget https://pastebin.com/raw/bYF8aqjr && sudo mv bYF8aqjr /usr/share/applications/Waterfox.desktop

Web Apps

Add a new menu item with the following command:

chromium --new-window --app=https://www.notion.so

Programming Languages

Rust Language:

sudo apt update
sudo apt upgrade
sudo apt install curl               # if you don't already have curl installed
curl https://sh.rustup.rs -sSf | sh # install the Rust language
source $HOME/.cargo/env             # configure current shell
rustc --version                     # check Rust versionag-0-1h2iurcrfag-1-1h2iurcrf

Add XFCE key bindings

Key binding Description Command
Super + f Launch application finder xfce4-appfinder --collapsed
Super + g Launch gmrun gmrun
Super + r Launch rofi rofi -show drun
Super + enter Launch XFCE terminal emulator xfce4-terminal
Add Comment
Please, Sign In to add comment