New Debian installation

Once in a while i switch from Windows to Linux (Debian mainly) and back again. Why? Mainly because I fucked my installation from Debian again and want the easy way out or the mess Windows has become has become anoying and i want to switch back to Linux.

But i alway forget a list of applications i default back to when i switch back to Debian, so here’s a list of stuff i install or configure (some applications i also use in windows) :

Adding my account to sudoer list

  • Start terminal
  • Do “su -“
  • “adduser username sudo” (replace username by my account)
  • “chmod 0440 /etc/sudoers”
  • “usermod -aG sudo username”
  • “nano /etc/sudoers”
    • Beneath “root ALL=(ALL:ALL) ALL” add:
    • “username ALL=(ALL:ALL) ALL”
  • Now start a new terminal and you should be able to do “sudo what ever”

Adding Visual Studio Code

  • Go to: https://code.visualstudio.com/docs/setup/linux
  • Select the option at number 3, copy the line at number 1 and start a terminal window
  • Paste the info you just copied and press enter. Because the line wants to add a GPG key signed by microsoft to your repository you have to enter your password to approve.
  • Now enter the following command: “sudo nano /etc/apt/sources.list.d/vscode.sources” and enter the info under 3.2 and save the file (ctrl_+x – Y – Enter)
  • And execute everything under step 3.3

After that Visual Studio Code is installed.

Installation NVIDIA drivers:

$ wget https://developer.download.nvidia.com/compute/cuda/repos/debian13/x86_64/cuda-keyring_1.1-1_all.deb
$ sudo dpkg -i cuda-keyring_1.1-1_all.deb
$ sudo apt-get update
$ sudo apt-get -y install cuda-drivers
From: https://www.reddit.com/r/debian/comments/1jyzgrx/the_correct_way_to_install_newer_nvidia_drivers/