1

I'm building a script to install a version of emacs (24.5 in this case) on a small server running on a raspberry pi. Since this will be in headless mode, I have no need for a GUI/X windows based installation and will run the configuration with the --without-x flag.

That being said, how can I find all the dependencies needed by emacs24.5 (or in general) so that I can build a list for installation?

Further context:

  1. Using Raspbian OS, I do not know how to get sudo apt-get build-dep emacs24 to work as a command, so that is why I am asking for a list of these dependencies.
  2. the recommendation from this SX answer seems to be the closest to this, but apt-cache depends emacs24-nox seems to give a shallow answer in terms of dependencies. Is this all I really would need to put?
3
  • Looks about right, but why not just have apt-get install emacs24-nox as your script, maybe followed by apt-get clean to keep the space requirements down?
    – icarus
    Commented Oct 25, 2016 at 15:09
  • I agree that's a functional compromise, but it's just one of those things that I'm used to the packages built with 24.5 in mind that I want it. That said, I actually think I found a solution to get build-dep to work and will post it soon.
    – zaile
    Commented Oct 25, 2016 at 23:33
  • Annoyingly the SX answer has been deleted. Commented Nov 3, 2018 at 9:10

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.