How to Add Debian Sid Repository on Debian Based Systems

September 8, 2019 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Enabling Debian Sid Repository Guide

You are Welcome! The Tutorial shows you Step-by-Step How to Add Debian Sid/Unstable Main, Contrib and Non Free Repositories in Debian GNU/Linux Based OSes.

And Debian Sid Repository contains some Recent Extras Stuff that you may want Installed on your System.

Especially relevant: using the Apt Default Release Setup after this the System Stability is Granted!

So this Repo Setup is Valid for All the Debian Based Platforms like:

  • Kali Linux
  • Deepin Linux
  • MX Linux
  • antiX Linux
  • Parrot Linux
  • SparkyLinux
  • Voyager Debian
  • Netrunner
  • Elive Linux
  • LMDE Linux
  • CrunchBang Linux
  • MakuluLinux
  • Parsix Linux
How to Add Debian Sid Repository for Debian Based Systems - Featured
  1. 1. Launching Terminal

    How to Quick-Start with Command Line on GNU/Linux

    Command Line Quick-Start Guide
  2. 2. Adding Sid Apt Repo

    Then to Add Debian Sid Repository
    Simply Copy and Execute this Command:
    (And in case of “su: Authentication failure” try instead with “sudo su“)

    su -c "echo 'deb sid main' >> /etc/apt/sources.list.d/sid.list"

    Finally, to Enable also the Contrib and Non-free Repos Instead:”)

    su -c "echo 'deb sid main contrib non-free' >> /etc/apt/sources.list.d/sid.list"

    And in case of ‘authentication failure‘ use instead the ‘sudo su -c’ Command.

    Possibly Change the Debian Mirror in base of your Location

    Debian Ftp Mirror List

    Finally, Ctrl+x to Save & Exit from nano Editor :)

  3. 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!
    (But however you can Override it temporarily just commenting out the Statement and Updating the Apt Repos)
    Make or Edit the Apt Config File:

    sudo nano /etc/apt/apt.conf

    And Depending of your Release Append
    For Stable Based OSes, and so also for Deepin:

    APT::Default-Release "stable";

    Rather for Testing one:

    APT::Default-Release "testing";

    Finally, for a Rolling like Kali:

    APT::Default-Release "kali-rolling";

    Possibly if needed to Find out What’s your actual Repo Base
    First, try to look up with a canonical:

    sudo apt update
    Or again use the cat Command like:

    cat /etc/apt/sources.list

    Thanks to dracae

  4. 4. Enabling Repo

    Finally, to Re-Load Repositories

    sudo apt update
    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo.
  5. 5. Installing Single Package

    Finally, to Install One Package from Sid Repo

    sudo apt -t unstable install [MYCOOLPACKAGE]

    So for instance:

    sudo apt -t unstable install firefox

Tags: , , , , , , ,

QuickChic Theme • Powered by WordPress