debian/ubuntu 上安装和使用 Emacs


sudo apt update
sudo apt install emacs

在debian 9上安装的版本是emacs24,在ubuntu 18.04上安装的版本是emacs25,目前最新版是emacs26,如果想安装最新版,需要从源码编译安装:GNU Emacs download - GNU Project


File Edit Options Buffers Tools Help                                                                                                                                 
Welcome to GNU Emacs, one component of the GNU/Linux operating system.

Get help           C-h  (Hold down CTRL and press h)
Emacs manual       C-h r        Browse manuals     C-h i
Emacs tutorial     C-h t        Undo changes       C-x u
Buy manuals        C-h RET      Exit Emacs         C-x C-c
Activate menubar   M-`
(C-’ means use the CTRL key.M-’ means use the Meta (or Alt) key.
If you have no Meta key, you may instead type ESC followed by the character.)
Useful tasks:
Visit New File                  Open Home Directory
Customize Startup               Open *scratch* buffer

GNU Emacs 25.2.2 (x86_64-pc-linux-gnu, GTK+ Version 3.22.21)
 of 2017-09-22, modified by Debian
Copyright (C) 2017 Free Software Foundation, Inc.

GNU Emacs comes with ABSOLUTELY NO WARRANTY; type C-h C-w for full details.
Emacs is Free Software--Free as in Freedom--so you can redistribute copies
of Emacs and modify it; type C-h C-c to see the conditions.
Type C-h C-o for information on getting the latest version.

-UUU:%%--F1  *GNU Emacs*    All L1     (Fundamental) ----------------------------------------------------------------------------------------------------------------
For information about GNU Emacs and the GNU system, type C-h C-a.




发布了543 篇原创文章 · 获赞 184 · 访问量 59万+


©️2019 CSDN 皮肤主题: 编程工作室 设计师: CSDN官方博客