Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-01-2003, 12:35 AM   #1
Registered: Jun 2003
Location: Montréal, Québec
Distribution: red hat 9
Posts: 84

Rep: Reputation: 15
Question Bzip2 ?

I have downloaded a kernel patch

(i'm so feeling n00b today)

the file is a bzip2 type

How i can install that patch?

filename: patch-2.4.21.bz2
Old 07-01-2003, 12:44 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Well first you have to bunzip2 it:
bunzip2 filename.bz2
Then apply the patch:
patch -Np1 patchname

Normally you are in the directory of the files/app to be patched, so if this is a kernel:
cd /usr/src/linux
patch -Np1 /path/to/patch/file/patch




Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
bzip2 and gzip ust Linux - Software 1 02-08-2005 11:26 AM
bzip2 andzerger Linux - Software 2 02-21-2004 05:23 AM
bzip2 vs.gzip mikeshn Linux - Software 2 09-20-2003 10:30 AM
bzip2 issues NiallC Linux - Software 3 08-24-2003 11:56 AM
cant install bzip2 st3llar Linux - Newbie 2 08-21-2003 11:48 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:31 AM.

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