source code??

Status
Not open for further replies.

simple

In Runtime
Messages
171
Location
Earth
i use ubuntu linux. if i want to install any package i simply use the apt-get feature. how do i get the source code for any package i have installed in ubuntu? is it stored anywhere or do i have to refer to the internet again?
thanks in advance! c ya!
 
thanks for your responses but i still seem to have a problem...
Greg said:
sudo apt-get source package
i get an error saying 'No such file or directory'

farinha said:
if you want to compile the program to optimize for your processor use apt-build.
I dont understand fully what you are trying to say. could you please elaborate??
 
apt-build works the same as apt-get but compiles the package according your processor.
Here is tutorial how to install and use it.
 
i dont want to download additional packages...i want to see the source code of the packages i have already installed on my system...
is there a way to do this?
also
Greg said:
What? Are you sure you spelled everything right? It works fine for me.
yes i did it again and still the same result (No such file or directory)!!
please help...
thanks again for all your efforts!
 
Weird, you're using Ubuntu?

I don't get the "no such file or directory" error. If apt can't find the package it will give an error, but not that one. I can't seem to replicate this error. Does it work when you apt-get install stuff? This doesn't seem like an apt issue to me.
 
my apt-get install feature works perfectly.....
still not able to view the source code of already installed packages...
please someone help....
thanks
 
Status
Not open for further replies.
Back
Top Bottom