I have tried removing the files and uninstalling Firefox but when I do a version check for it in terminal, it still lists it.
2 Answers
This worked for me:
whereis geckodriverto find the location(s)sudo rm <location_from_previous_command>
Using apt from command line. Just use the command
sudo apt-get remove package_nameIf you want to also remove user data and configuration files
sudo apt-get purge package_nameUsing --auto-remove parameter will also remove package dependencies.
Using dpkg from command line
Just use the command
sudo dpkg -r package_nameTo remove a package and its configuration files
sudo dpkg -P package_nameFiles in your home folder are not part of the package so they will stay on your system until you remove them by yourself.
2