Deborphan script Simple script in bash to remove orphaned packages (debian/ubuntu) using deborphan. cd to the directory that contains the script. Add executable permissions by chmod a+x deborphan-script.sh Type in CLI ./deborphan-script.sh