Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any GUI available for patch command? I need it because sometime I need to see the actual file before applying patch to it and it is very cumbersome to open patch file and then open the individual files listed in there. Even if I do that I cant compare the modified i.e patched file and unmodified/unpatched file.

share|improve this question
Is the Stack Overflow question A visual patch tool for Linux helpful? – N.N. Jun 20 '11 at 10:14
N.N. no. not really. Kompare seems like a nice tool. I am looking for something similar for Ubuntu. – binW Jun 20 '11 at 10:23
kompare is in Ubuntu – N.N. Jun 20 '11 at 10:25
N.N. Ya it is there in the repo but it is actually for Kubuntu. As the package description says "This package is part of the KDE Software Development Kit module" so installing it means installing all KDE dependencies and I am not willing to install all those. – binW Jun 20 '11 at 10:31
There are lots of dependencies for it but there is also comments on Stack Overflow saying that its worth it. The thread Patch GUI might be relevant even if it's a dead end. – N.N. Jun 20 '11 at 10:42

When you open a patch file in emacs, you can put the cursor on a hunk and hit C-c C-c to jump to the corresponding location in the patched file and it will tell you if the patch has already been applied or not. Then you can use C-c C-a to apply the hunk.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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