Before installing something, should run sudo apt-get update. Use sudo apt install xx to install the program.

Uninstall: sudo apt remove xx or sudo apt purge xx. Purge removes even the config file.