I just did a fresh install of Ubuntu 17.10 and installed Emacs25 from the Software Centre. I tried to add MELPA to the .emacs file, but running emacs .emacs created a new file. I have not been able to find the config file I am looking for under any other file name. How can I access this file? Thanks.


After making a customization within an emacs window, the .emacs file showed up and I was able to add MELPA to it. Not sure why this happened still though.

  • Do you see other .filename or hidden files? – George Udosen Dec 9 '17 at 8:08
  • Yes. I checked the files app and did C-h. There was a .emacs.d folder but nothing useful inside – tgohg15243 Dec 9 '17 at 8:39

There's no reason for the file to exist just because you installed emacs. The file contains user customization, so it didn't exist until you started the program and did some customization. Creating the file in an editor is perfectly fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.