How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Post your tutorials for using applications or performing related tasks here.
Note: Not for "how do I...?" Questions!
Forum rules
Tutorials and Howtos should only relate to developed software, and not to third party applications. e.g.: Don't post a generic Howto for configuring a firewall.
If you have a question how to do something, you should use one of the support boards, not this board. It is meant for people to document and post instructions.
User avatar
andyprough
Keeps coming back
Keeps coming back
Posts: 932
Joined: 2020-05-31, 04:33

How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by andyprough » 2024-09-04, 05:58

This is for anyone who wants to use Steve Pusser's builds of Pale Moon that he builds specifically for MX Linux. These builds should work on most Debian-based systems, as MX is simply Debian plus some homemade programs and configurations. At its core MX is just Debian, and in fact MX directly uses the Debian repositories for most of its software.

===========================================================================

Step 1 - Determine which version of Debian is compatible with your distro. You have two choices here:
a) MX version 23 is based on the newest Debian 12 (Bookworm). This should generally be compatible with distros like Ubuntu 24.04 and 24.10, Linux Mint 22, and other recently released Debian-based distros.
b) MX version 21 is based on the prior Debian 11 (Bullseye). This should generally be compatible with slightly older distros like Ubuntu 22.04 and 22.10, Linux Mint 21, and other Debian-based distros that were released a couple of years ago

=========================================hat this apt-pinning step is MANDATORY==================================

Step 2 - Fast and Dirty method for installing Steve Pusser's build of Pale Moon - for those people who JUST want to install Steve Pusser's build WITHOUT adding the MX repo and without doing auto-updates in the future

a) Navigate to the Pale Moon Contributed Builds page - http://www.palemoon.org/contributed-builds.shtml
b) Look for the link for "Pale Moon for MX Linux by Steve Pusser", which will take you here - https://mxrepo.com/
c) Select the link for your version of Debian compatibility
- if your distro is compatible with the latest Debian 12, then click on the "MX-23 Packages" link lower on the page - https://mxrepo.com/MX23packages.html
- if your distro is compatible with the earlier Debian 11, then click on the "MX-21 Packages" link lower on the page - https://mxrepo.com/MX21packages.html
d) Search for "palemoon" on the next page
e) Download the version of your choice (amd64 or i386) to a folder such as ~/Downloads/, or run a terminal command to download it, such as the following command for downloading the MX21 amd64 build:

Code: Select all

wget https://mxrepo.com/mx/repo/pool/main/p/palemoon/palemoon_33.3.0-1mx21_amd64.deb -P ~/Downloads/
f) Install Pale Moon with a terminal command such as:

Code: Select all

sudo apt install ~/Downloads/palemoon*.deb
g) Remove the downloaded .deb file to keep your system clean for future Pale Moon installations. Use a terminal command such as:

Code: Select all

rm ~/Downloads/palemoon*.deb
That's it, Pale Moon should be installed and running. Next time a new version of Pale Moon is released, repeat these steps to upgrade your version, unless you want to add the MX repo and signing key as per the instructions below for auto-updating

===========================================================================

Step 3 - Longer and more Complex method for installing Steve Pusser's build of Pale Moon - for those people who WANT to automatically update from the MX repository.

[NOTE - Ensure that you do Step #3f below - apt pinning - if you skip Step #3f you could BRICK your distro making it UN-BOOTABLE]

a) Navigate to the Pale Moon Contributed Builds page - http://www.palemoon.org/contributed-builds.shtml

b) Look for the link for "Pale Moon for MX Linux by Steve Pusser", which will take you here - https://mxrepo.com/

c) Select the version of MX to use based on your distro's Debian compatibility
- if your distro is compatible with the latest Debian 12, then use the "MX-23" instructions in this How-to
- if your distro is compatible with the earlier Debian 11, then use the "MX-21" instructions in this How-to

d) Download and import the MX Linux signing key -
- for MX 23, the command will be:

Code: Select all

wget -O- http://teharris.net/mx23repo.asc | gpg --dearmor | sudo tee /usr/share/keyrings/MX23-archive-keyring.gpg
- for MX 21, the command will be:

Code: Select all

wget -O- http://teharris.net/mx21repo.asc | gpg --dearmor | sudo tee /usr/share/keyrings/MX21-archive-keyring.gpg
e) Add the MX repository to your apt sources -
- for MX 23, the command will be:

Code: Select all

echo "deb [signed-by=/usr/share/keyrings/MX23-archive-keyring.gpg] http://mxrepo.com/mx/repo/ bookworm main non-free" | sudo tee /etc/apt/sources.list.d/mx23.list
- for MX 21, the command will be:

Code: Select all

echo "deb [signed-by=/usr/share/keyrings/MX21-archive-keyring.gpg] http://mxrepo.com/mx/repo/ bullseye main non-free" | sudo tee /etc/apt/sources.list.d/mx21.list
f) Create an apt pinning file to ONLY allow your system to use the Pale Moon package from the MX repo.
[NOTE - Do NOT skip this apt-pinning step - mixing other packages from the MX repo with a non-MX distro could BRICK your entire OS and cause you to lose data. You have been warned.]
- for either MX 23 or MX 21, the terminal command will be:

Code: Select all

cat <<EOF | sudo tee /etc/apt/preferences.d/pin-palemoon
Package: *
Pin: release a=mx
Pin-Priority: -1 

Package: palemoon 
Pin: release a=mx
Pin-Priority: 700
EOF
Copy that code as one block of text, and you can paste it as a block into your terminal with the Ctrl-Shift-V keyboard combo, then hit the Enter key. You need to have the blank line in the middle, or it won't work.

g) Update

Code: Select all

sudo apt update
h) Check the upgradable packages, make sure none of them come from the MX repo:

Code: Select all

sudo apt list --upgradable
If you see any upgradable packages from the MX repo, then DELETE the MX repo from your system:

Code: Select all

sudo rm /etc/apt/sources.list.d/mx2*.list
and then STOP this Step 3 procedure here, go back and install via Step 2 instead. You have a non-standard Debian-based distro that does not safely conform to these instructions.

i) Check the apt policy for palemoon, you should now see an installation candidate from your MX repo:

Code: Select all

apt policy palemoon
i) Install Pale Moon

Code: Select all

sudo apt install palemoon
Last edited by andyprough on 2024-09-04, 12:51, edited 1 time in total.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 36684
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by Moonchild » 2024-09-04, 07:31

Very nice write-up! Thank you.
{{This headspace for lease}}
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5324
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by Night Wing » 2024-09-04, 10:25

Maybe think about making this topic a "sticky". If not, eventually it will scroll off the first page and land on the second page. A sticky would make it easier to find "if" users actually search for it.
Linux Mint 22 (Wilma) Xfce w/Pale Moon, Waterfox, Firefox
MX Linux 23.4 (Libretto) Xfce w/Pale Moon, Waterfox, Firefox
Linux Debian 12.8 (Bookworm) Xfce w/Pale Moon, Waterfox, Firefox

User avatar
andyprough
Keeps coming back
Keeps coming back
Posts: 932
Joined: 2020-05-31, 04:33

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by andyprough » 2024-09-04, 12:58

Night Wing wrote:
2024-09-04, 10:25
Maybe think about making this topic a "sticky". If not, eventually it will scroll off the first page and land on the second page. A sticky would make it easier to find "if" users actually search for it.
The MX repos change every two years, so this post will have to be updated more frequently than it would take for it to fall off the front page of How-to's. We've got How-to's from 2018 on the front page still. Which is normal - How-to's have been added fairly slowly in any forum I've seen.

Plus, that first post has a lot of commands. We'll have to do some discussion and updating in this thread as the smarter and more experienced GNU/Linux users give me corrections to some of those commands, or if they point out that some of the commands have to be worded differently for some distributions.

