分页: 1 / 1

编译模块

发表于 : 2005-03-31 21:57
oneleaf
I have installed Ubuntu, but I need to compile a kernel module (for example, in order to connect to the network). What do I do?

First, check whether the module you need is already present. Many additional drivers are included in the default Ubuntu kernel. If you still need to compile a module, the following command will install everything you need:

# sudo apt-get install build-essential linux-headers-`uname -r`

All of the packages needed are available on the Ubuntu CD.

http://www.ubuntulinux.org/support/docu ... nel-module

编译模块

发表于 : 2005-04-01 23:36
aninfeel
我已经装好了Ubuntu,但是我还是需要编译一个模块(例如,为了驱动网卡以连通到互联网)。我该怎么办呢?
首先,查看一下你所需的模块是不是已经发布了。许多附加的驱动程序都会包含在ubuntu的默认内核中。如果你仍然不得不编译模块,下面的命令将安装你需要的所有东西:
# sudo apt-get install build-essential linux-headers-`uname -r`
所有系统需要的软件包都可以在Ubuntu的光盘上得到。

发表于 : 2006-08-01 5:00
millenniumdark
没多大意义,先放着