What to do after installing Debian 11 Bullseye?

Like many Linux distributions, you will likely want to add a few tweaks to your new install. Enclosed within this article are a few places to start. 1st things 1st, make sure you’re lord boss and add your user to the sudo group! Make sure you change “username” to your actual user name ;D

become root with the following command.

sudo -s

Add your user account to the sudo group with this command.

usermod -aG  sudo username

Exit sudo

exit

Setup a backup/snapshot tool in order to ensure I can revert to a working system after I bork something from messing around too much. Take a snap shot now so you have an initial install point you can turn back to…

sudo apt install timeshift -y

Find and set your system to utilize the fastest Debian Linux mirror for updates and software installations based on your geographic location (the defaults aren’t generally the fastest) Install and run netselect with the command below.

sudo apt-get install netselect-apt -y && sudo netselect-apt

Install some repositories in order to gain access to non-free and community software applications.

sudo apt-add-repository non-free 
sudo apt-add-repository contrib && sudo apt-get update

Install the restricted-extras packages

sudo apt install ttf-mscorefonts-installer rar unrar libavcodec-extra gstreamer1.0-libav gstreamer1.0-plugins-ugly gstreamer1.0-vaapi

Install a solid text editor for your weird poems. Use these commands to download the latest version of Atom.

cd ~/Downloads && wget -O atom.deb https://atom.io/download/deb
sudo chmod +x atom.deb && sudo dpkg -i atom.deb

Taylor your desktop UI experience a little and install Gnome tweak tool.

sudo apt install gnome-tweak-tool -y && gnome-tweaks

The last command installed and automatically opened Gnome Tweaks, the motion gif above demonstrates enabling the Minimize and Maximize buttons for Gnome tittle bars and setting a feature to center all new windows.

Install build-essentials with the command below you will need them in the future for installing applications and drivers.

sudo apt install build-essential dkms linux-headers-$(uname -r)

If you have discrete Graphics you will need to get the correct NVIDIA or AMD Drivers installed. – if you’re operating with the basic Intel Graphics you can skip this. If you’re unsure you can use the detect software to find out whats under the hood.

NVIDIA

For NVIDIA hardware install and run the NVIDIA detect tool.

sudo apt install nvidia-detect -y && sudo nvidia-detect

If your system has NVIDIA hardware you will see some output with the recommended solution like what’s in the snippet below.

Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1)
Checking card: NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1)
Your card is supported by all driver versions.
Your card is also supported by the Tesla 450 drivers series.
Your card is also supported by the Tesla 440 drivers series.
Your card is also supported by the Tesla 418 drivers series.
It is recommended to install the
nvidia-driver
package.

If so… you can install the recomended solution with the command below.

sudo apt install nvidia-driver -y

AMD

AMD hardware generally works correctly with no effort, if not you can install the non-free packages for AMD Firmware and Mesa.

sudo apt install firmware-linux firmware-linux-nonfree libdrm-amdgpu1 xserver-xorg-video-amdgpu -y

If you’re gaming with AMD hardware, ad the Vulkan support with the following command.

sudo apt install mesa-vulkan-drivers libvulkan1 vulkan-tools vulkan-utils vulkan-validationlayers

You can ad OpenCL support on AMD hardware with this command.

sudo apt install mesa-opencl-icd -y

Finally Update your system software

sudo update && sudo upgrade -y

You should now have a solid baseline system.

Reboot when the updates are complete

sudo reboot

If all went well after the reboot, take a snapshot with Timeshift and move on to some less distribution focused configurations and application installs linked below. Linux is very powerful and fun, hope you enjoy ;D