Last active
March 5, 2019 01:10
-
-
Save mpfaff/3d0db473d30910ce4db8bf512f6fd103 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/usr/bin/env sh | |
echo "Updating local cache" | |
sudo apt update | |
echo "Done updating local cache" | |
echo "Updating all packages" | |
sudo apt-get -y dist-upgrade | |
echo "Done updating all packages" | |
echo "Removing all unused packages (mostly libraries) and data" | |
sudo apt-get -y autoremove | |
sudo apt-get -y autoclean | |
echo "Done removing all unused packages (mostly libraries) and data" |
This file contains hidden or 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
#!/usr/bin/env sh | |
sudo apt update | |
sudo apt-get -y install apt-transport-https | |
sudo sh -c 'curl https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -' | |
sudo sh -c 'curl https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list' | |
sudo apt update | |
sudo apt-get -y install dart | |
pub global activate webdev | |
pub global activate stagehand |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment