Possible Duplicate:
How to change the Ubuntu source code

I am new to Ubuntu, and recently installed Ubuntu 11.10 64 bit version. I want to know the steps to download the source files for 11.10 to my Laptop.

Tried sudo apt-get but failed to download.


You can download source ISO's here. Also, you can use sudo apt-get source [package], but you must first uncomment/create lines in /etc/apt/sources.list that begin with deb-src to enable to source archives.


Using the terminal:

Update the Package Index: The APT package index is essentially a database of available packages from the repositories defined in the /etc/apt/sources.list file. To update the local package index with the latest changes made in repositories, type the following:

sudo apt-get update

Upgrade Packages: Over time, updated versions of packages currently installed on your computer may become available from the package repositories (for example security updates). To upgrade your system, first update your package index as outlined above, and then type:

sudo apt-get upgrade

To get a source:

apt-get source <package name>
  • Oh i thought source code :D – Tachyons Mar 6 '12 at 9:07

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