Liquorix 内核是 Ubuntu Linux 的自定义内核,旨在为用户提供改进的性能和响应能力。Liquorix 内核提供了性能和稳定性的平衡,具有许多性能增强功能,例如 BFS 调度程序和 UKSM、BFQ I/O 调度器以及对各种硬件的支持。
在 Ubuntu 22.04 LTS Jammy Jellyfish 上安装 Liquorix 内核
第 1 步。首先,通过在终端中运行以下命令,确保所有系统软件包都是最新的。apt
<span class="pln">sudo apt update sudo apt upgrade sudo apt install wget apt</span><span class="pun">-</span><span class="pln">transport</span><span class="pun">-</span><span class="pln">https gnupg2 software</span><span class="pun">-</span><span class="pln">properties</span><span class="pun">-</span><span class="pln">common libc6 libstdc</span><span class="pun">++</span><span class="lit">6</span>
第 2 步。在 Ubuntu 22.04 上安装 Liquorix 内核。
默认情况下,Liquorix 内核在 Ubuntu 22.04 基本存储库上不可用。现在运行以下命令,将 LaunchPAD PPA 存储库添加到您的 Ubuntu 系统中:
<span class="pln">echo </span><span class="str">"deb [signed-by=/usr/share/keyrings/liquorix.gpg] https://ppa.launchpadcontent.net/damentz/liquorix/ubuntu $(lsb_release -cs) main"</span> <span class="pun">|</span><span class="pln"> sudo tee </span><span class="pun">-</span><span class="pln">a </span><span class="pun">/</span><span class="pln">etc</span><span class="pun">/</span><span class="pln">apt</span><span class="pun">/</span><span class="pln">sources</span><span class="pun">.</span><span class="pln">list</span><span class="pun">.</span><span class="pln">d</span><span class="pun">/</span><span class="pln">liquorix</span><span class="pun">.</span><span class="pln">list</span>
接下来,使用以下命令导入 GPG 密钥:
<span class="pln">sudo gpg </span><span class="pun">--</span><span class="kwd">no</span><span class="pun">-</span><span class="kwd">default</span><span class="pun">-</span><span class="pln">keyring </span><span class="pun">--</span><span class="pln">keyring </span><span class="pun">/</span><span class="pln">usr</span><span class="pun">/</span><span class="pln">share</span><span class="pun">/</span><span class="pln">keyrings</span><span class="pun">/</span><span class="pln">liquorix</span><span class="pun">.</span><span class="pln">gpg </span><span class="pun">--</span><span class="pln">keyserver keyserver</span><span class="pun">.</span><span class="pln">ubuntu</span><span class="pun">.</span><span class="pln">com </span><span class="pun">--</span><span class="pln">recv</span><span class="pun">-</span><span class="pln">keys A7654D8BAB1824F4D8F4E9D19352A0B69B72E6DF</span>
添加存储库后,现在刷新 APT 包管理器并使用以下命令安装最新版本的 Liquorix 内核:
<span class="pln">sudo apt update sudo apt install linux</span><span class="pun">-</span><span class="pln">image</span><span class="pun">-</span><span class="pln">liquorix</span><span class="pun">-</span><span class="pln">amd64</span>
等待过程中完成,您需要重新启动系统才能完全激活新内核:
<span class="pln">reboot</span>
重新登录系统后,使用以下命令验证新安装的 Liquorix 内核:
<span class="pln">cat </span><span class="pun">/</span><span class="pln">proc</span><span class="pun">/</span><span class="pln">version</span>
输出:
<span class="typ">Linux</span><span class="pln"> version </span><span class="lit">6.1</span><span class="pun">.</span><span class="lit">8</span><span class="pun">-</span><span class="lit">2</span><span class="pun">-</span><span class="pln">liquorix</span><span class="pun">-</span><span class="pln">amd64 </span><span class="pun">(</span><span class="pln">steven@liquorix</span><span class="pun">.</span><span class="pln">net</span><span class="pun">)</span> <span class="pun">(</span><span class="pln">gcc </span><span class="pun">(</span><span class="typ">Ubuntu</span> <span class="lit">11.3</span><span class="pun">.</span><span class="lit">0</span><span class="pun">-</span><span class="lit">1ubuntu1</span><span class="pun">~</span><span class="lit">22.04</span><span class="pun">)</span> <span class="lit">11.3</span><span class="pun">.</span><span class="lit">0</span><span class="pun">,</span><span class="pln"> GNU ld </span><span class="pun">(</span><span class="pln">GNU </span><span class="typ">Binutils</span> <span class="kwd">for</span> <span class="typ">Ubuntu</span><span class="pun">)</span> <span class="lit">2.46</span><span class="pun">)</span> <span class="com">#1 ZEN SMP PREEMPT_DYNAMIC liquorix 6.1-18ubuntu1~jammy (2023-01)</span>
感谢您使用本教程在 Ubuntu 22.04 LTS Jammy Jellyfish 系统上安装 Liquorix 内核。如需其他帮助或有用信息,我们建议您查看 Liquorix 官方网站。