[英]How to install melpa in emacs?
I need to install MELPA into my emacs 23.3 version. 我需要在我的emacs 23.3版本中安装MELPA。 I have googled for the ways to install it but couldn't find/understand any of them.
我已经搜索了安装它的方法,但无法找到/理解它们中的任何一个。
Can anyone please help me with installing MELPA. 任何人都可以帮我安装MELPA。 I am using ubuntu 12.04
我使用的是ubuntu 12.04
I need MELPA to install OmniSharp which will help for autocompletion in C# 我需要MELPA来安装OmniSharp,这将有助于C#中的自动完成
MELPA is actually just a repository of emacs packages. MELPA实际上只是emacs包的存储库。 The emacs package manager has been included in emacs since version 24. For 23.3 you first need to get a compatible version of
package.el
(there is one here ). 自版本24以来,emacs包管理器已包含在emacs中。对于23.3,您首先需要获得
package.el
的兼容版本( 此处有一个)。
After putting package.el
in your load-path
, you then need to add MELPA to the list of repositories: 将
package.el
放入load-path
,需要将MELPA添加到存储库列表中:
(require 'package)
;; Any add to list for package-archives (to add marmalade or melpa) goes here
(add-to-list 'package-archives
'("MELPA" .
"http://melpa.milkbox.net/packages/"))
(package-initialize)
From the EmacsWiki . 来自EmacsWiki 。
To then install OmniSharp, first refresh the package archive with Mx package-refresh-contents
, then you can use Mx package-install
RET omnisharp
. 要安装OmniSharp,首先使用
Mx package-refresh-contents
刷新软件包存档,然后使用Mx package-install
RET omnisharp
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.