Ubuntu.9.10内核编译安装
furtherchan@furtherchan:~$ sudo apt-get install build-essential kernel-package
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
cvs dpkg-dev fakeroot g++ g++-4.4 gettext intltool-debian
libmail-sendmail-perl libstdc++6-4.4-dev libsys-hostname-long-perl patch
po-debconf
Suggested packages:
debian-keyring debian-maintainers g++-multilib g++-4.4-multilib gcc-4.4-doc
libstdc++6-4.4-dbg gettext-doc linux-source kernel-source libdb3-dev
libncurses-dev docbook-utils xmlto libstdc++6-4.4-doc diff-doc
libmail-box-perl
The following NEW packages will be installed:
build-essential cvs dpkg-dev fakeroot g++ g++-4.4 gettext intltool-debian
kernel-package libmail-sendmail-perl libstdc++6-4.4-dev
libsys-hostname-long-perl patch po-debconf
0 upgraded, 14 newly installed, 0 to remove and 22 not upgraded.
Need to get 11.2MB of archives.
After this operation, 37.7MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://cn.archive.ubuntu.com karmic/main libstdc++6-4.4-dev 4.4.1-4ubuntu8 [1,490kB]
Get:2 http://cn.archive.ubuntu.com karmic/main g++-4.4 4.4.1-4ubuntu8 [4,701kB]
Get:3 http://cn.archive.ubuntu.com karmic/main g++ 4:4.4.1-1ubuntu2 [1,446B]
Get:4 http://cn.archive.ubuntu.com karmic/main patch 2.5.9-5 [100kB]
Get:5 http://cn.archive.ubuntu.com karmic/main dpkg-dev 1.15.4ubuntu2 [573kB]
Get:6 http://cn.archive.ubuntu.com karmic/main build-essential 11.4 [7,172B]
Get:7 http://cn.archive.ubuntu.com karmic/main cvs 1:1.12.13-12ubuntu1 [1,685kB]
Get:8 http://cn.archive.ubuntu.com karmic/main fakeroot 1.12.4ubuntu1 [126kB]
Get:9 http://cn.archive.ubuntu.com karmic/main fakeroot 1.12.4ubuntu1 [126kB]
Get:10 http://cn.archive.ubuntu.com karmic/main gettext 0.17-8ubuntu2 [1,732kB]
Get:11 http://cn.archive.ubuntu.com karmic/main intltool-debian 0.35.0+20060710.1 [31.6kB]
Get:12 http://cn.archive.ubuntu.com karmic/main po-debconf 1.0.16 [224kB]
Get:13 http://cn.archive.ubuntu.com karmic/main kernel-package 11.015 [537kB]
Get:14 http://cn.archive.ubuntu.com karmic/main libsys-hostname-long-perl 1.4-2 [11.4kB]
Get:15 http://cn.archive.ubuntu.com karmic/main libmail-sendmail-perl 0.79.16-1 [26.5kB]
Fetched 11.1MB in 9min 43s (19.1kB/s)
Preconfiguring packages ...
Selecting previously deselected package libstdc++6-4.4-dev.
(Reading database ... 121779 files and directories currently installed.)
Unpacking libstdc++6-4.4-dev (from .../libstdc++6-4.4-dev_4.4.1-4ubuntu8_i386.deb) ...
Selecting previously deselected package g++-4.4.
Unpacking g++-4.4 (from .../g++-4.4_4.4.1-4ubuntu8_i386.deb) ...
Selecting previously deselected package g++.
Unpacking g++ (from .../g++_4%3a4.4.1-1ubuntu2_i386.deb) ...
Selecting previously deselected package patch.
Unpacking patch (from .../patch_2.5.9-5_i386.deb) ...
Selecting previously deselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.15.4ubuntu2_all.deb) ...
Selecting previously deselected package build-essential.
Unpacking build-essential (from .../build-essential_11.4_i386.deb) ...
Selecting previously deselected package cvs.
Unpacking cvs (from .../cvs_1%3a1.12.13-12ubuntu1_i386.deb) ...
Selecting previously deselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.12.4ubuntu1_i386.deb) ...
Selecting previously deselected package gettext.
Unpacking gettext (from .../gettext_0.17-8ubuntu2_i386.deb) ...
Selecting previously deselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Selecting previously deselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.16_all.deb) ...
Selecting previously deselected package kernel-package.
Unpacking kernel-package (from .../kernel-package_11.015_all.deb) ...
Selecting previously deselected package libsys-hostname-long-perl.
Unpacking libsys-hostname-long-perl (from .../libsys-hostname-long-perl_1.4-2_all.deb) ...
Selecting previously deselected package libmail-sendmail-perl.
Unpacking libmail-sendmail-perl (from .../libmail-sendmail-perl_0.79.16-1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for install-info ...
Processing triggers for doc-base ...
Processing 3 added doc-base file(s)...
Registering documents with scrollkeeper...
Setting up patch (2.5.9-5) ...
Setting up dpkg-dev (1.15.4ubuntu2) ...
Setting up cvs (1:1.12.13-12ubuntu1) ...
Ignoring install-info called from maintainer script
The package cvs should be rebuild with new debhelper to get trigger support
Ignoring install-info called from maintainer script
The package cvs should be rebuild with new debhelper to get trigger support
Setting up fakeroot (1.12.4ubuntu1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode.
Setting up gettext (0.17-8ubuntu2) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16) ...
Setting up kernel-package (11.015) ...
Setting up libsys-hostname-long-perl (1.4-2) ...
Setting up libmail-sendmail-perl (0.79.16-1) ...
Setting up libstdc++6-4.4-dev (4.4.1-4ubuntu8) ...
Setting up g++-4.4 (4.4.1-4ubuntu8) ...
Setting up g++ (4:4.4.1-1ubuntu2) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode.
Setting up build-essential (11.4) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
furtherchan@furtherchan:~$ sudo apt-get install libncurses-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting libncurses5-dev instead of libncurses-dev
The following NEW packages will be installed:
libncurses5-dev