90 votes
Accepted

What are the practical differences between the various Emacs Package Repositories?

GNU ELPA is the official GNU Emacs package repository. It's the only one enabled by default, which means that it has the greatest reach. At the same time, submitting a package there is a bit of a ...
59 votes
Accepted

Do I still need GNU ELPA if I have MELPA?

First of all, ELPA is the name of a specification, the Emacs Lisp Package Archive. There are three widely known implementations of that specification, GNU ELPA, Marmalade and MELPA. GNU ELPA is the ...
  • 21.2k
53 votes
Accepted

How to proceed on package.el signature check failure

set package-check-signature to nil, e.g. M-: (setq package-check-signature nil) RET download the package gnu-elpa-keyring-update and run the function with the same name, e.g. M-x package-install RET ...
  • 656
47 votes

What are the practical differences between the various Emacs Package Repositories?

The way I think of it, some repos have more overhead involved with submitting packages than others; the repos with more overhead tend to have fewer packages. In order from most to least overhead: GNU ...
  • 4,998
33 votes

What are the practical differences between the various Emacs Package Repositories?

There are several package repositories available. Official GNU ELPA is the official package repo. It's small, and requires copyright assignment (of all authors of a package) to the FSF to contribute ...
20 votes
Accepted

How can I set up an ELPA server?

I set up a local package archive (Emacs 24.5) using package.el by first creating two directories, pkgs and local. (The names don't matter.) The files comprising your packages go in pkgs, and local ...
20 votes

Failed to download 'gnu' archive

Add the following before package-initialize: (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") This is apparently a bug in Emacs 26.2 for MacOS. I found this solution in this reddit thread.
  • 301
19 votes
Accepted

Technical considerations for package maintainers to not use the Emacs package manager?

The problem you're referring to is probably that when you upgrade a package from within an Emacs session where that package is already in use, the old version of the package will sometimes interfere ...
  • 25.5k
16 votes

How to proceed on package.el signature check failure

FWIW - I had this issue with the signature org-20140407.tar.sig. Like Sigma's package-check-signature is/was allow-unsigned. I changed the package-check-signature value to nil and the problem was ...
15 votes

How to proceed on package.el signature check failure

If you try to install the package gnu-elpa-keyring-update (which seems to have the purpose of updating the keys used by the package manager), you will see in its description that you can do: gpg --...
  • 305
14 votes

What are the practical differences between the various Emacs Package Repositories?

Some additional info, to supplement the other answers here. Some info about MELPA and MELPA "stable" - Start by looking at this pretty-much duplicate question, from StackOverflow, including the ...
  • 70.9k
14 votes

Error retrieving: https://elpa.gnu.org/packages/archive-contents (error http 400)

try this out : (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") reference: https://www.reddit.com/r/emacs/comments/cdei4p/failed_to_download_gnu_archive_bad_request/etw48ux/?utm_source=...
  • 141
12 votes
Accepted

How do I fix "incomprehensible buffer" error when running list-packages?

I had the same problem. Solved it by adding the following to init.el (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")
11 votes
Accepted

How can I change the installation folder for Melpa packages?

You want to change the variable package-user-dir: (setq package-user-dir "~/.emacs.d/packages") Change this setting before calling (package-initialize) or anything involving loading or installing ...
  • 5,554
11 votes
Accepted

Easiest way to downgrade a package installed via MELPA

When you update your packages through the M-x list-packages interface, after the successful installation of the package, you'll get asked if you want to remove the old package. Don't delete them so ...
  • 1,051
11 votes

Easiest way to downgrade a package installed via MELPA

The "nuclear option", as it were, would be to ditch package.el entirely and instead use the package manager that I wrote, straight.el. The advantage would be that straight.el installs packages by ...
11 votes
Accepted

Dired+ missing from MELPA

It is true that MELPA no longer pulls libraries from EmacsWiki. Please obtain Dired+ and other libraries by me from EmacsWiki: dired+.el. All of my pages on EmacsWiki are locked (they require a site ...
  • 70.9k
11 votes

How to deal with this message : IMPORTANT: please install Org from GNU ELPA as Org ELPA will close before Org 9.6

In my experience there are 4 step you may need to take to avoid this annoying message: Remove the org package source in your emacs config. Just remove the line (add-to-list ' package-archives '("...
  • 211
9 votes
Accepted

How to add org-babel-execute function for plantuml?

Wrap the list of languages you want to use with org-babel inside the with-eval-after-load block (with-eval-after-load 'org (org-babel-do-load-languages 'org-babel-load-languages '((ruby . t) (...
9 votes
Accepted

How to view package Full Description (commentary section) inside Emacs

M-x finder-commentary RET <library-name> RET extracts that section and presents it in a separate buffer for reading. There is also M-x finder-by-keyword for discovering libraries this way.
  • 21.2k
8 votes
Accepted

What is the standard way to install packages for Emacs?

Well you've answered your own question: package.el is the standard way to install packages, because it's built into Emacs 24. Everything else is non-standard (and probably somewhat subjective. I ...
  • 44.2k
8 votes
Accepted

Transitioning to MELPA

Basic packages The basic way to use packages^(1) is pretty simple: Add to your init file: (require 'package) ;; You might already have this line (add-to-list 'package-archives '("...
  • 8,659
8 votes

TLS connection to marmalade-repo.org:443 is insecure after updating to Emacs 25

The server configuration on marmalade.org is broken: It does not serve the intermediate certificate it is using. This has been pointed out in half a dozen of issues now at https://github.com/...
  • 181
8 votes

Dired+ missing from MELPA

Is this normal? Yes, MELPA recently updated its policy and no longer includes packages hosted on EmacsWiki, quoting security reasons: https://github.com/melpa/melpa/pull/5008. See also Drew's answer. ...
  • 11.5k
8 votes
Accepted

Is there a package manager for emacs that can use git repositories directly?

There are several: Quelpa Quelpa allows for fetching packages from arbitrary sources and building them into a format that can be installed by package.el Straight Install Emacs packages listed on ...
  • 1,461
8 votes
Accepted

Error retrieving: https://elpa.gnu.org/packages/archive-contents

For me, a fix is: (when (equal emacs-version "27.2") (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3")) I found this at Error retrieving: https://elpa.gnu.org/packages/...
  • 236

Only top scored, non community-wiki answers of a minimum length are eligible