To uninstall ratpoints just follow these instructions.
/debian/stretch/main///install/index.html find rational points on hyperelliptic curves Debian 9.0 libs 1:2.1.3-1+b2
sudo apt-get remove ratpoints
Which will remove just the ratpoints package itself.
sudo apt-get remove --auto-remove ratpoints
This will remove the ratpoints package and any other dependant packages which are no longer needed.
If you also want to delete your local/config files for ratpoints then this will work.
sudo apt-get purge ratpoints
Or similarly, like this ratpoints
sudo apt-get purge --auto-remove ratpoints
|Maintainer||Debian Science Team
|Description||find rational points on hyperelliptic curves|