Possible Duplicate:
How do I get the source code of packages installed through apt-get?
I want to look over some programs to help me learn programming, so I enabled the source repository in Ubuntu. How do I download things from that repository?
Possible Duplicate:
How do I get the source code of packages installed through apt-get?
I want to look over some programs to help me learn programming, so I enabled the source repository in Ubuntu. How do I download things from that repository?
First - create a working folder to download the source in
The simplest way is to use the syntax
apt-get source [foo]
where[foo]
is the package name.For example - if you wanted to see the source of
nautilus
you would usebasic development tools
Obviously - if you are intent on playing with code changes you need a few extras.
building packages
To get install the development packages and dependencies use the syntax
Finally - to build the debian package