I have a linux box with root access. I've django library installed as uncompressed python egg. Now I want to install this patch.
How can I do it?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Use the 'patch' tool to apply your patch. The description provided to you above is likely useful; first move to the django source directory or where ever you've uncompressed your egg, and then run patch (if you don't have patch installed simply do an apt-get install patch). I'd use -p1 as an arg, not sure why -p2 was specified, but my command might look like this;
patch -p1 --dry-run < name.patch
You can find out more with 'man patch'.