I recently switched from sublime text 3 to emacs so I still don't quite understand everything. When I launch emacs and run package-install
, I can not look up packages from Melpa to install, e.g., projectile
. Although once I have ran package-list-packages
the list of available packages is refreshed and the packages from Melpa are indexed. Then if I run package-install
again, I can find more packages including the ones from Melpa (hence projectile
). I have this in my .emacs
settings file:
(setq package-archives
'(("gnu" . "http://elpa.gnu.org/packages/")
;; ("marmalade" . "https://marmalade-repo.org/packages/")
("melpa" . "http://melpa.milkbox.net/packages/")))
emacs --version
returns:
GNU Emacs 25.2.2
Copyright (C) 2017 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
I am running this on Ubuntu 18.04.3 LTS.