Questions tagged [melpa]

MELPA is a growing collection of package.el-compatible Emacs Lisp packages built automatically on the server from the upstream source code using simple recipes.

MELPA is a growing collection of package.el-compatible Lisp packages built automatically on the server from the upstream source code using simple recipes.

The main features of MELPA is

  • Up-to-date packages
  • Installable in any recent Emacs using "package.el"
  • Curated
  • Comprehensive
  • Automatic updates
  • Extensible

To use the MELPA repository, add it to package-archives after and before the call to package-initialize in init.el file. In Emacs version lesser than 24, also need to explicitly include the GNU ELPA archive, which provides important compatibility libraries like cl-lib.

Since package.el doesn't allow locking packages to certain version, MELPA packages will override those available from any other package source, so melpa.el package is provided which contains code to allow restricting packages to specific repositories. This allows someone to blacklist packages that come from a specific repository, or blacklist all packages from a repository and only whitelist certain packages.

You should be using this tag if your question is related to the use of MELPA.

49 questions
80
votes
4 answers

Package listed in MELPA, but not found in package install

I am currently trying to install ENSIME for emacs 24.3.1 following the instructions at https://github.com/ensime/ensime-emacs under the quick start; I've added (require 'package) (add-to-list 'package-archives '("melpa" .…
user2187656
  • 935
  • 1
  • 7
  • 8
32
votes
5 answers

Error updating emacs packages: Failed to download 'gnu' archive

My init.el uses this to initialize packages: (package-initialize) (add-to-list 'package-archives '("gnu" . "http://elpa.gnu.org/packages/")) (add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/")) (add-to-list…
yayitswei
  • 4,587
  • 5
  • 27
  • 34
16
votes
1 answer

How to install melpa in emacs?

I need to install MELPA into my emacs 23.3 version. 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. I am using ubuntu 12.04 I need MELPA to install OmniSharp…
Pratik Singhal
  • 6,283
  • 10
  • 55
  • 97
15
votes
1 answer

emacs: package-name is an available obsolete package

Whenever I install a MELPA package, I get this message: package-name is an available obsolete package Here is a screenshot of what I mean (first line): I tried this solution but it did not help. How to fix it?
Billal Begueradj
  • 20,717
  • 43
  • 112
  • 130
9
votes
1 answer

Emacs 24.5 with prelude stuck on contacting host melpa.org

I'm running emacs 24.5 installed via homebrew. for some weird reason my emacs gets stuck on Contacting host: melpa.org:80 I even tried a fresh install of emacs (removed .emacs.d folder as well) Also i'm able to ping the url melpa.org through…
9
votes
1 answer

How do I install MELPA packages via El-Get?

The El-Get documentation says that El-Get supports package.el and the MELPA documentation shows how to use MELPA with package.el. How do I install MELPA packages using El-Get? Failed Attempt I'm using Emacs 23, so package.el is not part of Emacs. …
ntc2
  • 11,203
  • 7
  • 53
  • 70
4
votes
4 answers

Emacs can't find package to install

I got this error when trying install Emacs package automatically. Warning (initialization): An error occurred while loading `/Users/username/.emacs.d/init.el': File error: http://melpa.org/packages/projectile-20150619.800.el, Not found To ensure…
Hoa Hoang
  • 1,212
  • 14
  • 20
4
votes
3 answers

Emacs: can't autostart projectile installed through MELPA

I'm fairly new to emacs. In fact I'm learning the editor and trying to setup something that will replicate "go to a file inside the project" feature known from Code::Blocks or certain plugins of notepad++. 'projectile' fulfills this need, and I…
ZalewaPL
  • 1,104
  • 1
  • 6
  • 14
4
votes
1 answer

Trying to install malabar-mode in emacs, getting "Cannot open load file, malabar-mode"

So I've followed the instructions on the malabar-mode github page. I have emacs packages set up, with melpa added as a an archive (which is where malabar-mode is). mvm's containing directory is in my exec-path, and I have added the following to my…
kalaracey
  • 815
  • 1
  • 12
  • 28
3
votes
1 answer

Emacs Java Malabar Mode

I was using JDEE for my java projects in Emacs. JDEE does not work well for maven. Recently I came across Malabar Mode which has better support for Maven based Java projects in Emacs. I managed to install malbar-mode using melpa in M-x…
Vijayendra Bapte
  • 1,378
  • 3
  • 14
  • 23
3
votes
2 answers

Customize Emacs for Mac OSX app

I am using the Emacs for Mac OSX app, and I need to modify the init.el file, according to the instructions on MELPA. The problem is I can't find any init.el file. Is there one in an obscure location, or is there some other file serving the same…
Per Quested Aronsson
  • 11,380
  • 8
  • 54
  • 76
2
votes
2 answers

how to manually install packages from MELPA?

So, I have been trying to install use-package by(package-install 'use-package) but I keep getting the error use-package is unavailable. I have also tried to install other packages but they are also unavailable. I was wondering if could go to the…
user14637249
2
votes
0 answers

Why are official ELPA repositories not accessible from within China Mainland

I am setting up my archlinux-desktop in mainland China. While configuring ELPA for emacs, it turned out that (at least) the following archives are not available: (setq package-archives '( ("gnu" . "https://elpa.gnu.org/packages/") ("melpa" .…
Benj
  • 889
  • 1
  • 14
  • 31
2
votes
2 answers

Aquamacs failed to download melpa archive

I am using Aquamacs 3.3 based on Emacs GNU Emacs 25.1.1 My ~/Library/../Preferences.el file includes the instructions for melpa. (require 'package) ;; Marmalade ;;(add-to-list 'package-archives '("melpa-stable" .…
2
votes
1 answer

Kieran healy emacs 25.1.1 starter kit install error magit package unavailable

I'm trying to install Kieran Healy's Emacs Starter Kit (https://github.com/kjhealy/emacs-starter-kit) on linux arch (I have also tried on a Mint installation, running into the same errors), but I'm having quite some trouble. After deleting my…
Emilbk
  • 21
  • 1
1
2 3 4