How to uninstall flux on linux?

Solution 1:

To uninstall f.lux, you need to do this:

sudo apt-get remove fluxgui

Solution 2:

To uninstall:

sudo rm -rf /usr/local/lib/python2.7/dist-packages/{fluxgui/,f.lux_indicator*}
sudo rm /usr/local/share/icons/hicolor/scalable/apps/fluxgui.* 
sudo rm /usr/local/share/applications/fluxgui.desktop
sudo rm /usr/local/bin/{xflux,fluxgui}
rm -rf ~/.gconf/apps/fluxgui/

sudo is used to become root, your password will be asked the first time.

Solution 3:

Type

sudo apt-get remove 

and partial app name and press Tab.  It will automatically fill the name of the application you want to remove.