Difference between revisions of "Forum:Patching help"

From NetHackWiki
Jump to navigation Jump to search
(you can't patch a binary download, but you can download the source and patch that)
Line 7: Line 7:
  
 
: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)
 
: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)
 +
 +
Will I have to uninstall the NetHack already running?
 +
[[User:Jubilex|Jubilex]] ([[User talk:Jubilex|talk]]) 18:36, 27 August 2015 (UTC)

Revision as of 18:36, 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)

Will I have to uninstall the NetHack already running? Jubilex (talk) 18:36, 27 August 2015 (UTC)