help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question on updating to 29.1


From: Basile Starynkevitch
Subject: Re: Question on updating to 29.1
Date: Fri, 11 Aug 2023 10:54:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0


On 8/11/23 10:45, PierGianLuca wrote:
Thank you Philip and Basile (who gave me advice off-list).

Sorry for not being clear:

Did you install version 28.1 from a Git checkout or from a tarball?

Tarball. I first *un*installed the Ubuntu pre-packaged Emacs.

I considered fetching from git, but it would add a layer of things that I don't fully understand.

So I can simply re-do what I with 28.1 (with minor changes as Philip warned about), and the new Emacs version will simply replace the old.


Don't replace but do have both.

Keep Ubuntu emacs on /usr/bin/emacs. Perhaps reinstall that package.

Kepp your compiled emacs on /usr/local/bin/emacs or /usr/local/bin/my-emacs or $HOME/bin/emacs


You need to run the configure script appropriately.

I did configure my emacs-30 from source code using:

'./configure'  'CFLAGS=-O2 -g' 'CC=/usr/bin/gcc-13' '--with-native-compilation' '--with-json' '--enable-link-time-optimization' '--with-x-toolkit=gtk3' '--program-suffix=-trunk'

adapt that command to your tastes and settings.

On Linux, choosing between old emacs and youre new one is mostly a matter of

configuring your window manager

defining appropriate GNU bash (or Unix shell) functions or aliases to run your emacs or Ubuntu emacs

setting a correct $PATH ; mine (set in  ~/.zshrc since my shell is zsh.org) $HOME/.opam/default/bin:$HOME/bin:$HOME/scripts:/usr/local/bin:$HOME/.opam/default/bin:/usr/bin:/bin:/sbin:/usr/sbin

NB. My pet free software project is the RefPerSys inference engine on https://github.com/RefPerSys/RefPerSys/ - contributors are welcome.

--
Basile Starynkevitch                  <basile@starynkevitch.net>
(only mine opinions / les opinions sont miennes uniquement)
92340 Bourg-la-Reine, France
web page: starynkevitch.net/Basile/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]