Jump to content

Adding repositories on Debian


Recommended Posts

Not completely step-by-step, but this should be enough to get you started.

 

Firstly, the repo info is held in a few config files, namely /etc/apt/sources.list as a good starting point - take a look at the contents of that file for starters. It should be a plain-text file, so a graphical viewer/editor (or just the "more" command) ought to me enough to view it.

 

From what I understand, adding a new repo in is a matter of adding another line to this file (or a new file in the /etc/apt/sources.list.d/ directory) then running apt-get update to refresh the (locally-held) apt databases for it to be aware of the new software.

 

The process for adding a new repos for Debian *should* be the same for ubuntu - ubuntu is based upon Debian after all - but I'm guessing the HTTP/FTP locations will differ.

 

nb: ubuntu has an "aptitude" tool, as well as some graphical tools to manage apt repos. You may find the same tools under Debian graphical desktop, once installed.

 

Does that help?

  • Like 2
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...