#!/usr/bin/env bash ##makedesc: Install basic software from apt set -eo pipefail if [ "$(uname -s)" = "Darwin" ]; then echo "ERROR: This script is for Debian/Ubuntu only. Use 'make brew' on macOS." >&2 exit 1 fi install() { echo echo "===============================================" echo "Installing basic software from apt" echo "===============================================" echo sudo apt update sudo apt upgrade -y --autoremove sudo apt install -y \ alien \ apt-transport-https \ build-essential \ ca-certificates \ cmake \ curl \ dconf-editor \ default-jdk \ dialog \ gettext \ gnupg \ gparted \ hardinfo \ htop \ libaio1 \ libcurl4-gnutls-dev \ libexpat1-dev \ libghc-zlib-dev \ libssl-dev \ lsb-release \ make \ mc \ meld \ nano \ neofetch \ net-tools \ nmap \ p7zip-full \ easyeffects \ software-properties-common \ ubuntu-restricted-extras \ unzip \ vlc \ ffmpeg \ inotify-tools \ notify-osd \ fonts-open-sans \ libnotify-bin \ tree \ earlyoom # terminator # xclip # sqlitebrowser # etckeeper echo echo "Finish!" echo } upgrade() { install } case "$1" in u|upgrade|update) upgrade ;; *) install ;; esac