How Do I Completely Remove Unity Next?

I followed the instructions to install Unity Next. They worked, and I was able to run Unity Next.

Here are the instructions I used (quoting from the above link, with parts removed):

$ mkdir ~/unity

Fetch Unity Next source

$ sudo apt-get install bzr
$ bzr branch lp:unity/phablet ~/unity/unity-next
$ cd ~/unity/unity-next

Download & dependencies

$ ./build -s

this will:

  • Add ppa:phablet-team/desktop-deps, ppa:canonical-qt5-edgers/qt5-proper, ppa:ubuntu-sdk-team
  • Build and install lp:libunity/phablet, lp:unity/phablet-mods, lp:hud/phablet and lp:unity-lens-people locally
  • Install build dependencies

Build UnityNext

$ ./build

Run UnityNext

$ cd ~/unity/unity-next
$ ./run

However, later when I tried to build a KDE application, I ran into a bunch of errors. The only thing that I think this could be is because of the Unity Next installation, so I would like to remove it. However, I can't find any instructions on how to remove it, either on the aforementioned page or using Google.

It appears that it installed some dependencies and a PPA, but I don't know how to easily remove them all and undo all the changes the installation did.

How do I completely remove Unity Next, including all its dependencies and extra PPAs?

6

1 Answer

Use a combination of ppa-purge and reinstallation. Disclaimer: I have not tested this in any way possibly imaginable.

Step 1: Preparation

First install the ppa-purge tool: sudo apt-get install ppa-purge or click here: ppa-purge

Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.