How to Add Debian Experimental Repository on Debian Based Systems

December 11, 2019 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Setting Up Repo

  1. 2. Adding Debian Experimental Repo

    Then to Add Debian Experimental 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 experimental main' > /etc/apt/sources.list.d/experimental.list"

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

    su -c "echo 'deb http://ftp.fr.debian.org/debian experimental main contrib non-free' > /etc/apt/sources.list.d/experimental.list"

    Possibly Change the Debian Mirror in base of your Location

    Debian Ftp Mirror List

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

  2. 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 Stable Based OSes, and so also for Deepin:

    APT::Default-Release "stable";

    Rather for Testing one:

    APT::Default-Release "testing";

    Again for Sid/Unstable platforms:

    APT::Default-Release "unstable";

    Finally, for a Rolling like Kali:

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

    Possibly if needed to Find out What’s your actual Repo Base
    First, see into the updates Sources with a canonical:

    sudo apt update

    Or again try to use the cat Command to get the Repo contents:

    cat /etc/apt/sources.list

    Thanks to dracae

  3. 4. Enabling Repo

    Finally, to Re-Load Repositories
    Do:

    sudo apt update
  4. 5. Installing Single Package

    Finally, to Install One Package from Experimental Repo
    Execute:

    sudo apt -t experimental install [MYCOOLPACKAGE]

    So for instance:

    sudo apt -t experimental install firefox

Contents


Tags: , , , , , , ,

QuickChic Theme • Powered by WordPress