User avatar
andyprough
Keeps coming back
Keeps coming back
Posts: 932
Joined: 2020-05-31, 04:33

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by andyprough » 2024-09-11, 02:48

There's a new repository with .deb packages based on the official Pale Moon GNU/Linux packages by Veit Kannegieser that appears to be superior to Steve Pusser's repository in nearly every way, so I'm recommending that people with Debian-based distros not follow this How-to and instead that they add Veit's repository.

Here's the thread where Veit announces the repo: viewtopic.php?p=254376#p254376

And here's Veit's repo and instructions for how to add it to your Debian-based distros: https://kannegieser.net/palemoon/

User avatar
Veit Kannegieser
Hobby Astronomer
Hobby Astronomer
Posts: 28
Joined: 2019-03-23, 19:16

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by Veit Kannegieser » 2024-09-11, 22:05

It is faster to create, only ~74 seconds per variant on a Athlon(tm) II X2 245, since it is just a repack.
Steve Pusser's deb files have the advantage to be build without updater, so there will be no update failed..missing permissions.. error dialog when detected as superseded version.
I will try to keep it updated. I have no plan to keep a history of old versions, they will be purged.

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 5364
Joined: 2015-12-09, 15:45
Contact:

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by moonbat » 2024-09-11, 23:36

Veit Kannegieser wrote:
2024-09-11, 22:05
It is faster to create, only ~74 seconds per variant on a Athlon(tm) II X2 245, since it is just a repack.
Steve Pusser's deb files have the advantage to be build without updater, so there will be no update failed..missing permissions.. error dialog when detected as superseded version.
I will try to keep it updated. I have no plan to keep a history of old versions, they will be purged.
Thank you for doing this :thumbup:
It's great to be back to an integrated package based install.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
KDE Neon on a Slimbook Excalibur (Ryzen 7 8845HS, 64 GB RAM)
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
andyprough
Keeps coming back
Keeps coming back
Posts: 932
Joined: 2020-05-31, 04:33

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by andyprough » 2024-09-14, 02:57

Steve Pusser's MX package of Pale Moon was updated to 33.3.1 yesterday. Not too bad, not nearly as slow as his old OpenSUSE Build Service repository. Veit's repo is still faster so far though, having uploaded the 33.3.1 package on the same day it was released Sept. 10th.

User avatar
andyprough
Keeps coming back
Keeps coming back
Posts: 932
Joined: 2020-05-31, 04:33

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by andyprough » 2024-11-22, 06:08

@Veit Kannegieser has now added Steve Pusser's MX23 build of GTK3 Pale Moon to Viet's repo, so I would just use @Veit's repo for all uses now instead of this how-to. Instructions on adding @Veit's repo and installing Pale Moon from it onto your Debian-based or Ubuntu-based distro are here: https://kannegieser.net/palemoon/

User avatar
Veit Kannegieser
Hobby Astronomer
Hobby Astronomer
Posts: 28
Joined: 2019-03-23, 19:16

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by Veit Kannegieser » 2024-11-23, 18:30

yes, just copies of the MX23 packages, so Gtk3.
Works nice on Raspberry Pi 3 at work.

User avatar
Thad E G
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2022-10-23, 10:38

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by Thad E G » 2024-11-23, 22:23

Can someone confirm the url please. My system is not resolving it. I'm just getting "Pale Moon cannot find..."

User avatar
adoxa
Lunatic
Lunatic
Posts: 298
Joined: 2019-03-16, 13:26
Location: Qld, Aus.
Contact:

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by adoxa » 2024-11-23, 23:40

Loaded fine.

User avatar
andyprough
Keeps coming back
Keeps coming back
Posts: 932
Joined: 2020-05-31, 04:33

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by andyprough » 2024-11-24, 04:06

Thad E G wrote:
2024-11-23, 22:23
Can someone confirm the url please. My system is not resolving it. I'm just getting "Pale Moon cannot find..."
The site was probably down briefly for maintenance, looks like @Veit edited some text on the page today. Try it again, it's working for me right now.

