unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Newest emacs version that can run on Ubuntu 18.04
@ 2023-03-16 20:46 Patrick Mahan
  2023-03-16 21:26 ` Marcus Harnisch
                   ` (6 more replies)
  0 siblings, 7 replies; 16+ messages in thread
From: Patrick Mahan @ 2023-03-16 20:46 UTC (permalink / raw)
  To: Help Gnu Emacs

All,

I have to do development work on some machines running Ubuntu 18.04 which
seems to only support emacs 25.

Can Ubuntu support a new version?  (26, 27 or higher?).

Thanks,

Patrick


^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newest emacs version that can run on Ubuntu 18.04
  2023-03-16 20:46 Newest emacs version that can run on Ubuntu 18.04 Patrick Mahan
@ 2023-03-16 21:26 ` Marcus Harnisch
  2023-03-16 21:29 ` Óscar Fuentes
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 16+ messages in thread
From: Marcus Harnisch @ 2023-03-16 21:26 UTC (permalink / raw)
  To: help-gnu-emacs

On 16/03/2023 21.46, Patrick Mahan wrote:
> I have to do development work on some machines running Ubuntu 18.04 which
> seems to only support emacs 25.
> 
> Can Ubuntu support a new version?  (26, 27 or higher?).

Well, you could always compile your own Emacs or use the packages kindly 
provided via launchpad:

https://launchpad.net/~kelleyk/+archive/ubuntu/emacs

Cheers,
Marcus





^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newest emacs version that can run on Ubuntu 18.04
  2023-03-16 20:46 Newest emacs version that can run on Ubuntu 18.04 Patrick Mahan
  2023-03-16 21:26 ` Marcus Harnisch
@ 2023-03-16 21:29 ` Óscar Fuentes
  2023-03-16 21:49   ` Óscar Fuentes
  2023-03-16 21:58 ` christian de larrinaga via Users list for the GNU Emacs text editor
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 16+ messages in thread
From: Óscar Fuentes @ 2023-03-16 21:29 UTC (permalink / raw)
  To: Patrick Mahan; +Cc: Help Gnu Emacs

Patrick Mahan <plmahan@gmail.com> writes:

> All,
>
> I have to do development work on some machines running Ubuntu 18.04 which
> seems to only support emacs 25.
>
> Can Ubuntu support a new version?  (26, 27 or higher?).

Yes, why not? Maybe some recent features are missing with the default
libraries provided by that distribution (the libgccjit package probably
is too old, so you will not have native compilation of Elisp) but even
current Emacs development sources should build and run just fine.

You'll need to install the build dependencies, something like this
should be enough:

sudo apt-get install emacs

then grab the Emacs sources and follow the instructions on the INSTALL
file.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newest emacs version that can run on Ubuntu 18.04
  2023-03-16 21:29 ` Óscar Fuentes
@ 2023-03-16 21:49   ` Óscar Fuentes
  2023-03-28 12:55     ` Byung-Hee HWANG
  0 siblings, 1 reply; 16+ messages in thread
From: Óscar Fuentes @ 2023-03-16 21:49 UTC (permalink / raw)
  To: Patrick Mahan; +Cc: Help Gnu Emacs

One correction:

> You'll need to install the build dependencies, something like this
> should be enough:
>
> sudo apt-get install emacs

That's for installing Emacs proper, of course. For installing the build
dependencies the command is

sudo apt-get build-dep emacs

Sorry for the confusion.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newest emacs version that can run on Ubuntu 18.04
  2023-03-16 20:46 Newest emacs version that can run on Ubuntu 18.04 Patrick Mahan
  2023-03-16 21:26 ` Marcus Harnisch
  2023-03-16 21:29 ` Óscar Fuentes
@ 2023-03-16 21:58 ` christian de larrinaga via Users list for the GNU Emacs text editor
  2023-03-16 22:30 ` Emanuel Berg
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 16+ messages in thread
From: christian de larrinaga via Users list for the GNU Emacs text editor @ 2023-03-16 21:58 UTC (permalink / raw)
  To: Patrick Mahan; +Cc: help-gnu-emacs

yes. I'm on GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+
Version 3.24.33, cairo version 1.16.0) of 2023-03-14

ubuntu VERSION="22.04.2 LTS (Jammy Jellyfish)"

I also have Ubuntu 22.10 in various virtmanager instances on my laptop with  emacs 30
C

Patrick Mahan <plmahan@gmail.com> writes:

> All,
>
> I have to do development work on some machines running Ubuntu 18.04 which
> seems to only support emacs 25.
>
> Can Ubuntu support a new version?  (26, 27 or higher?).
>
> Thanks,
>
> Patrick


-- 
christian de larrinaga 
https://firsthand.net



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newest emacs version that can run on Ubuntu 18.04
  2023-03-16 20:46 Newest emacs version that can run on Ubuntu 18.04 Patrick Mahan
                   ` (2 preceding siblings ...)
  2023-03-16 21:58 ` christian de larrinaga via Users list for the GNU Emacs text editor
@ 2023-03-16 22:30 ` Emanuel Berg
  2023-03-20  1:38   ` David Masterson
  2023-03-17  1:57 ` Po Lu
                   ` (2 subsequent siblings)
  6 siblings, 1 reply; 16+ messages in thread
From: Emanuel Berg @ 2023-03-16 22:30 UTC (permalink / raw)
  To: help-gnu-emacs

Patrick Mahan wrote:

> I have to do development work on some machines running
> Ubuntu 18.04 which seems to only support emacs 25.
>
> Can Ubuntu support a new version?  (26, 27 or higher?).

:O ??

Absolutely, I'm on Debian (and Ubuntu is Debian on steroids -
useless ones, some say ...) and I use Emacs version

  GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, cairo
  version 1.16.0) of 2022-12-26 [commit
  2ffe1494e16381cfc7fec95a6a0879f268df3e95]

Emacs 25.1 was released 2016-09-17 [1] i.e. 6y 5m 27d ago!
So you are absolutely right, most certainly don't do
development on that!

Here are commands how to install the latest version, they work
on Debian so why not on Ubuntu with or without very minor
changes required:

  https://dataswamp.org/~incal/conf/.zsh/install-emacs

[1] https://www.gnu.org/software/emacs/history.html

-- 
underground experts united
https://dataswamp.org/~incal




^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newest emacs version that can run on Ubuntu 18.04
  2023-03-16 20:46 Newest emacs version that can run on Ubuntu 18.04 Patrick Mahan
                   ` (3 preceding siblings ...)
  2023-03-16 22:30 ` Emanuel Berg
@ 2023-03-17  1:57 ` Po Lu
  2023-03-20  6:41 ` Michael Heerdegen
  2023-03-28 13:26 ` Oleg Cherkasov
  6 siblings, 0 replies; 16+ messages in thread
From: Po Lu @ 2023-03-17  1:57 UTC (permalink / raw)
  To: Patrick Mahan; +Cc: Help Gnu Emacs

Patrick Mahan <plmahan@gmail.com> writes:

> All,
>
> I have to do development work on some machines running Ubuntu 18.04 which
> seems to only support emacs 25.
>
> Can Ubuntu support a new version?  (26, 27 or higher?).
>
> Thanks,
>
> Patrick

Later versions of Emacs should be able to run on that (very new, by our
standards) system.  If it fails to compile, please report a bug.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newest emacs version that can run on Ubuntu 18.04
  2023-03-16 22:30 ` Emanuel Berg
@ 2023-03-20  1:38   ` David Masterson
  2023-03-20  3:09     ` Po Lu
  2023-03-20  8:13     ` tomas
  0 siblings, 2 replies; 16+ messages in thread
From: David Masterson @ 2023-03-20  1:38 UTC (permalink / raw)
  To: help-gnu-emacs

