Skip to content

Instantly share code, notes, and snippets.

@pcolazurdo
Created May 14, 2021 11:22
Show Gist options
  • Save pcolazurdo/92ce2514cf53b6a926cfb5a14e1c1ae9 to your computer and use it in GitHub Desktop.
Save pcolazurdo/92ce2514cf53b6a926cfb5a14e1c1ae9 to your computer and use it in GitHub Desktop.
How to get list of libraries to fulfil dependency requirements
ldd /var/task/node_modules/puppeteer/.local-chromium/linux-869685/chrome-linux/chrome | grep not | \
cut -d= -f1 | while read a
do
yum provides $a | head -2 | tail -1 | cut -d\ -f1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment