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 ?

  • beleza pura
    link
    fedilink
    arrow-up
    3
    ·
    4 days ago

    i use debian, so i had to do this:

    apt build-dep emacs
    

    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 well

    • ZeroOne@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      4 days ago

      <u>So the sequence is as follows</u>:-

      1. First of all we’ll have to do this in Debian
      apt build-dep emacs
      
      1. Next up
      git clone https://git.savannah.gnu.org/cgit/emacs.git
      
      1. Then we do this after navigating to the emacs source code folder
      ./configure && make && make install
      

      Did I miss anything ??

      • beleza pura
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        3 days ago

        you might have to set a different --prefix during the ./configure stage if you don’t want to install it as root, but other than that, i think this is it. please read the INSTALL file and also the output of ./configure --help