DEV Community

Cover image for Getting newer packages, by using Testing repositories on Debian
Maciej Błędkowski
Maciej Błędkowski

Posted on

Getting newer packages, by using Testing repositories on Debian

Introduction

If you are in need of newer packages, you can get them by using Testing repositories, here I will show you how.

Modify /etc/apt/sources.list

# Testing
deb http://deb.debian.org/debian/ testing main contrib non-free-firmware non-free
deb-src http://deb.debian.org/debian/ testing main contrib non-free-firmware non-free

# Testing security updates
deb http://security.debian.org/debian-security testing-security main contrib non-free-firmware non-free
deb-src http://security.debian.org/debian-security testing-security main contrib non-free-firmware non-free

# Stable
deb https://deb.debian.org/debian stable main contrib non-free-firmware non-free
deb-src https://deb.debian.org/debian stable main contrib non-free-firmware non-free

# Stable security updates
deb http://security.debian.org/debian-security stable-security main contrib non-free-firmware non-free
deb-src http://security.debian.org/ stable-security main contrib non-free-firmware non-free
Enter fullscreen mode Exit fullscreen mode

And that is it. Now you can enjoy the latest and gratest packages from Debian Testing. If there is a package that you need, that has not been added to Testing, you also have the Stable repository, so you can get it without any problems. Using "testing" and "stable" instead of current distribution name, means that you do not need to worry about regularly changing your sources.list.

Top comments (0)