LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-16-2002, 04:55 PM   #1
LinuxQuest01
Member
 
Registered: Jun 2002
Distribution: RH 7.3
Posts: 30

Rep: Reputation: 15
Help on installing patches


Can someone explain to me how to install patches (files) that are text (i.e. C source codes and some other stuff ).

For example, http://rick.vanrein.org/linux/badram...2.4.16.1.patch is a patch that I would like to install. But I don't know how to install this type of file...

Someone please tell me..
 
Old 07-17-2002, 04:44 PM   #2
kballing
LQ Newbie
 
Registered: Jul 2002
Posts: 4

Rep: Reputation: 0
first, check for a readme. this is the most helpful
I was stuck in the same situation since I've only been a linux user for 3 weeks. if you have a blah.c file, use this by typing gcc blah.c
this compiles the c program. you probably want to use " gcc -o blah blah.c" that way you get a program named blah but you still have the old blah.c file if you mess up. back up the program/file you are patching first using cp infile outfile just in case. then move the newly compiled patch to replace the old program/file. If there are any man pages, put them in your regular man dir. there shouldn't be that much to do.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Security Patches (for FC4) Linux31 Linux - Security 6 12-31-2005 11:31 PM
Installing Slackware Patches Vampirite Slackware 4 11-21-2005 09:13 AM
Fedora 4. downloading and installing patches? totallynewguy Linux - Software 3 08-20-2005 01:32 PM
Trouble installing patches Ratclaws Solaris / OpenSolaris 6 10-20-2004 07:46 AM
installing patches doralsoral Linux - Software 5 01-05-2004 06:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:21 PM.

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