Categories
Operating System Programming

Patching Source Code in Linux

Recently I download one source code for linux box, But unfortuntely that code is too old (2002) so we need to patch the source code as its available for my Linux distro.

Command is simple for it though we need a PATCH installer package first.

Command is

patch -p1 < [Patch_file_name]

this will patch your source code…

Ah one thing, your patch file must be in root of your source code 🙂

So enjoy your patched codes

Sumit Gupta

By Sumit Gupta

Sumit Gupta, a developer by choice.