< Gentoo
Brucekomike(讨论 | 贡献) (创建页面,内容为“分类:教程 分类:系统 本页面介绍gentoo安装的过程并提供一些指令速查。可以加速gentoo的安装过程。 == 安装核检表 == * root密码 * 具有sudo权限的用户 * 时区 * 主机名称 * systemd-networkd systemd-resolved NetworkManager == 软件包 == # 基础包 mirrorselect bash-completion net-misc/networkmanager # 桌面环境 plasma-meta kde-apps-meta # 浏览器 firefox chromium”) |
Brucekomike(讨论 | 贡献) 无编辑摘要 |
||
(未显示同一用户的21个中间版本) | |||
第9行: | 第9行: | ||
* 主机名称 | * 主机名称 | ||
* systemd-networkd systemd-resolved NetworkManager | * systemd-networkd systemd-resolved NetworkManager | ||
== 安装 stage == | |||
反正下载一下就行 | |||
https://mirrors.bfsu.edu.cn/gentoo/releases/amd64/autobuilds/current-stage3-amd64-desktop-systemd/ | |||
tar xpvf stage3-*.tar.xz --xattrs-include='*.*' --numeric-owner -C /mnt/gentoo | |||
== 配置portage == | |||
=== GRUB === | |||
GRUB_PLATFORMS="emu efi-32 efi-64 pc" | |||
=== USE === | |||
USE="X fcitx5 tkip kcm cjk" | |||
=== 协议 === | |||
ACCEPT_LICENSE="* -@EULA" | |||
=== 显卡 === | |||
VIDEO_CARDS="nvidia amdgpu radeon radeonsi intel mesa" | |||
#请根据自己的需要配置 | |||
=== cpu flag === | |||
<code>echo "*/* $(cpuid2cpuflags)" > /etc/portage/package.use/00cpu-flags</code> | |||
== studio.use == | |||
<pre> | |||
#kernel | |||
sys-kernel/installkernel dracut grub | |||
# kde | |||
kde-plasma/plasma-meta networkmanager kwallet display-manager sddm wacom systemd sdk rdp plymouth oxygen-theme gtk grub discover bluetooth smart | |||
kde-plasma/kde-apps-meta admin education games graphics multimedia network pim sdk utils | |||
# latex | |||
app-text/texlive X cjk context extra games graphics humanities luatex metapost music pdfannotextractor png pstricks publishers science tex4ht texi2html truetype xetex xml | |||
</pre> | |||
== 软件包 == | == 软件包 == | ||
# | # 基础配置包 | ||
mirrorselect bash-completion net-misc/networkmanager | mirrorselect bash-completion net-misc/networkmanager app-portage/cpuid2cpuflags sudo glances app-misc/screen | ||
# 内核 | |||
sys-kernel/installkernel sys-kernel/linux-firmware sys-kernel/gentoo-kernel | |||
# 桌面环境 | # 桌面环境 | ||
plasma-meta kde-apps-meta | plasma-meta kde-apps-meta | ||
# 浏览器 | # 浏览器 | ||
firefox chromium | firefox chromium | ||
# latex 编辑器 | |||
app-editors/kile app-text/texlive | |||
=== fcitx === | |||
输入法,带上kcm USE 安装 fcitx-configtools | |||
编辑 .xprofile | |||
export XMODIFIERS="@im=fcitx" | |||
export QT_IM_MODULE=fcitx | |||
export GTK_IM_MODULE=fcitx | |||
=== 字体 === | |||
<pre> | |||
media-fonts/arphicfonts \ | |||
media-fonts/noto-cjk \ | |||
media-fonts/source-han-sans \ | |||
media-fonts/wqy-microhei \ | |||
</pre> | |||
== studio == | |||
[[gentoo/studio]] |
2025年1月7日 (二) 15:08的最新版本
本页面介绍gentoo安装的过程并提供一些指令速查。可以加速gentoo的安装过程。
安装核检表
- root密码
- 具有sudo权限的用户
- 时区
- 主机名称
- systemd-networkd systemd-resolved NetworkManager
安装 stage
反正下载一下就行
https://mirrors.bfsu.edu.cn/gentoo/releases/amd64/autobuilds/current-stage3-amd64-desktop-systemd/
tar xpvf stage3-*.tar.xz --xattrs-include='*.*' --numeric-owner -C /mnt/gentoo
配置portage
GRUB
GRUB_PLATFORMS="emu efi-32 efi-64 pc"
USE
USE="X fcitx5 tkip kcm cjk"
协议
ACCEPT_LICENSE="* -@EULA"
显卡
VIDEO_CARDS="nvidia amdgpu radeon radeonsi intel mesa" #请根据自己的需要配置
cpu flag
echo "*/* $(cpuid2cpuflags)" > /etc/portage/package.use/00cpu-flags
studio.use
#kernel sys-kernel/installkernel dracut grub # kde kde-plasma/plasma-meta networkmanager kwallet display-manager sddm wacom systemd sdk rdp plymouth oxygen-theme gtk grub discover bluetooth smart kde-plasma/kde-apps-meta admin education games graphics multimedia network pim sdk utils # latex app-text/texlive X cjk context extra games graphics humanities luatex metapost music pdfannotextractor png pstricks publishers science tex4ht texi2html truetype xetex xml
软件包
# 基础配置包 mirrorselect bash-completion net-misc/networkmanager app-portage/cpuid2cpuflags sudo glances app-misc/screen # 内核 sys-kernel/installkernel sys-kernel/linux-firmware sys-kernel/gentoo-kernel # 桌面环境 plasma-meta kde-apps-meta # 浏览器 firefox chromium # latex 编辑器 app-editors/kile app-text/texlive
fcitx
输入法,带上kcm USE 安装 fcitx-configtools
编辑 .xprofile
export XMODIFIERS="@im=fcitx" export QT_IM_MODULE=fcitx export GTK_IM_MODULE=fcitx
字体
media-fonts/arphicfonts \ media-fonts/noto-cjk \ media-fonts/source-han-sans \ media-fonts/wqy-microhei \