Difference between revisions of "Forum:Patching help"

From NetHackWiki
Jump to navigation Jump to search
(Created page with "{{Forumheader|Watercooler}} <!-- Please put your content under this line. Be sure to sign your edits with four tildes ~~~~ --> I run NetHack from Linux via sudo apt-get ins...")
 
(you can't patch a binary download, but you can download the source and patch that)
Line 5: Line 5:
 
I run NetHack from Linux via sudo apt-get install.
 
I run NetHack from Linux via sudo apt-get install.
 
Is there a way for me to apply patches?
 
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. [[User:Ais523|Ais523]] ([[User talk:Ais523|talk]]) 18:08, 27 August 2015 (UTC)

Revision as of 18:08, 27 August 2015


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)