LinuxQuestions.org
Register a domain and help support LQ
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 03-09-2013, 06:53 PM   #1
nevr2l899
LQ Newbie
 
Registered: Mar 2013
Posts: 10

Rep: Reputation: Disabled
Updating Centos Kernel with wget command


Currently taking Linux II and learning about updating kernel. I am using CentOs for my distro. My kernel version is 2.6 and in my book there is an example to upgrade/update kernel to 3.2. Here is the command:

#wget http://www.kernel.org/pub/linux/kern...ux-3.2.tar.bz2

When I type command it says that it has connected to linux.org but then it comes back with error 404: Not Found. I have this issue alot with this book, not being able to connect with what they are saying. Does anyone see something wrong with this path that I can change to get the upgrade/update? Also, I am doing this as root.

After I submitted this, the path that turned to blue has changed from what I actually typed. It was typed as "/linux/kernel/v3.x/linux- 3.2.tar.bz2"

Last edited by nevr2l899; 03-09-2013 at 06:57 PM.
 
Old 03-09-2013, 06:59 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
To be pretty honest, if you are asking this question, in the way you are asking it, you should NOT NOT NOT be messing with your kernel. You clearly aren't comfortable enough with Linux as a whole to do this sort of thing safely. Just keep your system up to date with a "yum update" and don't worry about the version numbers etc.
 
Old 03-09-2013, 07:04 PM   #3
nevr2l899
LQ Newbie
 
Registered: Mar 2013
Posts: 10

Original Poster
Rep: Reputation: Disabled
Nvm, I found an error in my path that I hadnt noticed. Also it is a VM so if I blow it up no matter, I can just reinstall. I am also going step by step with the book so Im sure it wont lead me wrong. Thank you
 
Old 03-10-2013, 05:25 AM   #4
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,654

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
Quote:
Originally Posted by nevr2l899 View Post
Currently taking Linux II and learning about updating kernel. I am using CentOs for my distro. My kernel version is 2.6 and in my book there is an example to upgrade/update kernel to 3.2. Here is the command:

#wget http://www.kernel.org/pub/linux/kern...ux-3.2.tar.bz2

When I type command it says that it has connected to linux.org but then it comes back with error 404: Not Found. I have this issue alot with this book, not being able to connect with what they are saying. Does anyone see something wrong with this path that I can change to get the upgrade/update? Also, I am doing this as root.

After I submitted this, the path that turned to blue has changed from what I actually typed. It was typed as "/linux/kernel/v3.x/linux- 3.2.tar.bz2"
I think the book is out of date. IF you wanted the entire kernel for 3.2 the url would be:
https://www.kernel.org/pub/linux/ker....2-rc1.tar.bz2


It is simpler to use a browser to retrieve these files - it is easier to match the context of what you want to do with the actual paths/README that might be available in the directory.

BTW, the current kernel is 3.8

Last edited by jpollard; 03-10-2013 at 05:29 AM. Reason: removed some incorrect information - sorry about that.
 
Old 03-10-2013, 07:39 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
Quote:
Originally Posted by nevr2l899 View Post
(..) it is a VM so if I blow it up no matter, I can just reinstall. I am also going step by step with the book so Im sure it wont lead me wrong.
I don't know what instructions your book suggests but there's a reason behind what acid_kewpie wrote and how he wrote it. Being able to reinstall isn't the point here. Simply put Enterprise-grade Linux distributions play by different "rules". Until you understand those rules it would be simpler, more convenient, more efficient to use a distribution that already comes with a 3.n kernel like for example Fedora 17 for this particular task.
 
  


Reply


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
auto updating a script question (rsync or wget or ...?) lleb Linux - Newbie 12 10-01-2012 09:49 AM
[SOLVED] Using wget to download images and updating to capture new ones from link Using Debian Linux - Newbie 2 02-19-2011 09:58 PM
ls command fails after updating plesk on centos 5.4 delmoras Linux - General 3 06-02-2010 02:30 PM
trying to wget http://vault.centos.org/5.2/os/i386/CentOS/ amish123 Linux - Software 1 02-15-2010 06:09 PM
Updating the Kernel unsing command line aneikei Linux - Newbie 1 08-05-2003 04:52 PM


All times are GMT -5. The time now is 09:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration