简体   繁体   English

如何从文件安装 Emacs 包

[英]How install an Emacs package from file

I have Emacs installed on an internal PC in the organization that is not open to the Internet.我在不对 Internet 开放的组织的内部 PC 上安装了 Emacs。

For the sake of that question I'd like to install the "auto-complete" package.为了这个问题,我想安装“自动完成”包。

I have downloaded a tar file from MELPA and a zip file from GitHub and copied them to my organization PC.我已经从 MELPA 下载了一个 tar 文件,从 GitHub 下载了一个 zip 文件,并将它们复制到我的组织 PC 上。

Now how can I install the auto-complete package using either the tar or zip file?现在如何使用 tar 或 zip 文件安装自动完成包?

By the way I see in MELPA that the auto-complete package depends on the pop-up 0.5.0 package.顺便说一句,我在 MELPA 中看到自动完成包依赖于弹出的 0.5.0 包。

Should I install that before?我应该先安装吗?

See Ch f package-install-file请参见Ch f package-install-file

And yes, you will need to manually install any dependencies first, if Emacs will not be able to fetch them on its own.是的,如果 Emacs 无法自行获取依赖项,您将需要先手动安装任何依赖项。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM