Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,Actually i need to unistall a pathch in Linux (RHEL 5) .Can anyone help me with this by saying the command i ned to use to uninstall it and where to use it
Last edited by mailtoani1995; 03-20-2017 at 03:22 AM.
I hope someone may come along soon with an answer to your query, but given that RHEL is a paid commercial product, I would advise you in the first place to contact RHEL who will give you the support that you need.
Can I also advise you to provide details of which patch you are talking about, and also to give your threads more meaningful names in the future: a title such as "Uninstall patch in RHEL 5" would have been more useful.
Reversing patches
Last updated March 15, 2016.
You can reverse a patch if you have finished testing it, or if you want to see whether a problem
has been introduced by a particular patch. You should also reverse a patch prior to adding a newer,
updated version of the same patch. To reverse the patch, use the patch command with the -R option:
patch -p1 -R < path/file.patch
(If your patch was applied with the -p0 option, use that instead.)
Or:
git apply -R path/file.patch
If you do not have a subscription for support on RHEL5 then you should not be using it, or relying on it as a server. Note also that RHEL5 is going on extended support as of early this year, therefore right now. RHEL7 is the most recent version.
As hydrurga says, you should be contacting Redhat and you should also use better thread title when you post your next thread. While bsth123's reply may be correct, it may also be incorrect because we really have no idea what you've done to this system, how long it has been in service, if you have downloaded a trial version of RHEL and are experimenting, or if this is a production server which should have a support contract, be that current or expired. If something like an expired service contract on a true RHEL production server, then I do not recommend you tinker with it, but instead see about getting paid support and getting the correct, answer for your specific case from Redhat. Otherwise you may be risking the stability of an operational server.
Now, if instead you are experimenting with RHEL and are asking questions about it. Perhaps consider CentOS as a free alternative to RHEL.
It would be helpful if you updated your question as well as changed your thread title, you can do both of those, and advised people more details of your exact problem and why you feel you need to uninstall a patch.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.