Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

marked as duplicate by Bruno Pereira Mar 6 '12 at 9:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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.

share|improve this answer

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>
share|improve this answer
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.