Abrowser on other distros

24 respuestas [Último envío]
GNUbahn
Desconectado/a
se unió: 02/18/2016

I think I once read a post about Abrowser on other distros, but I can't find it now.
If I remember correctly, the conclusion was that it is possible to install Abrowser on other ubuntu based distros, I have a question regarding the version of ubuntu the distros are based on.

On my work computer I have Linux Mint 22, which is based on Ubuntu 24, installed.
The latest version of Trisquel is based on ubuntu 22.

Will I be able to install and run Abrowser on my Linux Mint machine or will I have to wait for Trisquel 12?

nparafe

I am a member!

Desconectado/a
se unió: 10/20/2020

You can try.
You can also use GNU Icecat.

GNUbahn
Desconectado/a
se unió: 02/18/2016

What are the main advantages of using GNU Icecat in stead of Abrowser?

nparafe

I am a member!

Desconectado/a
se unió: 10/20/2020

GNU Icecat follows the esr upstream versioning , thus making radical changes less frequent.
Also, Icecat comes with default plugins that protect user's freedom. One example is LibreJs which blocks non-free Javascript.

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

Attached, an updated version of that script (using the latest trisquel-keyring).

AdjuntoTamaño
abrowser-on-debian.tar.xz 400 bytes
GNUbahn
Desconectado/a
se unió: 02/18/2016

What does "that" refer to?

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

I wrote the shell script nparafe pointed to (his first link). It was using an old version of trisquel-keyring, unlike the updated version I attached to my previous post.

GNUbahn
Desconectado/a
se unió: 02/18/2016

Ok, thanks.

Referring to the OP, does that mean that one could expect that running the script would make Abrowser run on e.g. the latest version of Linux Mint?

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

It should work, yes, if it runs with the root permissions (with sudo for instance). But you confirm us here that it indeed works on the latest Mint. The script installs the trisquel-keyring package, creates /etc/apt/sources.list.d/trisquel.list to add Trisquel 11's repository, but creates /etc/apt/preferences.d/trisquel as well to specify that nothing should be install from that repository except the abrowser and trisquel-keyring packages, if Mint does not provide them (if you want to understand the meaning of the priorities in that file, read 'man apt_preferences'). The finally proceeds with the update of the package information and the installation of Abrowser.

So, removing the abrowser and trisquel-keyring packages and the /etc/apt/sources.list.d/trisquel.list and /etc/apt/preferences.d/trisquel files reverts everything, if that ability matters to you.

Ark74

I am a member!

I am a translator!

Desconectado/a
se unió: 07/15/2009

The Ecne repository is a WIP, no ETA, before anyone ask.

But, there is already an Abrowser package for Ecne (based on 24.04).
Regards.

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

Then, I guess "ecne" could substitute "aramo". I did so in the attached script.

AdjuntoTamaño
abrowser-on-debian.tar.xz 400 bytes
GNUbahn
Desconectado/a
se unió: 02/18/2016

Thanks.

When I download this, the target file is named abrowser-on-debian.tar_0.xz
When unpacking it, the new file is also a 'packed' file (at least it has the icon of a packed/zipped file) and is simply called abrowser-on-debian.tar_0

Did I do something wrong?

grosbidepoilu
Desconectado/a
se unió: 10/08/2023

unpack this command
xz -d < abrowser-on-debian.tar_0.xz | tar xvf -

GNUbahn
Desconectado/a
se unió: 02/18/2016

I got this output:

LC_ALL=C ./abrowser-on-debian.sh
--2024-10-29 09:32:24-- https://archive.trisquel.info/trisquel/pool/main/t/trisquel-keyring/trisquel-keyring_2023.02.07_all.deb
Resolving archive.trisquel.info (archive.trisquel.info)... 209.51.188.51, 2001:470:142:5::51
Connecting to archive.trisquel.info (archive.trisquel.info)|209.51.188.51|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5832 (5.7K) [application/vnd.debian.binary-package]
Saving to: 'trisquel-keyring_2023.02.07_all.deb.1'

