Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I know I can download binary packages from repositories beginning with "deb", but what does deb-src do?

E.g.:

deb-src http://archive.ubuntu.com/ubuntu natty universe

in /etc/apt/sources.list in Ubuntu 11.04

share|improve this question

1 Answer 1

up vote 5 down vote accepted

These are repositories for source packages. See the sources.list man page.

share|improve this answer
    
For the apt-get source [package-name] to work, a deb-src entry is needed. –  Lekensteyn Jun 17 '11 at 13:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.