add-apt-repository Works on Debian

This topic was published by and viewed 2407 times since "". The last page revision was "".

Viewing 1 post (of 1 total)
  • Author
    Posts

  • DevynCJohnson
    Keymaster
    • Topics - 437
    • @devyncjohnson

    Debian users can add add-apt-repository functionality to Debian. First, execute "sudo apt-get install software-properties-common python-software-properties". Now, "add-apt-repository" is installed. However, after running the "add-apt-repository" command to add a PPA, open the added file under /etc/apt/sources.list.d/. Afterwards, replace the Debian codename with a Ubuntu codename (preferably a long-term support (LTS) edition of Ubuntu). Alternately, run "sudo sed -i 's/jessie/trusty/g' /etc/apt/sources.list.d/NEW-PPA-FILENAME.list" in a command-line. Remember to replace the necessary codenames in the command before running it.

    Keep in mind that many Linux users strongly suggest that people not do this on a Debian system due to package compatibility and dependency issues. Also, user thinking about adding PPAs to Debian should take this article (https://wiki.debian.org/DontBreakDebian) into consideration. Mixing multiple Debian releases and Debian-based distros with Debian creates a system known as a FrankenDebian which may be unstable.

Viewing 1 post (of 1 total)