当前位置: 首页 > news >正文

Linux Kernel (4)—— Host System Preparation

宿主系统配置

命令:

yay -S bash binutils bison coreutils diffutils findutils gawk gcc grep gzip m4 make patch perl python sed tar texinfo xz

包配置:

Bash-3.2 (/bin/sh should be a symbolic or hard link to bash)

Binutils-2.13.1 (Versions greater than 2.45 are not recommended as they have not been tested)

Bison-2.7 (/usr/bin/yacc should be a link to bison or a small script that executes bison)

Coreutils-8.1

Diffutils-2.8.1

Findutils-4.2.31

Gawk-4.0.1 (/usr/bin/awk should be a link to gawk)

GCC-5.4 including the C++ compiler, g++ (Versions greater than 15.2.0 are not recommended as they have not been tested). C and C++ standard libraries (with headers) must also be present so the C++ compiler can build hosted programs

Grep-2.5.1a

Gzip-1.3.12

Linux Kernel-5.4

The reason for the kernel version requirement is that we specify that version when building glibc in Chapter 5 and Chapter 8, so the workarounds for older kernels are not enabled and the compiled glibc is slightly faster and smaller. As at Dec 2024, 5.4 is the oldest kernel release still supported by the kernel developers. Some kernel releases older than 5.4 may be still supported by third-party teams, but they are not considered official upstream kernel releases; read https://kernel.org/category/releases.html for the details.

If the host kernel is earlier than 5.4 you will need to replace the kernel with a more up-to-date version. There are two ways you can go about this. First, see if your Linux vendor provides a 5.4 or later kernel package. If so, you may wish to install it. If your vendor doesn't offer an acceptable kernel package, or you would prefer not to install it, you can compile a kernel yourself. Instructions for compiling the kernel and configuring the boot loader (assuming the host uses GRUB) are located in Chapter 10.

We require the host kernel to support UNIX 98 pseudo terminal (PTY). It should be enabled on all desktop or server distros shipping Linux 5.4 or a newer kernel. If you are building a custom host kernel, ensure CONFIG_UNIX98_PTYS is set to y in the kernel configuration.

M4-1.4.10

Make-4.0

Patch-2.5.4

Perl-5.8.8

Python-3.4

Sed-4.1.5

Tar-1.22

Texinfo-5.0

Xz-5.0.0

http://www.jsqmd.com/news/367364/

相关文章:

  • cudnn实现残差网络(憋出大招)
  • 详细介绍:我与C++的初遇:一段跨越时光的编程情缘
  • Cosmos-Reason1-7B快速部署:Docker镜像免配置启动本地推理服务
  • Qwen1.5-1.8B-GPTQ-Int4详细步骤:Chainlit对接企业微信/钉钉机器人
  • lower_bound 函数在二分中的应用
  • 长春重疾险理赔律师推荐:基于 7 维度分析框架的专业指南 - 铅笔写好字
  • 《构建之法》阅读笔记二:团队协作——破解软件开发的“人月神话”
  • 2026年管棒材检测系统TOP10优质厂商全景剖析 - 资讯焦点
  • 2026年2月淄博企业团建公司推荐,创意方案与落地能力双优品牌 - 品牌鉴赏师
  • AI绘画从入门到精通:Z-Image Turbo全功能解析
  • 贵州房产评估机构深度测评:这五家专业服务商谁更值得 - 精选优质企业推荐榜
  • 一键部署Qwen3-ASR-0.6B:打造你的私人语音助手
  • 贵阳房产收购服务深度测评:五大机构实力横评 - 精选优质企业推荐榜
  • 一键部署AI助手:Ollama+GLM-4.7-Flash组合方案
  • 2026年弹性租期算力租赁方案盘点:五大品牌实力评测 - 资讯焦点
  • 5分钟快速上手OFA图像描述模型:零基础实现图片自动生成英文描述
  • 《构建之法》阅读笔记三:用户需求与创新——软件开发的核心导向
  • BGE-Large-Zh小白指南:从安装到中文语义检索全流程
  • 认识Redis
  • lychee-rerank-mm代码实例:自定义Prompt工程与分数正则提取技巧
  • 零基础玩转Gemma-3-12B:Ollama部署视觉问答全流程
  • cv_unet_image-colorization档案修复标准实践:AI上色结果人工校验与修正SOP文档
  • 2026年五大异构设备算力调度适配公司:技术与场景双优榜单 - 资讯焦点
  • 手把手教学:AgentCPM本地研报生成工具部署教程
  • mPLUG视觉问答在电商场景的应用:商品图片自动描述生成
  • P14955 元素选择
  • GTE文本向量+Flask:打造企业级中文NLP服务
  • 千问大模型简介及简单应用测试
  • 深求·墨鉴使用技巧:提升手写笔记识别准确率
  • Qwen3-TTS-12Hz部署教程:Docker镜像体积精简与推理速度优化技巧