how install ppa-purge ubuntu

ubuntu

ppa-purge

disables a PPA and reverts to official packages
https://launchpad.net/ppa-purge
Install sudo apt install ppa-purge
Description:

This program disables a PPA from your Software Sources and reverts your system back to the official Ubuntu packages. You can use this to return your system to normal after testing a new version from a PPA.