On Debian 12, the official bundle repositories’ fundamental and non-free-firmware are enabled by default. Debian 12 has two extra official bundle repositories that are “contrib” and “non-free”. Debian 12 contrib and non-free bundle repositories include 1000’s of additional software program packages that you’ll undoubtedly want.
On this article, we’ll present you easy methods to allow the official Debian 12 contrib and non-free bundle repositories. We will even present you easy methods to disable the official Debian 12 contrib and non-free bundle repositories.
Subject of Contents:
Checklist the At the moment Enabled Debian 12 Repositories
To record the at the moment enabled Debian 12 repositories, run the next command:
$ sudo apt-add-repository –list
As you may see, the Debian 12 fundamental and non-free-firmware bundle repositories are enabled by default.
Allow the Contrib Repository on Debian 12
To allow the official Debian 12 contrib bundle repository on Debian 12, run the next command:
$ sudo apt-add-repository contrib
Press <Enter>.
The official Debian 12 contrib bundle repository needs to be enabled and the APT bundle database needs to be up to date.
As you may see, the official Debian 12 contrib bundle repository was added to Debian 12.
$ sudo apt-add-repository –list
Allow the Non-fFree Repository on Debian 12
To allow the official Debian 12 non-free bundle repository on Debian 12, run the next command:
$ sudo apt-add-repository non-free
Press <Enter>.
The official Debian 12 non-free bundle repository needs to be enabled and the APT bundle database needs to be up to date.
As you may see, the official Debian 12 non-free bundle repository was added to Debian 12.
$ sudo apt-add-repository –list
Disable the Contrib Repository on Debian 12
To disable/take away the official Debian 12 contrib bundle repository, run the next command:
$ sudo apt-add-repository –remove contrib
Press <Enter>.
The official Debian 12 contrib bundle repository needs to be disabled/eliminated and the APT bundle database needs to be up to date to replicate the adjustments.
As you may see, the official Debian 12 contrib bundle repository shouldn’t be on the enabled bundle repository record of Debian 12 anymore.
$ sudo apt-add-repository –list
Disable the Non-Free Repository on Debian 12
To disable/take away the official Debian 12 non-free bundle repository, run the next command:
$ sudo apt-add-repository –remove non-free
Press <Enter>.
The official Debian 12 non-free bundle repository needs to be disabled/eliminated and the APT bundle database needs to be up to date to replicate the adjustments.
As you may see, the official Debian 12 non-free bundle repository shouldn’t be on the enabled bundle repository record of Debian 12 anymore.
$ sudo apt-add-repository –list
Conclusion
On this article, we confirmed you easy methods to allow/add the official Debian 12 contrib and non-free bundle repositories. We additionally confirmed you easy methods to disable/take away the official Debian 12 contrib and non-free bundle repositories.