Emanuel Berg <incal@dataswamp.org> writes:

> Patrick Mahan wrote:
>
>> I have to do development work on some machines running
>> Ubuntu 18.04 which seems to only support emacs 25.
>>
>> Can Ubuntu support a new version?  (26, 27 or higher?).
>
> Absolutely, I'm on Debian (and Ubuntu is Debian on steroids -
> useless ones, some say ...) and I use Emacs version
>
>   GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, cairo
>   version 1.16.0) of 2022-12-26 [commit
>   2ffe1494e16381cfc7fec95a6a0879f268df3e95]

Interesting.  Cairo is GTK-based?  So, this Emacs runs under GTK?

> Here are commands how to install the latest version, they work
> on Debian so why not on Ubuntu with or without very minor
> changes required:
>
>   https://dataswamp.org/~incal/conf/.zsh/install-emacs

Ack!  This doesn't 'apt get' *all* the dependencies, correct?  You've
already got a GTK and build environment installed, correct?  Chromebook
Linux starts with a base environment that we have to install all the
dependencies by hand and use up limited space on the memory hard drive.
Suggestions on what to install w/o installing everything?

-- 
David Masterson



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newest emacs version that can run on Ubuntu 18.04
  2023-03-20  1:38   ` David Masterson
@ 2023-03-20  3:09     ` Po Lu
  2023-03-20  3:48       ` David Masterson
  2023-03-20  8:13     ` tomas
  1 sibling, 1 reply; 16+ messages in thread
From: Po Lu @ 2023-03-20  3:09 UTC (permalink / raw)
  To: David Masterson; +Cc: help-gnu-emacs

David Masterson <dsmasterson@gmail.com> writes:

> Ack!  This doesn't 'apt get' *all* the dependencies, correct?  You've
> already got a GTK and build environment installed, correct?  Chromebook
> Linux starts with a base environment that we have to install all the
> dependencies by hand and use up limited space on the memory hard drive.
> Suggestions on what to install w/o installing everything?

People say it is easier to run feature/android on Chrome OS than to
build Emacs for GNU/Linux.

I don't use Chrome OS so I can't say as to how accurate that statement
is.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newest emacs version that can run on Ubuntu 18.04
  2023-03-20  3:09     ` Po Lu
@ 2023-03-20  3:48       ` David Masterson
  0 siblings, 0 replies; 16+ messages in thread
From: David Masterson @ 2023-03-20  3:48 UTC (permalink / raw)
  To: Po Lu; +Cc: help-gnu-emacs

Po Lu <luangruo@yahoo.com> writes:

> David Masterson <dsmasterson@gmail.com> writes:
>
>> Ack!  This doesn't 'apt get' *all* the dependencies, correct?  You've
>> already got a GTK and build environment installed, correct?  Chromebook
>> Linux starts with a base environment that we have to install all the
>> dependencies by hand and use up limited space on the memory hard drive.
>> Suggestions on what to install w/o installing everything?
>
> People say it is easier to run feature/android on Chrome OS than to
> build Emacs for GNU/Linux.
>
> I don't use Chrome OS so I can't say as to how accurate that statement
> is.

Me either.  I tried building Emacs v27 (I think) on Debian (Chromebook
Linux) and the dependencies for GTK were just too big and I wasn't sure
what I'd get without setting up GTK.  So I wound up building Lucid Emacs
because the X-server was already there and the dependencies weren't too
big. I lost that build, though, when I power-washed the Chromebook, so
I've been using the pre-built 27.1 that you can get via 'apt install'.
Works, but I wish it supported speech-to-text (interestingly, running
'emacs -nw' on the console does support it).

I see an "Android Debug Bridge" in the Linux setup for the Chromebook,
but I don't know anything about Android.

