Results 1 to 4 of 4

Thread: How to Add A Repository in sources.list.d

  1. #1

    How to Add A Repository in sources.list.d

    I have installed Debian 6.02 and need want to add opennms. The directions say to add it to the /etc/apt/sources.list.d repository, which I can get to, but I cannot figure out how to write to it. So how can i write to it? Thank you in advance.
    Learning is not attained by chance, it must be sought for with ardor and attended to with diligence. Abigail Adams ( 1744 - 1818 ), 1780;

    My blog Poetry and More Free Ubuntu Magazine

  2. #2
    Join Date
    Nov 2009
    Beans
    3,336

    Re: How to Add A Repository in sources.list.d

    You would normally add it too the sources.list

    gksu gedit /etc/apt/sources.list

    the souces.list.d is usually a directory .....

    Although there is this thread on it and if the list goes in that directory it has to end in .list
    Last edited by 23dornot23d; July 23rd, 2011 at 10:58 PM.

  3. #3
    Join Date
    Dec 2005
    Beans
    697

    Re: How to Add A Repository in sources.list.d

    To add what 23d said, open you Run dialog (Alt+F2) and enter...
    Code:
    gksu nautilus
    ... navigate to /etc/apt/sources.list.d, create a file named opennms.list, copy/paste the deb sources into it, save the file and close Nautilus and your text editor. Add the signing key by running in a terminal...
    Code:
    wget -O - http://debian.opennms.org/OPENNMS-GPG-KEY | sudo apt-key add -
    ... then update your sources and install opennms, again in a terminal...
    Code:
    sudo apt-get update && sudo apt-get install opennms

  4. #4

    Re: How to Add A Repository in sources.list.d

    Thank you both of you. I got it installed, although I have to run as root for it to run.
    Learning is not attained by chance, it must be sought for with ardor and attended to with diligence. Abigail Adams ( 1744 - 1818 ), 1780;

    My blog Poetry and More Free Ubuntu Magazine

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •