In RPM based distros you can issue the command
rpm -qf /usr/bin/dig
and it will return the installation package name
I don’t know if this is the ‘proper’ way to do it but it works:
dpkg-query -S dig | grep /usr/bin/dig
dnsutils: /usr/bin/dig
In RPM based distros you can issue the command
rpm -qf /usr/bin/dig
and it will return the installation package name
I don’t know if this is the ‘proper’ way to do it but it works:
dpkg-query -S dig | grep /usr/bin/dig
dnsutils: /usr/bin/dig
What I want to do: Print an A6 PDF centred on an A4 page from the command line on Linux What I tried: Tried to use...
Ubuntu 20.04.2 LTS with a 460.80 Nvidia Driver Just did an upgrade from 5.8.0-59-generic to 5.8.0-63-generic kernel...
Saw a post that says you need to put a ! to run a shell command in the MySQL but found in my mysql client that it was...
Just found your page, and I am enjoying it so far.. Just wanted to note, using dpkg, you can specify the path to the file to find the package that provides it;
$ dpkg -S /usr/bin/dig
dnsutils: /usr/bin/dig
or
$ dpkg -S `which dig`
dnsutils: /usr/bin/dig
Same results, just a little less to type.