Zend certified PHP/Magento developer

Ubuntu won’t uninstall opera via commandline

I am trying to uninstall opera from my machine running Ubuntu via the command line as described here under the section “method 2”, however I am not having success. Here is a copy of my console:

mathew@mathew-ThinkPad-X220:~$ sudo apt remove opera
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'opera' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
mathew@mathew-ThinkPad-X220:~$ ls /usr/share/applications | grep opera
opera.desktop
mathew@mathew-ThinkPad-X220:~$ 

As you can see, apt thinks opera is not installed, however I can see it in the applications folder. Moreover, I can run opera perfectly fine currently. I’d like to know where I am going wrong in my attempt to uninstall. Thanks