Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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
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.
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.
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!
...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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.