run Chrome latest in Xenial

Moderator: Forum moderators

Post Reply
hikohan
Posts: 5
Joined: Wed Mar 13, 2024 12:08 am

run Chrome latest in Xenial

Post by hikohan »

get latest Chrome deb, startup met libnss version fail

upgrade system libnss above 3.3x is necessary.

download files:

  • nspr-4.30.tar.gz
    nss-3.63.tar.gz
    nss-3.63-standalone-1.patch

upgrade nspr first

Code: Select all

cd nspr                                                     &&
sed -ri 's#^(RELEASE_BINS =).*#\1#' pr/src/misc/Makefile.in &&
sed -i 's#$(LIBRARY) ##'            config/rules.mk         &&

./configure --prefix=/usr \
            --with-mozilla \
            --with-pthreads \
            $([ $(uname -m) = x86_64 ] && echo --enable-64bit) &&
make && make install

then upgrade nss

  1. patch

    Code: Select all

    patch -Np1 -i ../nss-3.63-standalone-1.patch
  2. compile

Code: Select all

cd nss && make BUILD_OPT=1                      \
  NSPR_INCLUDE_DIR=/usr/include/nspr  \
  USE_SYSTEM_ZLIB=1                   \
  ZLIB_LIBS=-lz                       \
  NSS_ENABLE_WERROR=0                 \
  $([ $(uname -m) = x86_64 ] && echo USE_64=1) \
  $([ -f /usr/include/sqlite3.h ] && echo NSS_USE_SYSTEM_SQLITE=1)
  1. install nss

Code: Select all

cd ../dist                                                          &&

install -v -m755 Linux*/lib/*.so              /usr/lib              &&
install -v -m644 Linux*/lib/{*.chk,libcrmf.a} /usr/lib              &&

install -v -m755 -d                           /usr/include/nss      &&
cp -v -RL {public,private}/nss/*              /usr/include/nss      &&

install -v -m755 Linux*/bin/{certutil,nss-config,pk12util} /usr/bin &&

install -v -m644 Linux*/lib/pkgconfig/nss.pc  /usr/lib/pkgconfig

after ldconfig update, install libgbm1_18.0.5 via PPM

reboot Xenial, and Chrome runs as

Code: Select all

./chrome --no-sandbox

although Firefox bundle newer NSS, upgrade newer NSS works Chrome & Opera browsers.

Last edited by hikohan on Wed Mar 13, 2024 8:00 am, edited 1 time in total.
User avatar
bigpup
Moderator
Posts: 6268
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 732 times
Been thanked: 1292 times

Re: run Chrome latest in Xenial

Post by bigpup »

What version of Xenialpup?

Xenialpup 7.5 (32bit)
Xenialpup64 7.5 (64bit)

Any topic about a Puppy version needs to always have the specific Puppy version info!
Full complete name of it's ISO is best to provide.

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

hikohan
Posts: 5
Joined: Wed Mar 13, 2024 12:08 am

Re: run Chrome latest in Xenial

Post by hikohan »

Hi Bigpup!

There is only 64bit Chrome deb from Google avaliable.

My Xenial is:

Code: Select all

Xenialpup64 7.5 (64bit)
i7 4790 / 16G

Thanks for your help.

Post Reply

Return to “Xenial”