User avatar
Thad E G
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2022-10-23, 10:38

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by Thad E G » 2024-11-24, 18:38

Must be a just me thing. I am still unable to resolve the url, either by browser or command line tools.

I'll try again another time.

User avatar
andyprough
Keeps coming back
Keeps coming back
Posts: 932
Joined: 2020-05-31, 04:33

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by andyprough » 2024-11-24, 19:33

Thad E G wrote:
2024-11-24, 18:38
Must be a just me thing. I am still unable to resolve the url, either by browser or command line tools.

I'll try again another time.
It's working fine still for me. Maybe you need to whitelist it in your ad blocker, or look to see if you have any special DNS settings?

Here's the instructions from @Veit's site anyway - I'll paste them here, and if @Veit doesn't want them here I'll delete them:
Pale Moon tarballs converted to Debian DEB packages
manual installation

versions available here currently: 33.4.0.1 33.4.1
configuration for apt

Create /etc/apt/sources.list.d/palemoon.list and insert

Code: Select all

# sudo wget https://kannegieser.net/palemoon/veit@kannegieser.net.gpg -O /usr/share/keyrings/veit@kannegieser.net.gpg
    # sudo apt-get update
    # sudo apt-get install palemoon veit-kannegieser-archive-keyring

    # deb [arch=amd64 signed-by=/usr/share/keyrings/veit@kannegieser.net.gpg] https://kannegieser.net/palemoon sse2_gtk2 main
    # deb [arch=amd64 signed-by=/usr/share/keyrings/veit@kannegieser.net.gpg] https://kannegieser.net/palemoon sse2_gtk3 main
      deb [arch=amd64 signed-by=/usr/share/keyrings/veit@kannegieser.net.gpg] https://kannegieser.net/palemoon avx_gtk2  main
    # deb [arch=amd64 signed-by=/usr/share/keyrings/veit@kannegieser.net.gpg] https://kannegieser.net/palemoon avx_gtk3  main
    # deb [arch=amd64 signed-by=/usr/share/keyrings/veit@kannegieser.net.gpg] https://kannegieser.net/palemoon avx2_gtk2 main
    # deb [arch=amd64 signed-by=/usr/share/keyrings/veit@kannegieser.net.gpg] https://kannegieser.net/palemoon avx2_gtk3 main
    # deb [           signed-by=/usr/share/keyrings/veit@kannegieser.net.gpg] https://kannegieser.net/palemoon mx23_gtk3 main
Adjust the sse2/avx/avx2 and gtk2/gtk3 variant to your hardware and liking by uncommenting the corresponding line.

The additional mx23_gtk3 variant is from MX Linux repo, maintained by Steven Pusser. Architectures are amd64, arm64, armhf and i386 here.

Download and install the my public key:

Code: Select all

sudo wget https://kannegieser.net/palemoon/veit@kannegieser.net.gpg -O /usr/share/keyrings/veit@kannegieser.net.gpg
Update and install. For example:

Code: Select all

sudo apt-get update
sudo apt-get install palemoon veit-kannegieser-archive-keyring
The keyring package is optional.

Tested with Debian 12.8 and Raspbian.
@Veit - you may want to put a new thread in the Contributed 3rd Party Builds sub-forum, similar to @Nuck-TH's "Pale Moon x86-64 SSE2/AVX2" thread where he announces all his releases and puts instructions for use: viewtopic.php?f=40&t=27873

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5324
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by Night Wing » 2024-11-24, 20:42

Thad E G wrote:
2024-11-23, 22:23
Can someone confirm the url please. My system is not resolving it. I'm just getting "Pale Moon cannot find..."
The page loads for me as well without any problems.

