![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Packaging and Compiling Programs Need help compiling programs or creating .deb packages? |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
First Cup of Ubuntu
![]() |
How do I compile a kernel (Linux Newb)
Hi, I am fairly new to Linux and I love Ubuntu. I want to recompile my kernel to get my system running faster, but I have no idea where to begin. Can someone please write out some directions for me? Thanks.
Dell Latitude Cpx H 500 mhz PIII (non-speedstep) 448 MB PC 100 RAM 30 GB HDD ATI Mobility 8 MB AGP 2x ESS Maestro 2E |
|
|
|
|
|
#2 |
|
just this guy, you know.
![]() Join Date: Oct 2004
Location: Kingston, On
My beans are hidden!
|
Re: How do I compile a kernel (Linux Newb)
Open a terminal.
sudo apt-get install build-essential linux-source-2.6 libncurses5-dev kernel-package cd /usr/src tar xvjf linux-source* cd linux-source cp /boot/config-2.6.10.5-386 .config sudo make menuconfig cofigure the heck out of your kernel sudo make-kpkg --revision-1 --append-to-version=mykerne1 kernel_image kernel_headers cd .. sudo dpkg -i linux-image-2.6.10*.deb Seriously, this probably will not make your system go any faster. |
|
|
|
|
|
#3 | |
|
Ultimate Coffee Grinder
![]() Join Date: Oct 2004
Location: Cambridge. MA
Beans: 5,063
Ubuntu 8.10 Intrepid Ibex
|
Re: How do I compile a kernel (Linux Newb)
Quote:
|
|
|
|
|
|
|
#4 | |
|
Quad Shot of Ubuntu
![]() Join Date: Nov 2004
Beans: 489
|
Re: How do I compile a kernel (Linux Newb)
Quote:
|
|
|
|
|
|
|
#5 |
|
Spilled the Beans
![]() Join Date: Mar 2005
Beans: 14
|
Re: How do I compile a kernel (Linux Newb)
Down with Gentoo! Heretics and insulters of our great Ubuntu Nation!
|
|
|
|
|
|
#6 |
|
just this guy, you know.
![]() Join Date: Oct 2004
Location: Kingston, On
My beans are hidden!
|
Re: How do I compile a kernel (Linux Newb)
Alrighty.
*Ahem*. I think Ubuntu attracts many people. Possibly many people tried linux years ago when it was recommended to recompile a kernel after you install. This is no longer the case. The message to these people is: 1- Welcome back. 2- Stock distribution kernels are pretty much all you will ever need to use. You will not have to recompile your kernel. And also, you can compile kernel modules (drivers) without having to recompile the kernel. Look at the linux-headers package. ------------ On another note, Gentoo rocks, too. Just differently.... |
|
|
|
|
|
#7 | |
|
Ultimate Coffee Grinder
![]() Join Date: Oct 2004
Location: Cambridge. MA
Beans: 5,063
Ubuntu 8.10 Intrepid Ibex
|
Re: How do I compile a kernel (Linux Newb)
Quote:
The problem is that you take quite a large responsibility into your own hand... Every vendor has a team of kernel experts tracking the latest patches flying around lkml for security fixes, stability patches, and bugfixes, which are often not going to be released officially for a relatively long time. You are best off leaving the job of kernel management to experts. The Ubuntu kernel comes in 386,686, and k7(Athlon) flavors, which should be optimized enough for any purpose. |
|
|
|
|
|
|
#8 | |
|
Gee! These Aren't Roasted!
![]() Join Date: Dec 2004
Beans: 145
|
Re: How do I compile a kernel (Linux Newb)
Quote:
what do I need to do to just build the Zoran module? |
|
|
|
|
|
|
#9 |
|
5 Cups of Ubuntu
![]() Join Date: Apr 2005
Location: Waterloo - ON, Canada
Beans: 42
|
Re: How do I compile a kernel (Linux Newb)
Here's a link to a kernel how-to:
http://www.digitalhermit.com/linux/K...ild-HOWTO.html I build my own kernel and I don't think that's a bad idea. It's configured to my system and everything works in the best way possible. The only thing you really need is a little curiosity and knowledge of what hardware you have on your system. |
|
|
|
|
|
#10 | |
|
just this guy, you know.
![]() Join Date: Oct 2004
Location: Kingston, On
My beans are hidden!
|
Re: How do I compile a kernel (Linux Newb)
Quote:
sudo apt-get install build-essential linux-headers-2.6.10-5-386 (if that is the kernel you are using) Untar the driver source tar xvzf XXXXX.tar.gx cd XXXXXX then read the readme. If there is a debian directory there, try sudo debian/rules binary |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|