Setting Up Repo
-
2. Adding Repo
Then to Add Debian Stable Repository
Simply Copy and Execute this Command:(And in case of “su: Authentication failure” try instead with “sudo su“)
su -c "echo 'deb http://ftp.fr.debian.org/debian stable main' > /etc/apt/sources.list.d/stable.list"
Finally, to Enable also the Contrib and Non-free Repos Instead:
(And in case of “su: Authentication failure” try instead with “sudo su“)su -c "echo 'deb http://ftp.fr.debian.org/debian stable main contrib non-free' > /etc/apt/sources.list.d/stable.list"
Possibly Change the Debian Mirror in base of your Location
Finally, Ctrl+x to Save & Exit from nano Editor :)
-
3. Setting Up Default
Then to Set the Default Release
And this is Indispensable to Preserve the Stability of the System in Case of Updates/Upgrades!
Make or Edit the Apt Config File:sudo nano /etc/apt/apt.conf
And Depending of your Release Append
For an OldStable Based OS:APT::Default-Release "oldstable";
Possibly if needed to Find out What’s your actual Repo Base
Use the cat Command like:cat /etc/apt/sources.list
Or again look into the sources Directory to find out eventual others Repos:
cat /etc/apt/sources.list.d/*.list
Thanks to dracae
-
4. Enabling Repo
Finally, to Re-Load Repositories
Do:sudo apt update
-
5. Installing Single Package
Finally, to Install One Package from Stable Repo
Execute:sudo apt -t stable install [MYCOOLPACKAGE]
So for instance:
sudo apt -t stable install firefox
Contents
Tags: Debian, Debian Stable, Debian Stable Debian, Debian Stable Debian Install, Debian Stable Debian Installation, Debian Stable Debian Setup, Debian Stable Install, Debian Stable Installation, Debian Stable Setup, debian tutorial, gnu/linux, gnu/linux tutorial, Install Debian Stable Debian, Linux, Linux Tutorial