- as a long-time vim user (R.I.P Bam)
- there are very interesting youtube video tutorials about emacs
how to setup?
https://github.com/hubisan/emacs-wsl?tab=readme-ov-file#install-ubuntu
of course instead of apt install emacs, every true hardcore user compiles programs from src
😉
hostnamectl; # tested on Static hostname: ubuntu Icon name: computer-vm Chassis: vm Virtualization: kvm Operating System: Ubuntu 22.04.5 LTS Kernel: Linux 5.15.0-130-generic Architecture: x86-64 Hardware Vendor: QEMU Hardware Model: Standard PC _Q35 + ICH9, 2009_ su - root # install a billion dependencies apt install -y autoconf automake bsd-mailx build-essential dbus-x11 debhelper dpkg-dev emacs-bin-common emacs-common g++-10 gawk gcc-10 git gvfs ibus-gtk3 language-pack-en-base libacl1-dev libasound2 libasound2-dev libaspell15 libasyncns0 libatk1.0-0 libatk-bridge2.0-0 libatspi2.0-0 libbrotli1 libc6 libc6 libc6-dev libc6-dev libcairo2 libcairo2-dev libcairo-gobject2 libcanberra0 libcanberra-gtk3-0 libcanberra-gtk3-module libdatrie1 libdb5.3 libdbus-1-3 libdbus-1-dev libdrm2 libegl1 libenchant-2-dev libepoxy0 libflac8 libfontconfig1 libfontconfig1-dev libfreetype6 libfreetype6-dev libgbm1 libgccjit0 libgccjit-10-dev libgcc-s1 libgdk-pixbuf2.0-0 libgif7 libgif-dev libgl1 libglib2.0-0 libglvnd0 libglx0 libgmp10 libgnutls28-dev libgnutls30 libgpm2 libgpm2 libgpm-dev libgraphite2-3 libgstreamer1.0-0 libgstreamer-gl1.0-0 libgstreamer-plugins-base1.0-0 libgtk-3-0 libgtk-3-dev libgudev-1.0-0 libharfbuzz0b libharfbuzz0b libharfbuzz-icu0 libhyphen0 libibus-1.0-5 libice6 libicu70 libisl23 libjansson4 libjansson-dev libjbig0 libjpeg8-dev libjpeg-dev libjpeg-turbo8 liblcms2-2 liblcms2-dev liblockfile1 liblockfile-dev libltdl7 libm17n-0 libm17n-dev libmpc3 libmpfr6 libncurses5-dev libnotify4 libnss-mdns libnss-myhostname libnss-sss libnss-systemd libogg0 liborc-0.4-0 liboss4-salsa2 libotf1 libotf-dev libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpixman-1-0 libpng16-16 libpng-dev libpulse0 librsvg2-2 librsvg2-dev libsasl2-2 libsecret-1-0 libselinux1-dev libsm6 libsndfile1 libsoup2.4-1 libsqlite3-0 libsqlite3-dev libssl3 libsss-nss-idmap0 libstdc++6 libsystemd-dev libtdb1 libthai0 libtiff5 libtiff-dev libtinfo-dev libtree-sitter0 libtree-sitter-dev libvorbis0a libvorbisenc2 libvorbisfile3 libwayland-client0 libwayland-cursor0 libwayland-egl1 libwayland-server0 libwebkit2gtk-4.0-dev libwebp7 libwebpdemux2 libwebp-dev libwoff1 libx11-6 libx11-xcb1 libxau6 libxcb1 libxcb-render0 libxcb-shm0 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxfixes-dev libxi6 libxi-dev libxinerama1 libxkbcommon0 libxml2 libxml2-dev libxpm4 libxpm-dev libxrandr2 libxrender1 libxrender-dev libxslt1.1 libxt-dev libyajl2 mailutils procps quilt sharutils texinfo zlib1g-dev # quit root, become default non-root user again Ctrl+D cd ~; # go into user's home git clone --depth 1 --branch emacs-29 git://git.sv.gnu.org/emacs.git; # download the src cd ~/emacs; # enter dir where src resides export CC="gcc-10" CXX="gcc-10"; # compiler settings ./autogen.sh; # do some magic ./configure --with-native-compilation --with-json --with-tree-sitter --with-xwidgets; # do some magic time make -j$(nproc); # actually start compilation # on 6x Ryzen 5 cores this is completed in aprox real 3m8.243s sudo make -j$(nproc) install; # install the binaries into system which emacs; # where is it? /usr/local/bin/emacs emacs; # start the program
holy GNU it works 🙂
liked this article?
- only together we can create a truly free world
- plz support dwaves to keep it up & running!
- (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
- really really hate advertisement
- contribute: whenever a solution was found, blog about it for others to find!
- talk about, recommend & link to this blog and articles
- thanks to all who contribute!
