LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 06-04-2022, 11:54 AM   #1
vir-viraj-gurjar
LQ Newbie
 
Registered: Jun 2022
Posts: 1

Rep: Reputation: 0
How to do patching in linux system


Hi guys this is my first question here...
How many tyoes of patching are there & how we perform different types of patching?
And what are the exact steps to do patching in redhat,fedora & ubuntu server?
 
Old 06-04-2022, 12:07 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,249

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
Depends what you mean by "patching"
 
Old 06-04-2022, 12:45 PM   #3
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,346

Rep: Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552
Quote:
Originally Posted by vir-viraj-gurjar View Post
Hi guys this is my first question here...
How many tyoes of patching are there & how we perform different types of patching?
And what are the exact steps to do patching in redhat,fedora & ubuntu server?
You can report a bug to any of those distributions and they will fix the bug or pass the bug report to whoever maintains that particular software package. When the bug is fixed the fix will be included in the updates that the distribution sends out now and then through their package manager.

All distributions are required by the GPL to make the source code available for any open source program that they distribute. You can download the source code and patch the software that you are concerned about yourself. Note that this isn't necessarily a bug fix. It could be a new feature that you want to add to the software. Then I would suggest that you submit the patch to the person maintaining that software and ask them them include the patch in the software. If they accept the patch then you won't have to maintain the patch as new releases of the software in question come out.

The differences in the three distributions are in the package manager they use. RedHat and Fedora use the RPM package manager. Ubuntu uses apt-get. By this point in time all of the package managers have all of the possible features that you could conceivable need in a package manager so which package manager you use is a toss up.
 
Old 06-04-2022, 05:59 PM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931Reputation: 4931
Quote:
Originally Posted by vir-viraj-gurjar View Post
Hi guys this is my first question here...
How many tyoes of patching are there & how we perform different types of patching?
And what are the exact steps to do patching in redhat,fedora & ubuntu server?
Welcome to LQ,

There are other concepts of packages, but the one I know is a .patch file where you apply it to sources. It is text readable, where it specifies adds and deletes to source files. You also can use a dry run option to see the changes before the patch command really applies the changes.

That's the type of patch I know. As I say there are others, like ones to update "patch" your system, but I've never used them.
 
Old 06-04-2022, 09:09 PM   #5
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,876
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Quote:
Originally Posted by jailbait View Post
RedHat and Fedora use the RPM package manager. Ubuntu uses apt-get.
rpm equates to dpkg, not apt*; dnf equates to apt*. rpm & dpkg are base level package managers, for installing, removing and database management. dnf & apt* are high level command line package managers, that perform searching, resolving and fetching functions among others, and calling on the low level managers for actual installation and removal.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: KernelCare: New no-reboot Linux patching system LXer Syndicated Linux News 0 05-06-2014 08:01 PM
SSH working from System A to System B but not from system B to System A bala150985 Linux - Networking 15 05-23-2009 08:53 AM
Free Patching System? caps_phisto Linux - General 1 05-24-2005 08:59 PM
HELP on GFS - patching linux kernel antonioxcom Linux - General 1 07-06-2004 01:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration