Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Official PPA for Firefox Beta #466

Open
robertkirkman opened this issue Nov 7, 2024 · 5 comments
Open

[Feature]: Official PPA for Firefox Beta #466

robertkirkman opened this issue Nov 7, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@robertkirkman
Copy link

robertkirkman commented Nov 7, 2024

Feature description

Using the normal Ubuntu 24.04 package of Firefox that comes from apt install firefox by default does not work because it depends on Snap.

DISPLAY=:1 firefox
Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:

snap install firefox

[2]+  Exit 1                  DISPLAY=:1 firefox
snap install firefox
error: cannot communicate with server: Post "http://localhost/v2/snaps/firefox": dial unix /run/snapd.socket: connect: no such file or directory

On the other hand, by using these alternative commands, it is possible to install a build of Firefox into the Ubuntu Proot that does not depend on the snapd package in any way. It is maintained by a group within the Ubuntu organization called "Mozilla Team" . I originally thought that this was maintained by Mozilla directly but it is not, it is maintained by the "Ubuntu Mozilla Team".

apt-get update
apt-get upgrade -y
apt-get install software-properties-common
add-apt-repository ppa:mozillateam/firefox-next
cat <<EOF | tee /etc/apt/preferences.d/pin-mozilla-ppa
Package: *
Pin: release o=LP-PPA-mozillateam-firefox-next
Pin-Priority: 9999
EOF
apt-get update
apt-get install firefox
DISPLAY=:1 firefox

That works to run Firefox without requiring Snap within Ubuntu 22.04 and newer proots, including Ubuntu 24.04.

image

@robertkirkman robertkirkman added the enhancement New feature or request label Nov 7, 2024
@robertkirkman
Copy link
Author

I noticed that someone asked about Thunderbird and there's also one for Thunderbird that is identical except it has Thunderbird without Snap instead of Firefox without Snap, so here are the commands for that one also:

add-apt-repository ppa:mozillateam/thunderbird-next
cat <<EOF | tee /etc/apt/preferences.d/pin-thunderbird-ppa
Package: *
Pin: release o=LP-PPA-mozillateam-thunderbird-next
Pin-Priority: 9999
EOF
apt-get update
apt-get install thunderbird

@robertkirkman
Copy link
Author

robertkirkman commented Nov 7, 2024

I went ahead and made a comparison screenshot of most of the primary Mozilla apps available for Termux:X11 that come as .deb format packages.

On the left are those in Debian 12 from proot-distro install debian,
In the middle are those from the PPAs running in the Ubuntu proot, from proot-distro install ubuntu
and on the right are those which are built for Termux and run outside of the proot. They come from pkg install firefox thunderbird.
It's clear there is some variation between these versions, so this screenshot might be helpful for people trying to decide which version they need.

Screenshot_20241107-020035_Termux_X11

@RalfWerner
Copy link

I went ahead and made a comparison screenshot of most of the primary Mozilla apps available for Termux:X11

Thanks, I currently only use the native versions of the two Mozilla XClients and mostly Thunderbird. However, on different devices (arch/size) with different XServers. The Termux:X11 XServer seems to be the best one at the moment for being able to use the XClients with your fingers even on small mobile phones. As a window/desktop manager (WM) I tend to use simple XClients (Openbox, Fluxbox). But the ones from Mozilla don't work without them.

However, there are a few problems that lie in the XClient itself. My attempts to solve them via bugzilla or the de forum have so far been unsuccessful. I have opened an issue in my repo (in progress) where I would like to investigate further.

@Vladtheinhar
Copy link

Feature description

Using the normal Ubuntu 24.04 package of Firefox that comes from apt install firefox by default does not work because it depends on Snap.

DISPLAY=:1 firefox
Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:

snap install firefox

[2]+  Exit 1                  DISPLAY=:1 firefox
  • > bash
> snap install firefox
> ```
> ```
> error: cannot communicate with server: Post "http://localhost/v2/snaps/firefox": dial unix /run/snapd.socket: connect: no such file or directory
> ```
> 
> On the other hand, by using these alternative commands, it is possible to install a [build of Firefox](https://launchpad.net/~mozillateam/+archive/ubuntu/firefox-next) into the Ubuntu Proot that does not depend on the `snapd` package in any way. It is maintained by a group within the Ubuntu organization called "[Mozilla Team](https://wiki.ubuntu.com/MozillaTeam)" . I originally thought that this was maintained by Mozilla directly but it is not, it is maintained by the "Ubuntu Mozilla Team".
> 
> ```bash
> apt-get update
> apt-get upgrade -y
> apt-get install software-properties-common
> add-apt-repository ppa:mozillateam/firefox-next
> cat <<EOF | tee /etc/apt/preferences.d/pin-mozilla-ppa
> Package: *
> Pin: release o=LP-PPA-mozillateam-firefox-next
> Pin-Priority: 9999
> EOF
> apt-get update
> apt-get install firefox
> DISPLAY=:1 firefox
> ```
> 
> That works to run Firefox without requiring Snap within Ubuntu 22.04 and newer proots, including Ubuntu 24.04.
> 
> ![image](https://github.com/user-attachments/assets/d65bfedb-6b0e-4fac-9d27-aa1446a40648)
> 

@Vladtheinhar
Copy link

Nice~~

@TomJo2000 TomJo2000 mentioned this issue Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants