Would it be possible to make a script that could install a generic program using chroot and ldd?
EDIT: Also, what about things like apt-get?

Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit
$99.99
16GB KIT (2x8GB) DDR4 Gamer Desktop RAM PC4 MIXED BRANDS
$65.00
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$21.68
Samsung 8GB DDR4 SO-DIMM PC4-3200AA 260-Pin RAM M471A1G44BB0-CWE Module
$29.25
Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC
$29.99
50x RAM Box Tray DDR2 DDR3 DDR4 DDR5 ESD DIMM Memory Shipping Storage Transport
$9.99
5x Samsung DDR4 Laptop RAM SODIMM 36GB Lot 4x 8GB + 1x 4GB 2400 2666 3200
$115.00
DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix
$30.00
G.SKILL Trident Z RGB Series DDR4 RAM (XMP) 32GB (2x16GB) 4000MT/s CL18-22-22-42
$200.00
Team Group Team Elite DDR3-1600 DIMM 16GB (2x8GB) 240-Pin Desktop RAM
$35.00