LinuxQuestions.org
Help answer threads with 0 replies.
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 01-26-2010, 11:09 PM   #1
saisuneesh
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Rep: Reputation: 0
How can I upgrade my kernel


I'm using GNU/Linux 3.2 .I tried to install several softwares but their dependencies are not satisfied. How can I upgrade my kernel so that i can use new softwares
 
Old 01-26-2010, 11:11 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Hi there! Welcome to LQ.

You'll need to be more specific about what Linux you are running. I am guessing a Debian of some sort, but please tell us exactly what Linux name, and what version. "Linux 3.2" is not a version I am familiar with.

Thanks!
Sasha
 
Old 01-26-2010, 11:34 PM   #3
Web31337
Member
 
Registered: Sep 2009
Location: Russia
Distribution: Gentoo, LFS
Posts: 399
Blog Entries: 71

Rep: Reputation: 65
also, kernel is probably not the reason dependencies were not satisfied.
since distro maintainers build kernels by their own, kernel version doesn't tell too much, because maintainers can modify it to have features/code from more recent kernels and remove some. It's a common case with debian, who are fixing security bugs in their 2.6.26 kernel, by keeping it's version number the same but adding patches.
Please, describe what exactly can't you install and what dependencies your package manager told you about.
 
Old 01-28-2010, 02:27 AM   #4
AcEg33k
LQ Newbie
 
Registered: Jan 2010
Distribution: Slackware
Posts: 7

Rep: Reputation: 1
Hi,
As you haven't described which linux are you running,so, I am just telling you the general procedure of upgrading the kernel.
1) Download the latest kernel source in .tar.bz2 format from kernel.org into /usr/src/ directory.
2) cd /usr/src
Now, extract the linux-2.6.*.tar.bz2 archieve by issuing the command (as root)
tar -xvjf linux-2.6.*.tar.bz2
Now, remove the old linux link and link the newly created linux-2.6.* directory to linux.
rm linux
ln -s linux-2.6.* linux

Now, move to linux.
cd linux
3) Run this command to check that the source code is ok.
make mrproper
Now, Run
make menuconfig
You will be presented by a nice menu based kernel configurator where you can configure what services, hardware support and so on
you want your kernel to support by itself or by using modules.
After doing the changes you need,Save configuration by pressing on save and exit, and then choosing Yes for the message asking
you to save the new settings.
Now, issue the command
make clean
make bzImage
which will build the boot image for the new kernel.
Now, make and install the kernel modules
make modules
make modules_install

4) Now , copy the newly created kernel boot image into /boot and rename it.
cp -p arch/i386/boot/bzImage /boot/vmlinuz-2.6.*
5) Now, edit the grub configuration file or lilo configuration file , whatever you use, to point the boot image to newly created
boot image
i.e. vmlinuz-2.6.* and save the configuration file.
6) Now, Rerun the lilo(if you use it) and reboot.
That's all.keep your fingers crossed.
Regards
 
Old 01-28-2010, 04:31 AM   #5
imagine_me2
Member
 
Registered: Nov 2009
Location: Kolkata, India
Distribution: Fedora 11
Posts: 136

Rep: Reputation: 22
Kernel version is not likely cause of dependency failure. In fact resolving dependency is a major problem while installing Linux software. If you have a good internet connection try and use yum to install software, all the dependencies will be automatically resolved and downloaded.

Regards.
 
Old 01-28-2010, 11:45 AM   #6
saisuneesh
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Kernel Upgrade.

Sorry Friends .I'm confused with several opinions. Because I'm just a
beginner in Linux i can't understand all these. Well I'm using Debian.
Before any thing else I have a request. I wish to become a programmer in
Linux and want to create my own Operating System. Can any body help me in learning Linux progmming. Please inform if you can help me.
 
Old 01-28-2010, 11:48 AM   #7
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,047

Rep: Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108Reputation: 1108
Quote:
Originally Posted by saisuneesh View Post
Sorry Friends .I'm confused with several opinions. Because I'm just a
beginner in Linux i can't understand all these. Well I'm using Debian.
Before any thing else I have a request. I wish to become a programmer in
Linux and want to create my own Operating System. Can any body help me in learning Linux progmming. Please inform if you can help me.
You need to walk before you can run. Learning how to install packages in Debian is a good start. 'man aptitude' should get you started, good luck!
 
1 members found this post helpful.
Old 01-28-2010, 04:38 PM   #8
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,053

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
Quote:
Originally Posted by saisuneesh View Post
...Because I'm just a
beginner in Linux i can't understand all these.
Seemingly, the question you asked wasn't what you wanted to know, and you didn't give sufficient information, so you got some responses that were not really directed towards solving your problem, but to the problem that people mistakenly thought you had.

OK; package manager. You have to manage packages, and the tool that is almost invariably used for this is the package manager. In simple cases, if there are unsatisfied dependencies, the package manager will sort the situation out for you.

So, what makes you think that the kernel upgrade is anything to do with the issue? And what software is causing the issue?

Quote:
I wish to become a programmer in
Linux and want to create my own Operating System.
OK, I'm going to ignore the second part, or assume that you mean that you want to create your own distribution. Certainly, I can't help you, if you want to write your own operating system from scratch.

For the first part, you might consider having a look at the book "Beginning Linux Programming", although there are many online resources that you could look as well.
 
Old 01-29-2010, 08:40 PM   #9
saisuneesh
LQ Newbie
 
Registered: Jan 2010
Posts: 3

Original Poster
Rep: Reputation: 0
C++

Dear Friends,
I'm using Debian GNU/Linux 3.2 .Is there any C or C++ Compiler
in it. If there is one how can i use it in Root Terminal. Please reply with the example hello.c
 
  


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
Kernel Audit Support Unavaible error when booting after kernel upgrade abefroman Red Hat 2 03-21-2013 09:32 AM
pacman -Su, kernel upgrade, kernel panic, change distro? jkh Arch 35 03-10-2006 02:14 AM
apt-get upgrade does not upgrade my kernel halfpower Debian 5 12-11-2005 10:53 AM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 07:54 PM


All times are GMT -5. The time now is 06:26 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