Forum:Patching help

From NetHackWiki
Revision as of 18:08, 27 August 2015 by Ais523 (talk | contribs) (you can't patch a binary download, but you can download the source and patch that)
Jump to navigation Jump to search


I run NetHack from Linux via sudo apt-get install. Is there a way for me to apply patches?

Not directly. `apt-get install` is giving you a binary (i.e. pre-compiled) version that you can't patch against, because you aren't running the compiler yourself. However, what you can do is to download the source separately, and patch/compile/install that. It's possible to do this via apt, but I wouldn't recommend that because it's quite complex; downloading the source from nethack.org and following the instructions there may be easier. Ais523 (talk) 18:08, 27 August 2015 (UTC)