Okay, so this is probably a stupid question, I use Pop!_OS & the current emacs version is Emacs-27 So, If I had to install the latest one (Emacs-29.1 or even Emacs-30.0.93) what does one have to do, compile it manually ?
Or is there another way ?
Okay, so this is probably a stupid question, I use Pop!_OS & the current emacs version is Emacs-27 So, If I had to install the latest one (Emacs-29.1 or even Emacs-30.0.93) what does one have to do, compile it manually ?
Or is there another way ?
11 Comments
theit8514@lemmy.world · 3 pts · 1y
There is a snap package which should be more up-to-date, but I'm not sure I would recommend that for an editor. Compiling from source would be fine, as it will default install into /usr/local and shouldn't affect the existing install. Afterwards you may need to update the link to emacs in your /bin folder (manually or via update alternatives) or add the folder where the new emacs is to your path at the front.
bunitor@lemmy.eco.br · 2 pts · 1y
if the snap package is anything like the flatpak, i wouldn't recommend it. the sandboxing gets in the way of a lot of stuff, including compilation, lsp, etc. it was a pain last time i tried it, unfortunately
MITM0@lemmy.world · 1 pts · 1y
Where does one get the source code ?
theit8514@lemmy.world · 2 pts · 1y
https://git.savannah.gnu.org/cgit/emacs.git
MITM0@lemmy.world · 1 pts · 1y
Along with the PGP-Key, please Since When I tried to download it from the GNU-FTP there was also a PGP-Signature file (I don't know whose signature to import in case of GNU stuff)
Buildout@lemmy.world · 2 pts · 1y
Is it possible there are other 3rd party repositories that have a more up to date version than the Pop_OS repos?
MITM0@lemmy.world · 1 pts · 1y
Maybe not, I can't find them
Trent@lemmy.ml · 2 pts · 1y
Disclaimer: I don't and have never used Pop.
That said, I've been compiling my own emacs for a few years and it's pretty painless.
bunitor@lemmy.eco.br · 2 pts · 1y
i use debian, so i had to do this:
i assume pop os to be debian-based, so that'll work for you too. this ensures every dependency is available beforehand so you don't get to a scenario where emacs builds successfully, but something basic like gtk support is missing
then you clone emacs and then
./configure && make && make install. i use it for work everyday and it works pretty wellMITM0@lemmy.world · 2 pts · 1y
So the sequence is as follows:-
Did I miss anything ??
bunitor@lemmy.eco.br · 2 pts · 1y
you might have to set a different
--prefixduring the./configurestage if you don't want to install it as root, but other than that, i think this is it. please read theINSTALLfile and also the output of./configure --help