# Ubuntu 下搭建驱动开发环境 ## 升级 ```sh apt-get update apt-get upgrade ``` ## 安装基础软件包 ```sh apt-get install build-essential kernel-package kernek-source libncurses5-dev libssl-dev libelf-dev ``` ## 安装内核源码 ```sh apt-get install linux-source-$(uname -r) ```