Let's say, I have a command for which I want to know the source code. For example: unity-webapps-runner. I know which unity-webapps-runner tells me where to find, but how to find out with apt-cache that which package installed the binary, so I can run apt-get source <pkg-name>?
Asked
Active
Viewed 102 times
0
Braiam
- 69,112
Tamás Barta
- 436
2 Answers
1
Try this command,
dpkg -S $(which unity-webapps-runner)
The output of the above command shows
unity-webapps-service: /usr/bin/unity-webapps-runner
So unity-webapps-runner was belongs to unity-webapps-service package.
Get the source of unity-webapps-service package by running the below command,
apt-get source unity-webapps-service
Avinash Raj
- 80,446