Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 6461

cannot snap install firefox in ubuntu [closed]

$
0
0

I am trying to install Firefox and geckodriver in an Ubuntu docker container:

docker run ubuntu -it sh

then

apt-get -y updateapt-get -y install snapdapt-get install firefox

the command which firefox returns /usr/bin/firefox but firefox --version returns

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

then I run snap install firefox it returns:

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

What does it mean and what should I do?

Also for the next step, I want to install geckodriver. How should I do that?

The ultimate goal is to be able to run

firefox --versiongeckodriver --version

Viewing all articles
Browse latest Browse all 6461

Trending Articles



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