Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2796

How do I install Firefox in WSL, when it requires snap, but snap doesn't work?

$
0
0

so I wanted to install firefox in WSL2 with Ubuntu.Now, using

sudo apt install firefox

gives me this output:

Building dependency tree... DoneReading state information... DoneThe following NEW packages will be installed:  firefox0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.Need to get 72.3 kB of archives.After this operation, 261 kB of additional disk space will be used.Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 firefox amd64 1:1snap1-0ubuntu2 [72.3 kB]Fetched 72.3 kB in 0s (420 kB/s)Preconfiguring packages ...Selecting previously unselected package firefox.(Reading database ... 24109 files and directories currently installed.)Preparing to unpack .../firefox_1%3a1snap1-0ubuntu2_amd64.deb ...=> Installing the firefox snap==> Checking connectivity with the snap store===> System doesn't have a working snapd, skippingUnpacking firefox (1:1snap1-0ubuntu2) ...Setting up firefox (1:1snap1-0ubuntu2) ...update-alternatives: using /usr/bin/firefox to provide /usr/bin/gnome-www-browser (gnome-www-browser) in auto modeupdate-alternatives: using /usr/bin/firefox to provide /usr/bin/x-www-browser (x-www-browser) in auto mode

Trying to launch firefox at this point will fail:

Command '/usr/bin/firefox' requires the firefox snap to be installed.Please install it with:snap install firefox

Once I run said snap command, I get this:

error: cannot communicate with server: Post "http://localhost/v2/snaps/firefox": dial unix /run/snapd.socket: connect: no such file or directory

Can anyone help me with this? I'm not a linux expert.


Viewing all articles
Browse latest Browse all 2796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>