-- 
David Masterson



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newest emacs version that can run on Ubuntu 18.04
  2023-03-16 20:46 Newest emacs version that can run on Ubuntu 18.04 Patrick Mahan
                   ` (4 preceding siblings ...)
  2023-03-17  1:57 ` Po Lu
@ 2023-03-20  6:41 ` Michael Heerdegen
  2023-03-23  0:38   ` David Masterson
  2023-03-28 13:26 ` Oleg Cherkasov
  6 siblings, 1 reply; 16+ messages in thread
From: Michael Heerdegen @ 2023-03-20  6:41 UTC (permalink / raw)
  To: Patrick Mahan; +Cc: Help Gnu Emacs

Patrick Mahan <plmahan@gmail.com> writes:

> Can Ubuntu support a new version?  (26, 27 or higher?).

Does this maybe help?

  https://learnubuntu.com/install-emacs/

Michael.



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newest emacs version that can run on Ubuntu 18.04
  2023-03-20  1:38   ` David Masterson
  2023-03-20  3:09     ` Po Lu
@ 2023-03-20  8:13     ` tomas
  1 sibling, 0 replies; 16+ messages in thread
From: tomas @ 2023-03-20  8:13 UTC (permalink / raw)
  To: David Masterson; +Cc: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]

On Sun, Mar 19, 2023 at 06:38:38PM -0700, David Masterson wrote:
> Emanuel Berg <incal@dataswamp.org> writes:
> 
> > Patrick Mahan wrote:
> >
> >> I have to do development work on some machines running
> >> Ubuntu 18.04 which seems to only support emacs 25.
> >>
> >> Can Ubuntu support a new version?  (26, 27 or higher?).
> >
> > Absolutely, I'm on Debian (and Ubuntu is Debian on steroids -
> > useless ones, some say ...) and I use Emacs version
> >
> >   GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, cairo
> >   version 1.16.0) of 2022-12-26 [commit
> >   2ffe1494e16381cfc7fec95a6a0879f268df3e95]
> 
> Interesting.  Cairo is GTK-based?  So, this Emacs runs under GTK?

No, more the other way around: cairo is a drawing surface which
became a GTK component. It meshes well with GTK (can, e.g. use
Pango as a font rendering engine), but can be used standalone.

But don't believe me, go to the authoritative source [1].

Cheers

[1] https://cairographics.org/

-- 
t

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newest emacs version that can run on Ubuntu 18.04
  2023-03-20  6:41 ` Michael Heerdegen
@ 2023-03-23  0:38   ` David Masterson
  2023-03-23  2:59     ` Michael Heerdegen
  0 siblings, 1 reply; 16+ messages in thread
From: David Masterson @ 2023-03-23  0:38 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: Patrick Mahan, Help Gnu Emacs

Michael Heerdegen <michael_heerdegen@web.de> writes:

> Patrick Mahan <plmahan@gmail.com> writes:
>
>> Can Ubuntu support a new version?  (26, 27 or higher?).
>
> Does this maybe help?
>
>   https://learnubuntu.com/install-emacs/

Interesting.  The one thing I don't see in there is how to install
'snap'.  Chromebooks come with a bare bones Debian 11.6 (because they
usually don't have a lot of disk space) and you have to load everything
via 'apt' (or so I thought).  The 'snap' package in the Debian repo
seems to be related to studying DNA genes.

I'll look at Flatpak.  Thanks.

-- 
David Masterson



^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newest emacs version that can run on Ubuntu 18.04
  2023-03-23  0:38   ` David Masterson
