Re:Libtree: Turns ldd into a tree; explains why shared libra...
by nor-and-or-not on Saturday December 04, 2021 @07:20AM
(#29440393)
> C++ is probably painful even statically compiled, and Go/Rust would be better
What does that even mean?
But you may as well make it a little smarter. Over a decade ago, this utility could be done ad-hoc in 100 lines of Perl (including spacing and comments), and that includes "try to see if yum on RHEL6 knows where to find the missing dep, build a list, and prompt to install": https://gist.github.com/evol262/3d67c4295bbe78135a4927bd1d82...
It would be a fun project for you to try to do this with dpkg/pacman/dnf (which is basically the same as yum for syntax, just that you're not gonna be a sysadmin hacking out Perl to solve a problem)