Pin Me

How to Add Sources to the SOURCES.LIST File in Adept

written by: Berry van der Linden•edited by: Michele McDonough•updated: 9/30/2009

Ever wondered why some packages aren't updating automatically? This is because there is no link for this package in the sources.list file of Adept. This article shows you how to add these sources.

  • slide 1 of 31

    Why Add Anything to that File?

    If you go around the Internet and find a package that you would like to use, usually you have to install from a .deb file using a .deb package installer. These packages, however, do not get updated via the Adept-updater like the packages you install in Adept or Synaptic.

    The .deb packages are considered “manually installed" and as Adept doesn't have sources in the sources.list file for them, they will not be automatically updated. In other words Adept does not know where to look for updates.

    Usually packages that offer the ability to add a source to Adept will have this listed on their website. A source line for sources.list looks like this:

    deb intrepid main restricted

    The sources.list file can be edited in three ways: via terminal using one of the text editors, Adept, and Synaptic.

  • slide 2 of 31

    Adding sources to apt

  • slide 3 of 31


    Type in terminal:

    nano /etc/apt/sources.list

    Scroll to the bottom and add the line. You can put in a comment before the line to make a note for yourself that you added that line. The result should look like this:

    # madberry's lines

    deb intrepid main restricted

    To close the file, hit Ctrl+X, type yes, and then hit enter. The source is now added. Type the following commands in terminal to update the sources.

    sudo apt-get update

    sudo apt-get install PackageName

  • slide 4 of 31

    In Adept

    Open Adept: kmenu>system>Adept Package Manager. Note this is Adept for KDE 4.

  • slide 5 of 31

    The default window.

  • slide 6 of 31


  • slide 7 of 31

    Click Sources in the left menu (the big icons), and this window will come up. Click “Edit Software Sources".

  • slide 8 of 31


  • slide 9 of 31

    Now click on “Third-Party Software".

  • slide 10 of 31


  • slide 11 of 31

    Click on Add.

  • slide 12 of 31


  • slide 13 of 31

    Enter the repository line just like you copied it. Now click OK.

  • slide 14 of 31


  • slide 15 of 31

    Make sure the new source is checked. Click Close.

  • slide 16 of 31


  • slide 17 of 31

    Adept will now start fetching the package files from the sources.

    After this finishes, click Search and find the package you want to install.

  • slide 18 of 31

    In Synaptic

    Start Synaptic: kmenu>system>Synaptec Package Manager.08-synaptec 

  • slide 19 of 31

    This screen shot shows the default window.

  • slide 20 of 31


  • slide 21 of 31

    Click on Settings, and then click on Repositories.

  • slide 22 of 31


  • slide 23 of 31

    Click on the “Third-Party Software" tab.

  • slide 24 of 31


  • slide 25 of 31

    Click the Add button.

  • slide 26 of 31


  • slide 27 of 31

    Enter the APT line. Click “Add Source".

  • slide 28 of 31


  • slide 29 of 31

    Click “Revert" and “Close".

  • slide 30 of 31


  • slide 31 of 31

    Now hit “Reload".

    Package files are being loaded.

    After the reload is done, enter the package name in “Quick Search".