Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

I'd like to take a look to the source code but I can't find the right folder.

No the folder in the home directory, the one where the source and configuration is stored, a cd banshee isn’t going to work, I obviously need the right path.

share|improve this question
add comment

marked as duplicate by belacqua, Kevin Bowen, Eric Carvalho, bcbc, Radu Rădeanu Jun 29 '13 at 6:29

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.

2 Answers

up vote 1 down vote accepted

First thing make sure you download the code. The source code does not get downloaded by default (to save space).

Run this in a terminal (we are first creating a folder to contain the source files):

mkdir ~/banshee-source-dir
cd ~/banshee-source-dir
apt-get source banshee

if everything went OK, there should be a folder ~/banshee-source-dir/banshee-<version> inside which the source code is located.

Notice that you can also browse the code on GitHub.

share|improve this answer
add comment

From Where can I find the source code of Ubuntu?:

Open terminal and type:

sudo apt-get build-dep $package

where the word 'package' indicates the source code of the program you desire to download.

then type:

sudo apt-get source $package

In your case, to download Banshee's source code, type:

sudo apt-get build-dep banshee
sudo apt-get source banshee
share|improve this answer
1  
apt-get build-dep is only needed if you want to build the package. Just a remark so the OP does not think this is required to just read the code. –  edwin Jun 28 '13 at 18:05
    
Thanks for pointing this out edwin! –  Nickolas Jun 28 '13 at 18:05
add comment

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