If I'm unhappy about something a binary does, let's say /sbin/ip, how do I find the source code and where to send a patch to?
Asked
Active
Viewed 823 times
0
Jan Schejbal
- 181
- 1
- 5
1 Answers
2
dpkg -S /sbin/ipto map from the binary to the package containing it (here, the package is "iproute2")Enable source code repos in sources.list (easiest done via the "Software & Updates" config dialog)
sudo apt updateto actually fetch the list of available sourcesapt source iproute2to dump the source in the current directory.
New-style source packages will have a .dsc file which contains helpful information like the maintainer and git (or other VCS) repo location.
Jan Schejbal
- 181
- 1
- 5