On Terminal, when I try to run Firefox, I get this message:
Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:
snap install firefox
But it is already installed:
[sudo] password for begueradj:
snap "firefox" is already installed, see 'snap help refresh'
More information:
begueradj@p50:~$ apt list --installed firefox -a
Listing... Done
firefox/mantic,now 1:1snap1-0ubuntu3 amd64 [installed]
firefox/mozilla 123.0.1~build1 amd64
firefox/mozilla 123.0~build3 amd64
firefox/mozilla 122.0.1~build1 amd64
firefox/mozilla 122.0~build2 amd64
Edit:
which firefox
/usr/local/bin/firefox
How to solve this ?
The previous commentators were right. As I needed to restore my Firefox snap session, I did this:
Output:
It says that Firefox was disabled. So I enabled it with:
After I typed my password, I was able to launch Firefox through Terminal:
firefox