Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install GNU Emacs on Windows

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article focuses on "how to install GNU Emacs on Windows". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to install GNU Emacs on Windows.

Even if your operating system is closed source, you can still use this popular open source text editor.

GNU Emacs is a popular text editor designed for all kinds of programmers. Because it was developed on Unix and widely used on Linux (also available in macOS), people sometimes don't realize that it can also be used on Microsoft Windows. You don't have to be an experienced or full-time programmer to use Emacs. You can download and install Emacs with just a few clicks, and this article shows you how to do this.

You can install Windows manually or by using a package manager, such as Chocolatey.

7-zip

If you haven't already installed 7-zip in Windows, install it first. 7-zip is an open source archiving program that creates and decompresses ZIP, 7z, TAR, XZ, BZIP2, and GZIP (and more) files. This is a valuable tool for Windows users.

After you install 7-zip, when you browse for files in Windows Explorer, there is a new 7-zip archive option in the right-click menu.

Powershell and Chocolatey

To install GNU Emacs using Chocolatey on Windows:

PS > choco install emacs-full

After installation, start Emacs in Powershell:

PS > emacs

Emacs running on Windows

Download GNU Emacs for Windows

To install GNU Emacs manually on Windows, you must download Emacs.

GNU Windows downloader

It will open the connection to the nearest server and show all available Emacs versions. Locate the directory with the highest distribution number and click enter. Windows has many different Emacs builds, but the most generic version is only named emacs-VERSION-ARCHITECTURE.zip. VERSION depends on the version you want to download, while ARCHITECTURE depends on whether you are using a 32-bit or 64-bit computer. Most modern computers are 64-bit, but if you have any questions, you can download the 32-bit version, which runs on both.

If you want to download Emacs V26 for a 64-bit computer, you should click on the link to emacs-26.2-x86_64.zip. There are smaller downloads (such as "no-deps", etc.), but you must be familiar with how to build Emacs from source code, which libraries it needs and which libraries are already available on your computer. In general, it is easiest to get a larger version of Emacs because it contains everything you need to run on your computer.

Decompress Emacs

Next, extract the downloaded ZIP file. To extract, right-click the Emacs ZIP file and choose Extract to Emacs-VERSION from the 7-zip submenu. This is a large archive, so it may take some time to extract it, but when you are done, you will have a new directory containing all the files distributed with Emacs. For example, in this case, emacs-26.2-x86_64.zip is downloaded, so the unzipped directory is emacs-26.2-x86_64.

Start Emacs

In the Emacs directory, locate the bin directory. This folder stores all binary executables (EXE files) that are distributed with Emacs. Double-click the emacs.exe file to start the application.

Emacs running on Windows

You can create shortcuts to emacs.exe on your desktop for easy access.

At this point, I believe you have a deeper understanding of "how to install GNU Emacs on Windows". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report