@ 2023-03-23  2:59     ` Michael Heerdegen
  0 siblings, 0 replies; 16+ messages in thread
From: Michael Heerdegen @ 2023-03-23  2:59 UTC (permalink / raw)
  To: help-gnu-emacs

David Masterson <dsmasterson@gmail.com> writes:

> Interesting.  The one thing I don't see in there is how to install
> 'snap'.  Chromebooks come with a bare bones Debian 11.6 (because they
> usually don't have a lot of disk space) and you have to load everything
> via 'apt' (or so I thought).  The 'snap' package in the Debian repo
> seems to be related to studying DNA genes.

I did not ever try to install snap because it's an Ubuntu/Canonical
thing, so I went with Flatpak, which is well suited if you want to avoid
building stuff yourself.

For snap on Debian I think you must look at "snapd" (seems to come with
the executable "snap") - and seems "gnome-software-plugin-snap" is a
graphical front end.


> I'll look at Flatpak.  Thanks.

Good - IME it's really easy to use.


Michael.




^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newest emacs version that can run on Ubuntu 18.04
  2023-03-16 21:49   ` Óscar Fuentes
@ 2023-03-28 12:55     ` Byung-Hee HWANG
  0 siblings, 0 replies; 16+ messages in thread
From: Byung-Hee HWANG @ 2023-03-28 12:55 UTC (permalink / raw)
  To: Help Gnu Emacs

> That's for installing Emacs proper, of course. For installing the build
> dependencies the command is
>
> sudo apt-get build-dep emacs
>

That is great skill, thanks!

Sincerely,

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: Newest emacs version that can run on Ubuntu 18.04
  2023-03-16 20:46 Newest emacs version that can run on Ubuntu 18.04 Patrick Mahan
                   ` (5 preceding siblings ...)
  2023-03-20  6:41 ` Michael Heerdegen
@ 2023-03-28 13:26 ` Oleg Cherkasov
  6 siblings, 0 replies; 16+ messages in thread
From: Oleg Cherkasov @ 2023-03-28 13:26 UTC (permalink / raw)
  To: help-gnu-emacs

On 16.03.2023 21:46, Patrick Mahan wrote:
> All,
> 
> I have to do development work on some machines running Ubuntu 18.04 which
> seems to only support emacs 25.
> 
> Can Ubuntu support a new version?  (26, 27 or higher?).

If you decide to build the latest 28.2 yourself on 18.04/bionic then you 
may find useful brief notes, I made last time compiling it:

sudo apt install autoconf make texinfo gnutls-bin libgccjit-8-dev \
libgtk-3-dev libwebkit2gtk-4.0-dev libxpm-dev libjpeg-dev libgif-dev \ 
libtiff-dev libjansson-dev libtinfo-dev

The list of options to compile with:

./configure --prefix=/usr/local --program-suffix=28 --with-modules \
--with-file-notification=inotify --with-mailutils --with-harfbuzz \
--with-json --with-x=yes --with-x-toolkit=gtk3 \
--with-lcms2 --with-cairo --with-xpm=yes --with-gif=yes \
--with-gnutls=yes --with-jpeg=yes --with-png=yes --with-tiff=yes \
--with-xwidgets CFLAGS=-O2

Pull only the latest released sources:

git clone --depth 1 --branch emacs-28 git://git.savannah.gnu.org

And do you forget to run:

./autogen.sh


Cheers,
Oleg



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2023-03-28 13:26 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-16 20:46 Newest emacs version that can run on Ubuntu 18.04 Patrick Mahan
2023-03-16 21:26 ` Marcus Harnisch
2023-03-16 21:29 ` Óscar Fuentes
2023-03-16 21:49   ` Óscar Fuentes
2023-03-28 12:55     ` Byung-Hee HWANG
2023-03-16 21:58 ` christian de larrinaga via Users list for the GNU Emacs text editor
2023-03-16 22:30 ` Emanuel Berg
2023-03-20  1:38   ` David Masterson
2023-03-20  3:09     ` Po Lu
2023-03-20  3:48       ` David Masterson
2023-03-20  8:13     ` tomas
2023-03-17  1:57 ` Po Lu
2023-03-20  6:41 ` Michael Heerdegen
2023-03-23  0:38   ` David Masterson
2023-03-23  2:59     ` Michael Heerdegen
2023-03-28 13:26 ` Oleg Cherkasov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).