10

How can I install Google Chrome on OpenBSD?

12

Chrome has been in OpenBSD's ports tree since at least OpenBSD 4.8.

$ sudo pkg_add chromium

Should do the trick, assuming your PKG_PATH environment variable is properly set.

For more information on ports/packages, see here: OpenBSD Packages and Ports System

  • Any known issues with Chrome? do you happen to know if it works with AwesomeWM? – Justin Apr 7 '11 at 19:25
  • 1
    @Justin: No major issues while I've been using it. I don't know if it works with AwesomeWM... I use cwm, and it works fine there. – gabe. Apr 7 '11 at 22:20
  • @gabe.: Does plucking tabs out of a window and back again work four you in cwm? They don't want to snap back in for me. – Matej Apr 26 '16 at 14:26
  • @Matej -- nope, doesn't work for me either! – gabe. Oct 11 '16 at 19:34
0

I am just revising the answer for OpenBSD 6.3 which uses 'doas' instead of 'sudo':

  1. modify doas.conf

permit nopass as root

  1. Execute the pkg_add for to install chromium

doas pkg_add -v chromium

  • Your doas.conf has a syntax error (it lacks the identity to permit switching to root as). A sufficient doas.ronf may have the line permit persist setenv { -ENV PS1=$DOAS_PS1 SSH_AUTH_SOCK } :wheel (allows all wheel group users to switch to root). Not requiring passwords at all is a bit lazy, IMHO. – Kusalananda Sep 18 '18 at 6:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.