{"id":20324267,"url":"https://github.com/silentgameplays/simple-debian-setup","last_synced_at":"2025-04-11T19:41:42.746Z","repository":{"id":133226646,"uuid":"190955174","full_name":"silentgameplays/Simple-Debian-Setup","owner":"silentgameplays","description":"Complete tutorial on how to setup a pure Debian Distro to for Gaming and Multimedia","archived":false,"fork":false,"pushed_at":"2024-09-21T04:20:49.000Z","size":91005,"stargazers_count":32,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T15:35:41.314Z","etag":null,"topics":["configuration","debian","installation","linux"],"latest_commit_sha":null,"homepage":"https://www.youtube.com/c/silentgameplays","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/silentgameplays.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"patreon":"silentgamepls","custom":"https://www.paypal.me/gimblake"}},"created_at":"2019-06-09T02:23:22.000Z","updated_at":"2025-03-18T14:50:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"78a75f84-cf0c-497a-938b-77f457427ec3","html_url":"https://github.com/silentgameplays/Simple-Debian-Setup","commit_stats":null,"previous_names":["silentgameplays/simple-debian-setup"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silentgameplays%2FSimple-Debian-Setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silentgameplays%2FSimple-Debian-Setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silentgameplays%2FSimple-Debian-Setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/silentgameplays%2FSimple-Debian-Setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/silentgameplays","download_url":"https://codeload.github.com/silentgameplays/Simple-Debian-Setup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248468392,"owners_count":21108805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["configuration","debian","installation","linux"],"created_at":"2024-11-14T19:33:16.793Z","updated_at":"2025-04-11T19:41:42.720Z","avatar_url":"https://github.com/silentgameplays.png","language":null,"funding_links":["https://patreon.com/silentgamepls","https://www.paypal.me/gimblake"],"categories":[],"sub_categories":[],"readme":"# Making Debian suitable for gaming, streaming and video editing distro\n# Optional doing a fresh wipe before installing Debian,use Live Boot option:\n# Formatting the SSD/HDD properly before installing Debian or any other Linux distribution or operating system:\n* sudo cfdisk /dev/sda \n* sudo cfdisk /dev/nvme0n1\n* Delete everything you see then Write\u003e\u003eYes\n# Wipping the partition schemes \n* sudo wipefs -a /dev/sda\n* sudo wipefs /dev/nvme0n1\n# Deleting everything properly so no forencisc recovery is possible\n* sudo shred -f -v /dev/sda\n* sudo shred -f -v /nvme0n1\n# Also this works but it does not show the process:\n* sudo shred /dev/sda\n* sudo shred /dev/nvme0n1\n# 1) Use one of these images:\n # Free:\nhttps://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/\n# Non-free\nhttps://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/\n # 2) Use Rufus or whatever software you like to create a bootable USB: \n http://rufus.ie/ \n \n # 3) Boot from the image\n \n # 4) Select Graphical Installer\n \n # 5) Install Debian on the desired partition. Make sure to be connected to the internet via cable, as there can be some firmware issues with Wi-Fi drivers!\n\n# 6) Once the installation is complete login using Gnome interface.\n\n# Remember to go into Software and Updates GUI and check the following options : \n\n* Officially supported (main)\n* DFSG-compatible Software with Non-Free Dependencies (contrib)\n* Non DFSG-compatible Software (non-free)\n\n# Add security updates later in the updates section via GUI after finishing all these steps:\n\n# Go to Terminal and input: \n* sudo apt update\n* sudo apt upgrade\n\n# 7) Optional,if you typed your password during installation twice as Root and as User:\n\n# Open terminal in activities and add your user, for example test to sudoers file and use the following commands:\n\n* su \n* gedit /etc/sudoers\n# User privilege specification\ntest\n\n# Testing if everything works\n# Switch back to test using this command: \n\n* su  test\n\n# Run the following command: \n\n* sudo whoami\n\n# Answer should be: \n\n* root\n\n# NB! If you don’t have the sudo option install sudo under Su:\n\n* su\n\n* apt install sudo\n\n* su \n\n* gedit /etc/sudoers\n\n#User privilege specification\ntest\n\n# Switch back to test: \n\n* su  test\n\n# Run the following command: \n\n* sudo whoami\n\n# Answer should be:\n\n* root\n\n# 8) Installing Multiarch very important! (you’ll need it for NVIDIA drivers, Steam and other stuff)\n\n* sudo dpkg --add-architecture i386\n\n* sudo apt update\n\n* sudo apt upgrade \n\n* sudo apt install firmware-misc-nonfree\n\n# For Intel CPU's: \n* sudo apt install intel-microcode\n\n# for AMD CPU's:\n* sudo apt install amd-microcode\n\n* sudo update-initramfs -c -k all\n\n\n* sudo apt update \n\n* sudo apt upgrade\n\n# 9) Installing NVIDIA drivers update the sources list if necesary for non-free:\n# Updating the sources list with non-free:\n\n* sudo nano /etc/apt/sources.list\n\n* deb http://deb.debian.org/debian bookworm main non-free-firmware\n* deb-src http://deb.debian.org/debian bookworm main non-free-firmware\n\n* deb http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware\n* deb-src http://deb.debian.org/debian-security/ bookworm-security main non-free-firmware\n\n* deb http://deb.debian.org/debian bookworm-updates main non-free-firmware\n* deb-src http://deb.debian.org/debian bookworm-updates main non-free-firmware\n\n* deb http://deb.debian.org/debian bookworm contrib non-free\n* deb-src http://deb.debian.org/debian bookworm contrib non-free \n\n* sudo apt update \u0026\u0026 sudo apt upgrade\n\n# For testing:\n* deb      http://ftp.uk.debian.org/debian/ testing main non-free contrib\n* deb-src  http://ftp.uk.debian.org/debian/ testing main non-free contrib\n\n# security\n* deb      http://security.debian.org testing-security main non-free contrib\n* deb-src  http://security.debian.org testing-security main non-free contrib\n\n# updates\n* deb      http://ftp.uk.debian.org/debian/ testing-updates main non-free contrib\n* deb-src  http://ftp.uk.debian.org/debian/ testing-updates main non-free contrib\n\n\n# First do this just in case:\n\n* sudo apt install nvidia-detect\n\n* sudo nvidia-detect\n\n* sudo apt update\n\n# Then install linux headers and NVIDIA Drivers:\n# x64 bit\n* sudo apt install linux-headers-amd64\n# x32 bit\n* sudo apt install linux-headers-686\n# PAE x32bit\n* sudo apt install linux-headers-686-pae\n# install the NVIDIA drivers with stuff like vulkan,etc:\n* sudo apt install nvidia-driver nvidia-settings libvulkan-dev nvidia-vulkan-icd vulkan-tools  vulkan-validationlayers\n* sudo apt install fizmo-sdl2 libsdl2-2.0-0 libsdl2-dev libsdl2-gfx-1.0-0 libsdl2-gfx-dev libsdl2-image-2.0-0 libsdl2-mixer-2.0-0 libsdl2-net-2.0-0\n* sudo apt update\n* sudo apt upgrade\n# Wayland support:\n\n* sudo nano /etc/default/grub\n\n* Find  GRUB_CMDLINE_LINUX_DEFAULT=\"quiet splash resume\"\n\n* Change to GRUB_CMDLINE_LINUX_DEFAULT=\"quiet nvidia-drm.modeset=1 nvidia-drm.fbdev=1 splash resume\"\n\n* sudo update-grub\n\n* sudo sudo update-initramfs -u\n\n* Reboot\n\n* check if it worked  \n* sudo cat /sys/module/nvidia_drm/parameters/modeset\n\n# (Optional) Install newer NVIDIA Drivers via backports on stable:\n\nAdd distroname-backports to your /etc/apt/sources.list, for example:\n* sudo nano /etc/apt/sources.list\n\n# Add this line:\n* deb http://deb.debian.org/debian distro_name-backports main contrib non-free\n* deb-src http://deb.debian.org/debian distro_name-backports main contrib non-free\n\n* sudo apt update\n* sudo apt upgrade\n\n# install the package nvidia-driver.\n* sudo apt update\n\n* sudo apt install -t distro_name-backports nvidia-driver nvidia-settings libvulkan-dev nvidia-vulkan-icd vulkan-tools  vulkan-validationlayers vulkan-validationlayers-dev\n\n* sudo apt update\n\n* sudo apt upgrade\n\n# Wait for the installation to finish and reboot, type the following commands after reboot:\n\n* sudo apt update\n\n* sudo apt upgrade\n\n# NB! There might be a missing firmware errors in the terminal during installtion, usually its Realtek but just to be sure run the following command:\n\n* sudo dmesg \n\n# Once you are sure use these commands:\n\n* sudo apt-get install firmware-realtek\n\n* sudo apt-get update\n\n# Go to activities menu and type NVIDIA it should give you a GUI.\n\n# 10) Gaming section install Steam,Lutris,Wine with the following commands, if you did all the steps before correctly Steam should install without issues:\n\n* sudo apt install steam\n* sudo apt install wine wine64\n* sudo apt install lutris\n* sudo apt install scummvm\n* sudo apt install dosbox\n\n# (Optional) Additional dependencies for Wine/Gaming:\n* sudo apt install gvfs:i386 wine32-preloader:i386 wine64-preloader wine-binfmt gstreamer1.0-libav:i386 gstreamer1.0-plugins-bad:i386 gstreamer1.0-plugins-ugly winetricks gstreamer1.0-tools:i386 opus-tools:i386 gstreamer1.0-alsa gamemode gamescope timidity\n\n# (Optional) Opensource games:\n* sudo apt install supertux supertuxkart wesnoth 0ad kapman freedroidrpg\n\n# (Optional) Opensource games based on scummvm:\n* sudo apt install beneath-a-steel-sky drascula flight-of-the-amazon-queen lure-of-the-temptress\n\n# (Optional) Python and free IDE installation:\n* sudo apt install python3 python3-pip bpython thony\n\n# 12) Optional for streaming/recording install OBS Studio(for NVENC support some additional stuff is required)\n\n* sudo apt install ffmpeg\n\n* sudo apt install libnvidia-encode1 \n\n* sudo apt install libnvidia-fbc1\n\n* sudo apt install nvidia-cuda-toolkit\n\n# Optional dependencies for wine and codecs:\n\n* sudo apt install mingw-w64 flvmeta smpeg-plaympeg lame mjpegtools x265 x264 nvidia-vdpau-driver mpv mpg123 libxvidcore4 fluidsynth\n\n# (Optional) different file system support:\n\n# BTRFS\n* sudo apt install btrfs-progs duperemove\n\n# XFS\n* sudo apt install xfsprogs xfsdump attr quota\n\n# (Optional) Install flatpak support\n# Flatpak with GNOME Software store(for point and click installs)\n\n* sudo apt install flatpak\n* sudo apt install gnome-software-plugin-flatpak\n* flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo\n* sudo apt update\n* sudo apt upgrade\n\n# Flatpak with KDE Plasma Discover (for point and click installs later on)\n* sudo apt install flatpak\n* flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo\n* sudo apt install plasma-discover-backend-flatpak\n* sudo apt update\n* sudo apt upgrade\n# (Optional) virt manager and QEMU Installation for Virtualization\n\n* sudo apt install virt-manager qemu-system\n\n# NDI for OBS-Studio download .deb files here:\nhttps://github.com/Palakis/obs-ndi/releases/tag/4.7.1\n\n* sudo dpkg -i libndi3_4.0.0-1_amd64.1.deb\n* sudo dpkg -i obs-ndi_4.7.1-1_amd64.deb\n\n# Quick (non-flatpak/snapd) way to install stuff like gzdoom,zoom,teamviewer with dpkg(if you need it):\n* https://zdoom.org/downloads\n* https://zoom.us/download\n* https://www.teamviewer.com/en/download/linux/\n* sudo dpkg -i gzdoom_4.7.1_amd64.deb\n* sudo dpkg -i zoom_amd64.deb\n* sudo dpkg -i teamviewer_15.28.8_amd64.deb\n\n# 13) Optional, install Shotcut/KDENlive/Gimp/Krita for video/photo editing:\n\n* sudo apt install shotcut kdenlive gimp krita \n\n# 14) Upgrade OS version and install all updates\n \n * sudo apt-get update\n \n * sudo apt-get upgrade\n \n * sudo apt-get dist-upgrade\n\n# 15) Optional install discord app,go to: \nhttps://discordapp.com/  \n\n# select Download for Linux choose .deb:\n\n# Open Terminal in Downloads folder and use the following commands:\n\n* sudo apt install gdebi-core\n* sudo gdebi discord-0.0.10.deb\n\n# 16) Automount using gnomedisk utility:\n# Edit mount options\n# Add this line:\n\nnosuid,nodev,nofail,x-gvfs-show,auto\n\n# 17) #(Optional)Benchmarking games on linux got to https://www.phoronix-test-suite.com/?k=downloads and download latest for Debian:\n\n* sudo apt install gdebi-core\n* sudo gdebi phoronix-test-suite_*.deb\n\n# (100% Optional NB!Might cause issues) upgrading the kernel via backports\n* sudo nano /etc/apt/sources.list - \nAdd this line: \n* deb http://deb.debian.org/debian buster-backports main \n* sudo apt update \n* sudo apt -t buster-backports install linux-image-amd64 \n* sudo reboot\n\n# 18) Creating a bootable Windows 10 USB using Disks utility (Possible on any linux distro even without GNOME)\n* sudo apt install gnome-disk-utility\n* Download a Windows image from MS link below:\n* https://www.microsoft.com/en-us/software-download/windows10\n* Insert USB Drive\n* Launch Disks Utility\n* Select your USB Drive and in the top right=corner click the menu select Format Disk\n* In Partitioning select Compatible with modern systems and hard disks\u003e2TB (GPT)\n* Click Format wait for it to finish \n* Click Partition\u003eFor Use with Windows(NTFS) (in Volume label type Windows or ESD)\n* Mount the USB and Open it\n* Go to the place where you downloaded Windows 10 ISO and select Open with Disk Image Mounter\n* Open Copy everything from the Windows 10 ISO and paste into your USB Drive,wait for it to finish(takes a while)\n\n# (Optional) Install Glourious Eggroll Proton GE the easy way:\n * Download the latest release here: https://github.com/GloriousEggroll/proton-ge-custom/releases\n * Extract,enable hidden files and folders \n * Create a folder in your /home/user/steam/root/compatibilitytools.d if it does not exist.\n * Copy/paste the extracted GE folder into /home/user/config/.steam/root/compatibilitytools.d\n * Restart Steam,enjoy the custom GE build\n\n# (Optional) comand similar to mkinitcpio,useful sometimes:\n* sudo update-initramfs -u\n\n# (Optional) install better fonts and icon themes:\n * sudo apt install fonts-hack-ttf\n * sudo apt install papirus-icon-theme\n# (Optional) Adding a secondary SSD/HDD in fstab manually:\n\n# If it is an existing SSD/HDD that you already formatted with ext4 or btrfs and automounted in filemanager like Dolphin or Nemo,then you have to check in properties for example \"/media/user/Backup\" that is your mount point.\n\n* sudo lsblk -f\n\n* sudo nano /etc/fstab \n\n# Contents of FSTAB:\n\n# \u003c file system \u003e \u003c mount point \u003e   \u003c type \u003e  \u003c options \u003e                        \u003c dump \u003e  \u003c pass \u003e\n\n* / was on /dev/sda2 during installation\n* UUID=362fe9a2-29fc-43fe-824d-09d1d93b1549 /               ext4    errors=remount-ro 0       1\n* /boot/efi was on /dev/sda1 during installation\n* UUID=64EF-0C84  /boot/efi       vfat    umask=0077      0       1\n\n* swap was on /dev/sda3 during installation\n* UUID=b36261ad-191e-4cb5-ba0e-f2715e32f82c none            swap    sw              0       0\n* /dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0\n\n# Add your SSD/HDD with its mount point here:\n* /dev/sdb1       /media/user/Backup                        ext4    defaults,noatime 0      2\n\n# Save the changes and exit,reboot,you are good \n\n# NB! In case of \"A start job is running for update the operating system while offline\" on Debian-based systems during updates while dual-booting press E then F10 and wait for the update process to finish.\nOk, thank you, happy gaming and streaming on pure Debian.\nHopefully same settings will work on the future Debian distros!\nEnjoy!\n# YouTube:\n# silentgameplays\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilentgameplays%2Fsimple-debian-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsilentgameplays%2Fsimple-debian-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsilentgameplays%2Fsimple-debian-setup/lists"}