(Ubuntu 10.04) How to find source of an installed apt package?
How do I find which "software source" provided a package that I installed?
Some weeks ago, I installed linux-realtime. A collaborator is trying to mirror my setup and looked for that package, but it isn't in the default software sources. So, I need to tell him where I got it. Thanks, James |
It depends where you got the .deb. If it's part of the ubuntu repositories, you should go into the software sources tool, and make sure the "source" repos are enabled. Then it's just a matter of doing
Code:
apt-get source packagename |
use this to search the software source for a package.
otherwise you could give him your sourcelist Code:
# gedit /etc/apt/sources.list |
Quote:
This seems a rather basic function - "Oh, I have that installed? Where did I get it from? I forget." I find it surprising that the local apt utilities don't have a way to handle that. @Matthew: By source, I meant the package repository from which the package was downloaded, not source code. James |
Quote:
Code:
apt-cache show stellarium |grep ^Filename [pre]Filename: pool/universe/s/stellarium/stellarium_0.10.5-0ubuntu1_i386.deb[/pre] apt-cache showsrc packagename might also be interesting to you. |
All times are GMT -5. The time now is 07:46 AM. |