Upgrading Emacs?

4 respostas [Última entrada]
beardystarstuff
Desconectado
Joined: 06/18/2025

Hey folks, I'm new to Trisquel, just switched over from Mint a couple days ago. Loving it so far!

This is perhaps a silly newbie question, I noticed that the version of Emacs installed is 27.1. Looking in Synaptic and the apps package manager, newer versions are not offered. I removed it and installed via the terminal which resulted in the same verison, 27.1.

Is there something specific to Trisquel that limits the install to 27.1?

-Denny

prospero
Desconectado
Joined: 05/20/2022

> Is there something specific to Trisquel that limits the install to 27.1?

Trisquel publishes LTS releases only, so package versions will get frozen at what they were at release time. As the latest stable version (currently Trisquel 11 Aramo) ages, the difference in version number with the latest available upstream can only increase. Trisquel 12 Ecne will probably ship with emacs 29.3, since it will be based on Ubuntu 24.04, although the latest upstream version is already 30.1.

Some packages have a higher version available under the backports repo, but emacs does not seem to be among those:
https://packages.trisquel.org/aramo-backports/

Magic Banana

I am a member!

I am a translator!

Desconectado
Joined: 07/24/2010

First of all: welcome!

The easiest way to get the latest version of Emacs is through Flathub. To install Flatpak, setup Flathub's "floss" subset and install Emacs, execute in a terminal:
$ sudo apt install flatpak
$ flatpak remote-add --subset=floss flathub https://flathub.org/repo/flathub.flatpakrepo
$ flatpak install flathub org.gnu.emacs

Notice that the "floss" subset includes some free software that only aims to launch proprietary software!

prospero
Desconectado
Joined: 05/20/2022

I believe the AppImage would be an even easier way:

https://github.com/blahgeek/emacs-appimage/releases?q=Release&expanded=true

beardystarstuff
Desconectado
Joined: 06/18/2025

Thanks to you both for the helpful information!