Possible guide to installing LibreWolf

For official Void Linux documentation: https://docs.voidlinux.org/
Post Reply
Bismuth
Posts: 7
https://dekodeco.com.pl/producent-mebli-na-wymiar-w-warszawie-nowoczesne-kuchnie/
Joined: Fri Mar 08, 2024 11:50 pm

Possible guide to installing LibreWolf

Post by Bismuth »

I am looking to install Librewolf. However, I am unsure on the most efficient and safest method.

I first attempted to compile Librewolf based on these instructions specifically made for Linux Void,
but ran into a permissions error with "$ ./xbps-src binary-bootstrap"
https://github.com/index-0/librewolf-voidlinux

I then started looking into using AppImages to install LibreWolf as it may help with LibreOffice, the next
install I am looking to tackle.

I am new to Linux Void, thus any guides for a safe install of LibreWolf would be very helpful.
User avatar
colin
Posts: 72
Joined: Sun Jan 21, 2024 4:05 am
Location: Germany

Re: Possible guide to installing LibreWolf

Post by colin »

Bismuth wrote: Fri Mar 08, 2024 11:54 pm I then started looking into using AppImages to install LibreWolf as it may help with LibreOffice, the next
install I am looking to tackle.
libreoffice is included in the VOID-repos and can be installed from it
Bismuth
Posts: 7
Joined: Fri Mar 08, 2024 11:50 pm

Re: Possible guide to installing LibreWolf

Post by Bismuth »

colin wrote: Sat Mar 09, 2024 2:54 am
Bismuth wrote: Fri Mar 08, 2024 11:54 pm I then started looking into using AppImages to install LibreWolf as it may help with LibreOffice, the next
install I am looking to tackle.
libreoffice is included in the VOID-repos and can be installed from it
I figured that out after exploring commands a bit. I successfully installed it and got it to work.

However, I am still trying to figure out how to install LibreWolf browser. I saw a few places recommend flatpack as it updates, but I am not sure what to do. What is a good way to start installing LibreWolf?
Bismuth
Posts: 7
Joined: Fri Mar 08, 2024 11:50 pm

Re: Possible guide to installing LibreWolf

Post by Bismuth »

Update.

Following this guide,https://github.com/index-0/librewolf-voidlinux

I am now encountering this error:
=> ERROR: librewolf-123.0_1: do_build: 'ln -s "/usr/bin/python3.11" "${XBPS_WRAPPERDIR}/python3"' exited with 1
=> ERROR: in do_build() at srcpkgs/librewolf/template:63

This is out of my realm of knowledge. Anyone with any tips?
User avatar
colin
Posts: 72
Joined: Sun Jan 21, 2024 4:05 am
Location: Germany

Re: Possible guide to installing LibreWolf

Post by colin »

that's ok

me myself never used librewolf but currently I tried installing .-
- no error, no issue

could you please give the whole printout of your terminal including the commands and the output ?

is there installed on your system: binutils, tar, xz, xbps, as a prerequisite ?

offtopic: BTW in what country are you living ?
Bismuth
Posts: 7
Joined: Fri Mar 08, 2024 11:50 pm

Re: Possible guide to installing LibreWolf

Post by Bismuth »

colin wrote: Sat Mar 09, 2024 6:36 am
that's ok

me myself never used librewolf but currently I tried installing .-
- no error, no issue

could you please give the whole printout of your terminal including the commands and the output ?

is there installed on your system: binutils, tar, xz, xbps, as a prerequisite ?

offtopic: BTW in what country are you living ?
Tar and Xbps were installed, however, I did not have binutils or xz. I am installing them currently.

After, installing that, I reattempted "$ ./xbps-src pkg librewolf" but received the same error.

Here is that entire terminal output:

=> xbps-src: updating repositories for host (x86_64-musl)...
[*] Updating repository `https://repo-default.voidlinux.org/curr ... l-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/curr ... l-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/curr ... l-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/curr ... l-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> librewolf-123.0_1: removing autodeps, please wait...
=> librewolf-123.0_1: the following build options are set:
alsa: Enable support for ALSA (ON)
dbus: Enable support for D-BUS (ON)
jack: Enable support for the JACK sound server (ON)
pulseaudio: Enable support for the PulseAudio sound server (ON)
sndio: Enable support for the sndio sound server (ON)
wayland: Enable support for the Wayland backend (ON)
xscreensaver: Enable support for libXScrnSaver to determine idle time (ON)
lto: Enable Link Time Optimization (OFF)
=> librewolf-123.0_1: building with [rust] for x86_64-musl...
[host] autoconf213-2.13_4: found (https://repo-default.voidlinux.org/current/musl)
[host] unzip-6.0_15: found (https://repo-default.voidlinux.org/current/musl)
[host] zip-3.0_6: found (https://repo-default.voidlinux.org/current/musl)
[host] pkg-config-0.29.2_3: found (https://repo-default.voidlinux.org/current/musl)
[host] perl-5.38.2_3: found (https://repo-default.voidlinux.org/current/musl)
[host] python3.11-3.11.8_2: found (https://repo-default.voidlinux.org/current/musl)
[host] yasm-1.3.0_2: found (https://repo-default.voidlinux.org/current/musl)
[host] rust-1.76.0_1: found (https://repo-default.voidlinux.org/current/musl)
[host] cargo-1.76.0_1: found (https://repo-default.voidlinux.org/current/musl)
[host] llvm-17_2: found (https://repo-default.voidlinux.org/current/musl)
[host] clang-17_2: found (https://repo-default.voidlinux.org/current/musl)
[host] lld-17_2: found (https://repo-default.voidlinux.org/current/musl)
[host] nodejs-18.19.1_1: found (https://repo-default.voidlinux.org/current/musl)
[host] cbindgen-0.26.0_1: found (https://repo-default.voidlinux.org/current/musl)
[host] nasm-2.16.01_1: found (https://repo-default.voidlinux.org/current/musl)
[host] which-2.21_4: found (https://repo-default.voidlinux.org/current/musl)
[host] tar-1.35_1: found (/host/binpkgs)
[target] nss-devel-3.98_1: found (https://repo-default.voidlinux.org/current/musl)
[target] libjpeg-turbo-devel-3.0.1_1: found (https://repo-default.voidlinux.org/current/musl)
[target] gtk+3-devel-3.24.41_1: found (https://repo-default.voidlinux.org/current/musl)
[target] icu-devel-73.2_2: found (https://repo-default.voidlinux.org/current/musl)
[target] pixman-devel-0.43.4_1: found (https://repo-default.voidlinux.org/current/musl)
[target] libevent-devel-2.1.12_3: found (https://repo-default.voidlinux.org/current/musl)
[target] libnotify-devel-0.8.3_1: found (https://repo-default.voidlinux.org/current/musl)
[target] libvpx-devel-1.13.1_1: found (https://repo-default.voidlinux.org/current/musl)
[target] libwebp-devel-1.3.2_1: found (https://repo-default.voidlinux.org/current/musl)
[target] libXrender-devel-0.9.11_1: found (https://repo-default.voidlinux.org/current/musl)
[target] libXcomposite-devel-0.4.6_1: found (https://repo-default.voidlinux.org/current/musl)
[target] libSM-devel-1.2.4_1: found (https://repo-default.voidlinux.org/current/musl)
[target] libXt-devel-1.3.0_1: found (https://repo-default.voidlinux.org/current/musl)
[target] rust-std-1.76.0_1: found (https://repo-default.voidlinux.org/current/musl)
[target] libXdamage-devel-1.1.6_1: found (https://repo-default.voidlinux.org/current/musl)
[target] freetype-devel-2.13.2_1: found (https://repo-default.voidlinux.org/current/musl)
[target] zlib-devel-1.3.1_1: found (https://repo-default.voidlinux.org/current/musl)
[target] alsa-lib-devel-1.2.11_1: found (https://repo-default.voidlinux.org/current/musl)
[target] dbus-glib-devel-0.112_1: found (https://repo-default.voidlinux.org/current/musl)
[target] pulseaudio-devel-16.1_1: found (https://repo-default.voidlinux.org/current/musl)
[target] libXScrnSaver-devel-1.2.4_1: found (https://repo-default.voidlinux.org/current/musl)
[target] sndio-devel-1.9.0_1: found (https://repo-default.voidlinux.org/current/musl)
[target] jack-devel-1.9.22_1: found (https://repo-default.voidlinux.org/current/musl)
[runtime] nss-3.98_1: found (https://repo-default.voidlinux.org/current/musl)
[runtime] nspr-4.35_1: found (https://repo-default.voidlinux.org/current/musl)
[runtime] desktop-file-utils-0.27_1: found (https://repo-default.voidlinux.org/current/musl)
[runtime] hicolor-icon-theme-0.17_3: found (https://repo-default.voidlinux.org/current/musl)
=> librewolf-123.0_1: installing host dependencies: autoconf213-2.13_4 unzip-6.0_15 zip-3.0_6 pkg-config-0.29.2_3 perl-5.38.2_3 python3.11-3.11.8_2 yasm-1.3.0_2 rust-1.76.0_1 cargo-1.76.0_1 llvm-17_2 clang-17_2 lld-17_2 nodejs-18.19.1_1 cbindgen-0.26.0_1 nasm-2.16.01_1 which-2.21_4 tar-1.35_1 ...
=> librewolf-123.0_1: installing target dependencies: nss-devel-3.98_1 libjpeg-turbo-devel-3.0.1_1 gtk+3-devel-3.24.41_1 icu-devel-73.2_2 pixman-devel-0.43.4_1 libevent-devel-2.1.12_3 libnotify-devel-0.8.3_1 libvpx-devel-1.13.1_1 libwebp-devel-1.3.2_1 libXrender-devel-0.9.11_1 libXcomposite-devel-0.4.6_1 libSM-devel-1.2.4_1 libXt-devel-1.3.0_1 rust-std-1.76.0_1 libXdamage-devel-1.1.6_1 freetype-devel-2.13.2_1 zlib-devel-1.3.1_1 alsa-lib-devel-1.2.11_1 dbus-glib-devel-0.112_1 pulseaudio-devel-16.1_1 libXScrnSaver-devel-1.2.4_1 sndio-devel-1.9.0_1 jack-devel-1.9.22_1 ...
=> librewolf-123.0_1: running pre-build hook: 02-script-wrapper ...
=> librewolf-123.0_1: running do_build ...
ln: failed to create symbolic link '/builddir/.xbps-librewolf/wrappers/python3': File exists
=> ERROR: librewolf-123.0_1: do_build: 'ln -s "/usr/bin/python3.11" "${XBPS_WRAPPERDIR}/python3"' exited with 1
=> ERROR: in do_build() at srcpkgs/librewolf/template:63


I wonder if there is a way to erase everything librewolf related on Void? Maybe an unfinished file is sitting somewhere causing an issue as it is saying a file already exists in "/builddir/.xbps-librewolf/wrappers/python3'".
User avatar
colin
Posts: 72
Joined: Sun Jan 21, 2024 4:05 am
Location: Germany

Re: Possible guide to installing LibreWolf

Post by colin »

as I see you chose the musl-variant of void system.
sorry I'm not really familiar with that library - maybe cloning and installing from github there is different to glibc :?:

also don't know why you update the src-repositories ? I didn't do this...

probably you may remove all of librewolf - just have a look to the filemanager and delete.....

if you're interested, I'll show you my way of installation step by step (as it worked fine)
pid1
Site Admin
Posts: 70
Joined: Sun Nov 21, 2021 2:50 am
Location: USA

Re: Possible guide to installing LibreWolf

Post by pid1 »

colin wrote: Sat Mar 09, 2024 12:49 pm as I see you chose the musl-variant of void system.
sorry I'm not really familiar with that library - maybe cloning and installing from github there is different to glibc :?:
Using the musl C library is useful for constrained systems with very limited storage and/or limited memory. You can generally run a server or some commonly used desktop applications using musl, but you'll definitely experience issues trying to solve dependencies as is the case here - it usually requires patches to get packages to work with the musl library, something you can see by looking at some of the more complex packages in the void-packages repository.

It appears that there are musl patches in this third-party Librewolf repository package, updated a few weeks ago. You might want to consider submitting an Issue in the Github repo including your system information/

I suggest that you use the glibc library on a desktop system so you will face far less issues in terms of incompatibilities.

With that said, thank you so much for pointing this third-party repo out! I've been using Librewolf on FreeBSD for a long while and now I can on Void, too.
Linux/BSD since 2001. Void Linux+KDE/Plasma since 2015. Windows? Not even in a virtual machine :D
User avatar
colin
Posts: 72
Joined: Sun Jan 21, 2024 4:05 am
Location: Germany

Re: Possible guide to installing LibreWolf

Post by colin »

pid1 wrote: Sat Mar 09, 2024 2:00 pm
I suggest that you use the glibc library on a desktop system so you will face far less issues in terms of incompatibilities.
I agree to pid1 and I am convinced that glibc might be the better option

as written above, there was no problem to install librewolf
Bismuth
Posts: 7
Joined: Fri Mar 08, 2024 11:50 pm

Re: Possible guide to installing LibreWolf

Post by Bismuth »

That would be very helpful to see the steps taken to install librewolf using your method. Though, I've tried my best to remove everything from the failed setup, so hopefully nothing from there will interfere with your method.

Someone recommended me a flatpak, but I am a bit concerned security wise as I do not want to install too many things that will weaken kernel security.

I chose to keep everything light as this was an old laptop that needed repairs, including a new ssd, so it's wiped clean I suppose.
Post Reply