remove a program linux code example Example 1: command to remove a program linux sudo apt-get remove [pkg] Example 2: sudo apt uninstall sudo apt-get remove pkg