In linux, how can I view all the new executables added to /usr/bin
after installing a package through sudo apt-get install <package>
?
In my case specifically, I'm trying to find out which is the main executable to use for the texlive package.
I've tried
dpkg -L texlive
but that only lists files under /usr/share
and not /usr/bin
This command shows all executable files installed by given package:
dpkg -L packagename | xargs file | grep executable
If you want to only see executables installed in /usr/bin
, use:
dpkg -L packagename | xargs file | grep ^/usr/bin | grep executable
If your package does not list anything under /usr/bin
, it is possible that it does not have any executables - this is typical for libraries and other helper packages.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With