How to find source code for a particular package?
Avi Greenbury
lists at avi.co
Sat Dec 10 19:07:20 UTC 2011
Chris Green wrote:
> If I have a package installed (as in a name in the package column in
> synaptic) how do I find (and download) the corresponding source code?
Assuming you have the relevant deb-src repository enabled for the repo
the package itself came in (you do by default for the ubuntu repos),
you can do
apt-get source <packagename>
It will then extract the source into a directory in your current
working directory.
--
Avi
More information about the ubuntu-users
mailing list