Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to Install Latest Brave Browser release version in Centos 7 (also works for FreeBSD`s Centos 7 Linuxulator)
- https://github.com/brave/brave-browser/releases/download/v1.15.74/brave-browser-1.15.74-1.x86_64.rpm (Latest release rpm)
- https://github.com/brave/brave-browser/releases/download/v0.62.51/brave-browser-0.62.51-1.x86_64.rpm (Install this one using yum, it will install all dependencies of brave for the future versions)
- yum install brave-browser-0.62.51-1.x86_64.rpm
- then remove it using yum remove brave-browser (since this is an old version and we don`t use it.)
- install the newer one
- rpm -ivh brave-browser-1.15.74-1.x86_64.rpm --nodeps
- install newer glibc
- wget http://ftp.gnu.org/gnu/glibc/glibc-2.18.tar.gz
- tar zxvf glibc-2.18.tar.gz
- cd glibc-2.18
- mkdir build
- cd build
- ../configure --prefix=/opt/glibc-2.18
- make -j4
- make install
- Its very important that you use another prefix then using the default one because we don`t want to overwrite system glibc.
- install patchelf using yum
- yum install patchelf
- and patch the binary
- the latest release version has the brave binary located at /opt/brave.com/brave/brave
- if you run it without patching the binary, it will throw an error "/lib64/libc.so.6: version `GLIBC_2.18' not found"
- This is the very same procedure in centos 7, it does`t matter if you use FreeBSD or not. You better use FreeBSD of course, you should.
- Lets patch it
- patchelf --set-interpreter /opt/glibc-2.18/lib/ld-linux-x86-64.so.2 --set-rpath /opt/glibc-2.18/lib:/usr/lib64 /opt/brave.com/brave/brave
- And now it will work.
Add Comment
Please, Sign In to add comment