How to remove an installed package in Emacs (ver 24+)?

tkf picture tkf · May 9, 2013 · Viewed 30.1k times · Source

I'd like to remove several packages that I've installed. When I invoke package-list-packages, I notice that there is a 'd' (mark for deletion) command and an 'x' (execute). However, it seems like this simply removes the package name/description from the list and not the actual files under ~/.emacs.d/elpa. What am I doing wrong or missing? Surely there must be some way to remove installed packages.

Answer

Ted Feng picture Ted Feng · May 27, 2013

The command package-menu-mark-delete (key 'd') followed by package-menu-execute (key 'x') worked for me.

Also here is very good introduction: Package management in emacs - The good, the bad and the ugly