trisquel-keyring_20 100%[===================>] 5.70K --.-KB/s in 0s

2024-10-29 09:32:24 (17.3 MB/s) - 'trisquel-keyring_2023.02.07_all.deb.1' saved [5832/5832]

dpkg: error: requested operation requires superuser privilege
./abrowser-on-debian.sh: 4: cannot create /etc/apt/sources.list.d/trisquel.list: Permission denied
./abrowser-on-debian.sh: 6: cannot create /etc/apt/preferences.d/trisquel: Permission denied
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:3 http://security.ubuntu.com/ubuntu noble-security InRelease
Ign:4 http://packages.linuxmint.com wilma InRelease
Hit:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:6 http://packages.linuxmint.com wilma Release
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package abrowser is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'abrowser' has no installation candidate

grosbidepoilu
Desconectado/a
se unió: 10/08/2023

I think you need to run with sudo
LC_ALL=C sudo ./abrowser-on-debian.sh

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

The forum does not accept the .sh extension and automatically renames files that already exist. The script is attached again. I changed the ".sh" extension for ".txt"... that I have already used! Anyway, it should run like that. In a terminal:
$ chmod +x abrowser-on-debian_0.txt
$ sudo ./abrowser-on-debian_0.txt

AdjuntoTamaño
abrowser-on-debian.txt 568 bytes
grosbidepoilu
Desconectado/a
se unió: 10/08/2023

.txt seems also renamed with _0
https://trisquel.info/files/abrowser-on-debian_0.txt
call it abrowser-on-debian.log i think

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

I took the renaming into consideration in my instructions above (the file name does not matter).

GNUbahn
Desconectado/a
se unió: 02/18/2016

I have another computer running Linux Mint 21. On that, your script does not seem to work. Is it specific to the given version (of Ubuntu)?

GNUbahn
Desconectado/a
se unió: 02/18/2016

SUCCESS!

Magic Banana's script based on Aramo works for Linux Mint 21: https://trisquel.info/en/forum/abrowser-other-distros#comment-177811

1) Download and Unpack the xz-file -> new file: abrowser-on-debian.sh
2) Run $ chmod +x abrowser-on-debian.sh
3) Run $ sudo ./abrowser-on-debian.sh

MB, for the future, would you but the base (Arama, Ecne etc.) in the file name?

Merci

GNUbahn
Desconectado/a
se unió: 02/18/2016

I can confirm that Abrowser now runs on the latest version of Linux Mint.

Thank you for the help.

Now I will check the following:

If I can use profiles for Abrowser, and
if yes, if I can move my current profiles from Firefox to Abrowser.

GNUbahn
Desconectado/a
se unió: 02/18/2016

You can use profiles with Abrowser. That is cool.

Unfortunately it does not seem like I can simply move a profile from firefox to abrowser.
What I did was, I made a new profile in Abrowser, then deleted all content in it's folder.
Then I copied everything from the folder of a given profile of firefox into the empty folder of the profile of abrowser.
When running 'abrowser -P' (the command to manage profiles for abrowser) and trying to start the given profile ... nothing happens!

GNUbahn
Desconectado/a
se unió: 02/18/2016

SUCCESS!

It did not work in the first place, but when I tried shortly after ... it worked!

(Work) life just go at little better :-)

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

See https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles#w_restoring-to-a-different-location (although I believe you could also move the profile folder to ~/.mozilla/abrowser, as you did, and then modify ~/.mozilla/abrowser/profile.ini so that it uses the name of that folder).

GNUbahn
Desconectado/a
se unió: 02/18/2016

This is basically what I did.
And in this case, you don't need to modify profile.ini - it's done automatically, when you create a new profile.
I don't know if it is necessary, but I open the new profile once to make sure that the folder of that profile is created.
Apparently this automatically alters the profile.ini (the file which tells the browser which profiles are created and active).

IT IS GREAT THAT YOU CAN GET THIS KIND OF HELP IN THIS FORUM. THANK YOU.