sudo apt-get --purge remove [package]
sudo apt remove <package name>
sudo dpkg --purge rvm <package_name>
sudo dpkg --remove --force-remove-reinstreq package_name