Created
March 12, 2017 18:36
-
-
Save tayyebi/0634420fe7db08a0c52c6973e44e2593 to your computer and use it in GitHub Desktop.
list package files and requirements to text file apt-get
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
dpkg -i *.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo -i | |
apt-get --print-uris --yes install <package> | grep ^\' | cut -d\' -f2 > <output> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget -i <output> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment