How to uninstall Popcorn-Time installed with a script?

I've installed Popcorn Time using the following command:

cd
wget https://raw.github.com/hotice/webupd8/master/popcorn-build
chmod +x popcorn-build
./popcorn-build

that I found here.

How can I uninstall it?


Solution 1:

Since this is my script (rewritten a bit by Webupd8's Andrew), this should work :

  • uninstalling Popcorn Time :

    sudo rm -r /opt/Popcorn-Time
    sudo rm /usr/share/pixmaps/popcorntime.png
    sudo rm /usr/share/applications/popcorn-time.desktop
    sudo rm /usr/bin/popcorn-time
    
  • remove the NodeJS

    sudo add-apt-repository -r ppa:chris-lea/node.js
    sudo apt-get remove nodejs
    sudo rm /usr/bin/node
    
  • remove Ruby :

    • if 12.04 : sudo apt-get remove rubygem

    • if 13.04 or higher : sudo apt-get remove ruby-compass

  • remove Git, NPM :

    sudo apt-get remove git npm
    
  • remove 'libudev' symlink :

    • if 32 bits : sudo rm /lib/i386-linux-gnu/libudev.so.0

    • if 64 bits : sudo rm /lib/x86_64-linux-gnu/libudev.so.0


Once it's done, you can clean up :

sudo apt-get autoremove -y
sudo apt-get autoclean
sudo apt-get update