I came across the following Ubuntu script to identify which repository files provide libraries required by an app. Is there a rpm alternative to dpk-query that would allow this to run on CentOS/RH?
ldd /bin/zoom | awk '/=>/{print $(NF-1)}' | while read n; do dpk-query -S $n; done | sed 's/^([^:]+):.*$/\1/' | uniq
On Sat, 19 Dec 2020 at 19:37, H agents@meddatainc.com wrote:
I came across the following Ubuntu script to identify which repository files provide libraries required by an app. Is there a rpm alternative to dpk-query that would allow this to run on CentOS/RH?
ldd /bin/zoom | awk '/=>/{print $(NF-1)}' | while read n; do dpk-query -S $n; done | sed 's/^([^:]+):.*$/\1/' | uniq
repoquery would what would be used instead. Its syntax is slightly different ldd /bin/ls | awk '/=>/{print $(NF-1)}' | while read n; do dnf repoquery --whatprovides $n; done | uniq
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
On 12/19/2020 07:44 PM, Stephen John Smoogen wrote:
On Sat, 19 Dec 2020 at 19:37, H agents@meddatainc.com wrote:
I came across the following Ubuntu script to identify which repository files provide libraries required by an app. Is there a rpm alternative to dpk-query that would allow this to run on CentOS/RH?
ldd /bin/zoom | awk '/=>/{print $(NF-1)}' | while read n; do dpk-query -S $n; done | sed 's/^([^:]+):.*$/\1/' | uniq
repoquery would what would be used instead. Its syntax is slightly different ldd /bin/ls | awk '/=>/{print $(NF-1)}' | while read n; do dnf repoquery --whatprovides $n; done | uniq
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Great, thank you!
On December 19, 2020 9:14:33 PM EST, H agents@meddatainc.com wrote:
On 12/19/2020 07:44 PM, Stephen John Smoogen wrote:
On Sat, 19 Dec 2020 at 19:37, H agents@meddatainc.com wrote:
I came across the following Ubuntu script to identify which
repository
files provide libraries required by an app. Is there a rpm
alternative to
dpk-query that would allow this to run on CentOS/RH?
ldd /bin/zoom | awk '/=>/{print $(NF-1)}' | while read n; do
dpk-query -S
$n; done | sed 's/^([^:]+):.*$/\1/' | uniq
repoquery would what would be used instead. Its syntax is slightly different ldd /bin/ls | awk '/=>/{print $(NF-1)}' | while read n; do dnf
repoquery
--whatprovides $n; done | uniq
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Great, thank you!
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
I did download dnf for the script. Am I correct in assuming this functionality is not available with yum or rpm?
On Sun, Dec 20, 2020 at 07:00:04PM -0500, H wrote:
I did download dnf for the script. Am I correct in assuming this functionality is not available with yum or rpm?
yum-utils includes a separate `repoquery` command which is similar.