It is always recommended to have multiple browsers since certain web pages have restrictions based on the operating system or simply use browser options that have not been ported to our platform.
In the first case, changing the User-Agent of the browser is probably enough to bypass the restriction, but if we are in the second case, the process will be more complicated. We could use software like Wine to run the Windows version, but this time we are going to create a Linux chroot in FreeBSD where Linux browsers will be installed. The chroot applications will be executed through the Linux binary compatibility layer or linuxlator.
In my case, I will use it to play DRM-protected content, since FreeBSD browsers lack this functionality (Widevine), so we will use the Linux version.
On another occasion , we already looked for a solution to this problem, but we depended entirely on a mobile phone.
We clone the installation script repository:
cd linux-browser-installer
We launch the installer:
NOTE: The script allows you to install three different web browsers: Chrome, Brave, and Vivaldi.
Now we can start the Linux version of the browser:
To update the chroot software, simply run:
If you want to delete the chroot, you should run:
As a curiosity, we can access the chroot manually and check information:
Linux Garrus.alfaexploit.com 3.17.0 FreeBSD 13.0-RELEASE-p11 #0: Tue Apr 5 18:54:35 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
We can even install all kinds of additional software:
And use it from our FreeBSD system:
GNU nano, version 4.8
(C) 1999-2011, 2013-2020 Free Software Foundation, Inc.
(C) 2014-2020 the contributors to nano
Email: nano@nano-editor.org Web: https://nano-editor.org/
Compiled options: --disable-libmagic --enable-utf8