From 66602c6bbde008bea6f19cfdf7246e24d7f9fa93 Mon Sep 17 00:00:00 2001 From: "lion.chan" Date: Fri, 20 Mar 2020 15:48:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20Ubuntu=20=E4=B8=8B?= =?UTF-8?q?=E6=90=AD=E5=BB=BA=E9=A9=B1=E5=8A=A8=E5=BC=80=E5=8F=91=E7=8E=AF?= =?UTF-8?q?=E5=A2=83.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: lion.chan --- .../Ubuntu/Ubuntu_下搭建驱动开发环境.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Software/Development/OperatingSystem/Linux/Editions/Ubuntu/Ubuntu_下搭建驱动开发环境.md diff --git a/Software/Development/OperatingSystem/Linux/Editions/Ubuntu/Ubuntu_下搭建驱动开发环境.md b/Software/Development/OperatingSystem/Linux/Editions/Ubuntu/Ubuntu_下搭建驱动开发环境.md new file mode 100644 index 0000000..0157782 --- /dev/null +++ b/Software/Development/OperatingSystem/Linux/Editions/Ubuntu/Ubuntu_下搭建驱动开发环境.md @@ -0,0 +1,20 @@ +# 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) +```