Skip to content

Instantly share code, notes, and snippets.

@tayyebi
Created March 12, 2017 18:36
Show Gist options
  • Save tayyebi/0634420fe7db08a0c52c6973e44e2593 to your computer and use it in GitHub Desktop.
Save tayyebi/0634420fe7db08a0c52c6973e44e2593 to your computer and use it in GitHub Desktop.
list package files and requirements to text file apt-get
#!/bin/bash
dpkg -i *.deb
#!/bin/bash
sudo -i
apt-get --print-uris --yes install <package> | grep ^\' | cut -d\' -f2 > <output>
#!/bin/bash
wget -i <output>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment