st1905

Google Chrome (Linux) 86 (Latest Version) on FreeBSD 12.1 using Linuxulator (Centos 7) Netflix Works

Oct 21st, 2020
331
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. I assume you have a working setup with sound etc... for the linuxulator and mounted devfs on /compat/linux/dev along with a link from /tmp to /compat/linux/dev/shm
  2.  
  3. link /tmp /compat/linux/dev/shm  in devfs.conf
  4.  
  5. The next step would be installing yum package manager which you can do so by extracting first the yum rpm itself and then all dependencies manually until its satisfied.
  6.  
  7. For Yum
  8.  
  9.  python.x86_64 2.7.5-88.el7
  10.  cpio.x86_64 2.11-27.el7
  11.  diffutils.x86_64 3.3-5.el7
  12.  pygpgme.x86_64 0.3-9.el7
  13.  pyliblzma.x86_64 0.5.3-11.el7
  14.  python.x86_64 2.7.5-88.el7
  15.  python-iniparse.noarch 0.4-9.el7
  16.  python-urlgrabber.noarch 3.10-10.el7
  17.  pyxattr.x86_64 0.5.1-5.el7
  18.  rpm.x86_64 4.11.3-43.el7
  19.  rpm-python.x86_64 4.11.3-43.el7
  20.  yum-metadata-parser.x86_64 1.1.4-10.el7
  21.  yum-plugin-fastestmirror.noarch 1.1.31-54.el7_8
  22.  
  23. For Rpm
  24.  
  25.  libdb-utils.x86_64 5.3.21-25.el7
  26.  coreutils.x86_64 8.22-24.el7
  27.  curl.x86_64 7.29.0-57.el7_8.1
  28.  libacl.x86_64 2.2.51-15.el7
  29.  audit-libs.x86_64 2.8.5-4.el7
  30.  bzip2-libs.x86_64 1.0.6-13.el7
  31.  libcap.x86_64 2.22-11.el7
  32.  libdb.x86_64 5.3.21-25.el7
  33.  elfutils-libelf.x86_64 0.176-4.el7
  34.  lua.x86_64 5.1.4-15.el7
  35.  xz-libs.x86_64 5.2.2-1.el7
  36.  nss.x86_64 3.44.0-7.el7_7
  37.  popt.x86_64 1.13-16.el7
  38.  rpm-libs.x86_64 4.11.3-43.el7
  39.  libselinux.x86_64 2.5-15.el7
  40.  zlib.x86_64 1.2.7-18.el7
  41.  
  42. Download and extract them to /compat/linux
  43.  
  44. After that yum only needs /dev/urandom since you have mounted devfs on /compat/linux/dev you don`t need to do anything, yum should run now.
  45.  
  46.  
  47. Install all dependencies of chrome using yum, by installing vivaldi or chromium rpm with yum.
  48.  
  49. Then install https://github.com/shkhln/linuxulator-steam-utils/
  50.  
  51. #!/compat/linux/bin/sh
  52.  
  53. SCRIPT=$(readlink -f "$0")
  54. USR_DIRECTORY=$(readlink -f $(dirname $SCRIPT)/..)
  55.  
  56. CHROME_PATH="/opt/google/chrome/chrome"
  57.  
  58. export LD_LIBRARY_PATH=/usr/local/steam-utils/lib64/fakeudev:/usr/local/steam-utils/lib64/fakepulse:/compat/linux/lib64/nss
  59. export LD_PRELOAD=/usr/local/steam-utils/lib64/webfix/webfix.so
  60.  
  61. "$CHROME_PATH"  --no-sandbox --no-zygote --v=0 "$@"
  62.  
  63. Save above as /bin/chrome under /compat/linux then you can run /compat/linux/bin/chrome
  64.  
  65.  
  66. For more information visit, https://forums.freebsd.org/threads/compat-linux-microsoft-teams.75356/  or https://forums.freebsd.org/threads/linuxulator-firefox-68.76680/
  67.  
  68. Installing yum is essential.
  69.  
  70.  
RAW Paste Data