How to Switch From Debian Stable to Debian Testing

While Debian is stable by default, it gets this stability by relying on older versions of software packages. There are times when you might want newer software. Fortunately, it’s easy to switch from Debian Stable to Testing to get the latest versions of software on your system.

What Is Debian Testing?

Debian Testing is just a version of Debian that’s on a different track than the stable version. It’s less stable than “Unstable.” This means that you shouldn’t run into as many problems as you might with Unstable.

According toDebian’s FAQ, Testing is frozen for the next stable Debian release. Ubuntu uses Debian Testing as a basis for the LTS (Long-Term Support) versions of their distro.

4

Software updates come more frequently on Debian Testing than on Stable. In contrast to how Windows updates tend to come once a month, Debian Testing updates are available to download when they’re ready. If you run “apt update” once a day on Testing, you could often find new packages available.

Why Use Debian Testing?

There are various reasons why you might want Debian Testing. The main advantage is newer software. If you’re running it on a desktop, and especially if you’re a developer, you’ll have newer versions of apps and languages.

How to Switch to Debian Testing

To use Debian Testing, you don’t need to go through an entire OS installation process. You can easily convert your existing Debian Stable installation to Testing in a few simple steps.

Step 1: Edit the sources.list File

To switch to Debian Testing, all you have to do is edit the/etc/apt/sources.listfile as root. Change the references to the stable version (“Bullseye” as of July 2022) to “testing”. you may search and replace the words witheither sed or AWKto do this quickly.

Keep a backup copy of the original file in case you make a mistake.

MacBook and a Dell laptop running ZorinOS next to each other

Step 2: Upgrading Your Packages

Now that you’ve switched your APT repository, the next step is to upgrade your packages. It’s the same asupgrading your Debian packages normallyusing the apt command:

Since you’re effectively replacing your OS, it may take a while to download and install the new packages. When it’s finished, you can reboot into your new Debian Testing system. To check that you’ve upgraded to Debian Testing, examine the contents of the/etc/debian_versionfile.

firefox logo with yellow warning symbol

Upgrading to Debian Testing Is Quick and Easy

Now that you’ve seen how easy it is to change from Debian Stable to Testing, why not take advantage of it and have newer software? Or perhaps you might want to consider a rolling-release distro?

Ready for an operating system that boasts the latest features? It’s time to try one of these bleeding edge Linux distros.

Dell monitor showing Windows 10 desktop

It’s not super flashy, but it can help to keep your computer up and running.

Now, I actually finish the books I start.

Test tubes in laboratory

Sometimes the smallest cleaning habit makes the biggest mess.

Obsidian finally feels complete.

Your phone’s camera app doesn’t show this, so it’s easy to miss.

Technology Explained

PC & Mobile