Instructions to set up a basic LAMP+SSH server environment
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
335 B

#!/bin/sh
# Package patterns to search
PKG_PATTERN="onboard|ristretto|catfish|notes|libreoffice|transmission|sudoku|mines|scan|mugshot|screenshooter|firefox"
# Removal of the found packages
sudo apt-get purge --remove $(dpkg --get-selections |grep -E $PKG_PATTERN | awk '{print $1}' | tr '\n' ' ')
# Cleanup
sudo apt-get autoremove