#!/bin/bash set -e echo "Use at your own risk !!" # List of apps to remove declare -a APPS_TO_REMOVE=( "epiphany*" "maya-calendar*" "evolution-data-server" "audience*" "pantheon-mail*" "gnome-orca*" ) ## Loop through the above array for i in "${APPS_TO_REMOVE[@]}" do echo -e "\e[96m Uninstalling: $i \e[39m" sudo apt-get remove --purge -y $i done # Clean up sudo apt-get -y autoremove sudo apt-get -y clean