At this time I am using 64 bit linux Pale Moon 33.4.1 (GTK2) running in 64 bit linux Mint 22 (Wilma) Xfce.
Linux Mint 22 (Wilma) Xfce w/Pale Moon, Waterfox, Firefox
MX Linux 23.4 (Libretto) Xfce w/Pale Moon, Waterfox, Firefox
Linux Debian 12.8 (Bookworm) Xfce w/Pale Moon, Waterfox, Firefox

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 36684
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by Moonchild » 2024-11-24, 22:03

Thad E G wrote:
2024-11-24, 18:38
I am still unable to resolve the url, either by browser or command line tools.
If you can't actually resolve the host you may want to check if your DNS server is working properly or potentially switch to a more reliable one.
{{This headspace for lease}}
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
Thad E G
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2022-10-23, 10:38

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by Thad E G » 2024-11-27, 15:09

Moonchild wrote:
2024-11-24, 22:03

If you can't actually resolve the host you may want to check if your DNS server is working properly or potentially switch to a more reliable one.
Over the years, I have variously used:- my broadband provider; google; 1.1.1.1. I used to have a script which explored and found the fastest, but it is a long time since I have been techie enough to care about such subtleties! (currently it is 1.1.1.1)

This is the first DNA failure I have had in, almost as long as I can remember!

Here's a development. Viet was kind enough to PM me. (Thanks Viet, will reply in a minute) He thought that my IP might be hitting a firewall. This is possible, as some net destinations react badly to the geolocation of India, where I am. (But I shouldn't hit his firewall if I can't even resolve the IP to get there). Anyway, he sent the IP and I am now getting

Code: Select all

n.n.n.n uses an invalid security certificate.

The certificate is only valid for the following names:
  ftp.kannegieser.net, kannegieser.net, mail.kannegieser.net, mta-sts.kannegieser.net, v22018056206865745.quicksrv.de, www.kannegieser.net  

(Error code: SSL_ERROR_BAD_CERT_DOMAIN)
It wouldn't be a problem, because I had a link to http://mirrors.rit.edu/mxlinux/mx-packa ... /palemoon/ and was downloading from there, but now I get "forbidden" on that url.

Oh, there's a unix/linux command that shows how the system is trying to resolve an address and what response it is getting. I'll google, but if anyone has that in an alive brain cell, a reminder would be nice. (edit: I think it is nslookup)

User avatar
Thad E G
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2022-10-23, 10:38

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by Thad E G » 2024-11-27, 15:34

dig

Code: Select all

$ dig @1.1.1.1 https://kannegieser.net/palemoon/

; <<>> DiG 9.18.28-0ubuntu0.22.04.1-Ubuntu <<>> @1.1.1.1 https://kannegieser.net/palemoon/
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 5905
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;https://kannegieser.net/palemoon/. IN	A

;; AUTHORITY SECTION:
.			86400	IN	SOA	a.root-servers.net. nstld.verisign-grs.com. 2024112700 1800 900 604800 86400

;; Query time: 47 msec
;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP)
;; WHEN: Wed Nov 27 21:02:01 IST 2024
;; MSG SIZE  rcvd: 137
I was never very hot on this stuff :oops: . But comparing it to an address I know I can resolve, I note that there is no ANSWER section :?

User avatar
Veit Kannegieser
Hobby Astronomer
Hobby Astronomer
Posts: 28
Joined: 2019-03-23, 19:16

Re: How-to add Steve Pusser's MX Linux build of Pale Moon to a Debian-based distro

Unread post by Veit Kannegieser » 2024-11-27, 21:15

Thad E G wrote:
2024-11-27, 15:34
dig

Code: Select all

$ dig @1.1.1.1 https://kannegieser.net/palemoon/
..
I was never very hot on this stuff  :oops:  . But comparing it to an address I know I can resolve, I note that there is no ANSWER section  :?
dig does not understand protocols,
dig @1.1.1.1 kannegieser.net
would give
kannegieser.net. 86400 IN A 94.16.116.102

I use Let's Encrypt certificates, so only names, not addresses have certificates, explains the certificate error.
Connection problem may be your IP address listed in the firewall configuration.
But nice you found a workaround.

Post Reply