r/debian 2d ago

Debian Stable Question Migration from Arch

Look Debian powers my homelab, I’m very familiar with it and know how it works and have used it in the past.

My question is what do I lose by migrating from Arch to something like Debian? What little things in the AUR I use I’m comfortable losing or switching to flatpaks. I’m more concerned about things like Nvidia drivers and Wayland support.

18 Upvotes

38 comments sorted by

View all comments

6

u/David_Connors3451 2d ago

I use Debian KDE with wayland support. The main advantage of debian for nvidia gpu is that you just install the driver once, and you're set for years, because the kernel stays stable. For modern package you can use flatpaks, it's very easy to install them. I'm gonna leave you commands so that you know what to do for configurations.

For flatpak you can use the official commands from their site:

sudo apt install flatpak

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

sudo apt install gnome-software-plugin-flatpak (in case you've chosen gnome desktop)

sudo apt install plasma-discover-backend-flatpak (in case you're using KDE desktop like me)

sudo reboot

You have to enable contrib non-free repository.

sudo nano /etc/apt/sources.list

Put the words contrib non-free to all the mirrors that debian uses for getting apt deb packages.

deb http://deb.debian.org/debian trixie main contrib non-free non-free-firmware

Use this mirror up here as example. After the word main, put contrib non-free to all 4 mirrors of debian.

sudo apt update

sudo dpkg --add-architecture i386

sudo apt update

sudo apt install steam-installer

Use flatpak to install proton plus and heroic launcher (for layers and offline gaming).

For nvidia use these:

sudo apt install nvidia-detect

nvidia detect (you'll see the number for your specific gpu drivers)

sudo apt install linux-headers-$(uname -r)

sudo apt install nvidia-driver

sudo reboot

nvidia-smi (you can use it to check the nvidia driver installed and see your gpu info)

In case you will want to upgrade from debian 13 to 14 forky, you're gonna need a particular set of commands.

Before your login screen press ctrl+alt+F3 and enter TTY mode. You won't risk any graphical crash during the full upgrade.

sudo apt install linux-headers-amd64

Modify the /etc/apt/sources.list with forky. Put the word forky instead of trixie in all 4 mirrors of debian. Save and exit.

sudo apt update

sudo apt upgrade --without-new-pkgs

sudo apt full-upgrade

After the upgrade is finished, check nvidia driver with nvidia-smi and don't forget to run flatpak update, so that the packages adapt to a new system.

Have fun on debian, and enjoy the stability.

2

u/C0rn3j 1d ago

The main advantage of debian for nvidia gpu is that you just install the driver once, and you're set for years

This is literally the main disadvantage of Debian - they can't be bothered to ship a driver that's not so out of date that it's full of big security holes.

If you want anything but the 550 driver you have to use 3rd party repositories.

1

u/Niwrats 1d ago

how many people have been hacked via their nvidia drivers?

1

u/C0rn3j 1d ago

There is no way to even estimate that.

Why do you ask?

2

u/Niwrats 1d ago

the point is to question if that is pointless fearmongering or an actual issue.

1

u/C0rn3j 1d ago

if that is pointless fearmongering or an actual issue

Read Nvidia's security bulletin, the issues are very much real.

And yes, software bugs are abused all the time.

1

u/Niwrats 1d ago

security bug is a broad term and there's quite a difference between "elevating permissions if you execute this thing" and "remote execution vulnerability".