Gentoo/教程:修订间差异

来自OSSmedia
无编辑摘要
无编辑摘要
 
(未显示同一用户的20个中间版本)
第10行: 第10行:
* systemd-networkd systemd-resolved NetworkManager
* systemd-networkd systemd-resolved NetworkManager


== 软件包 ==
== 安装 stage ==
# 基础配置包
反正下载一下就行
  mirrorselect bash-completion net-misc/networkmanager app-portage/cpuid2cpuflags
  https://mirrors.bfsu.edu.cn/gentoo/releases/amd64/autobuilds/current-stage3-amd64-desktop-systemd/
# 桌面环境
 
  plasma-meta kde-apps-meta
  tar xpvf stage3-*.tar.xz --xattrs-include='*.*' --numeric-owner -C /mnt/gentoo
# 浏览器
firefox chromium


== 配置portage ==
== 配置portage ==
 
=== GRUB ===
GRUB_PLATFORMS="emu efi-32 efi-64 pc"
=== USE ===
=== USE ===
  USE="X"
  USE="X fcitx5 tkip kcm cjk"


=== 协议 ===
=== 协议 ===
第33行: 第32行:
=== cpu flag ===
=== cpu flag ===
  <code>echo "*/* $(cpuid2cpuflags)" > /etc/portage/package.use/00cpu-flags</code>
  <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 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
=== 字体 ===
<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 \

studio

gentoo/studio