Last active
April 16, 2024 23:21
-
-
Save edumco/d3dcc5ef8339eb27c37ff715fe0c0b01 to your computer and use it in GitHub Desktop.
Ubuntu
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/sh | |
# Update list of apps | |
sudo apt update | |
# Upgrade your installed apps but Skip update on CI environments | |
if [ -z ${CI+x} ]; then sudo apt --assume-yes upgrade; else echo "Skipping upgrade"; fi | |
# Install some basic utilities | |
sudo apt install --assume-yes --no-install-recommends ubuntu-restricted-extras \ | |
net-tools \ | |
p7zip-full \ | |
p7zip-rar \ | |
git \ | |
curl | |
# Clean installation files | |
# Removes unused depencies | |
sudo apt autoremove --purge --assume-yes | |
# Removes old installation files | |
sudo apt autoclean | |
# Removes all used installion files | |
sudo apt clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment