Gentoo安装笔记——第二篇

配置Portage

更新Portage树

#emerge --sync

按Ctrl+Z切换后台

执行

#fg

继续下面的任务

 

选择正确的Profile

(chroot) livecd / # eselect profile list              
Available profile symlink targets:
  [1]   default/linux/amd64/10.0
  [2]   default/linux/amd64/10.0/desktop *
  [3]   default/linux/amd64/10.0/desktop/gnome
  [4]   default/linux/amd64/10.0/desktop/kde
  [5]   default/linux/amd64/10.0/developer
  [6]   default/linux/amd64/10.0/no-multilib
  [7]   default/linux/amd64/10.0/server
  [8]   hardened/linux/amd64
  [9]   hardened/linux/amd64/no-multilib
  [10]  selinux/2007.0/amd64
  [11]  selinux/2007.0/amd64/hardened
  [12]  selinux/v2refpolicy/amd64
  [13]  selinux/v2refpolicy/amd64/desktop
  [14]  selinux/v2refpolicy/amd64/developer
  [15]  selinux/v2refpolicy/amd64/hardened
  [16]  selinux/v2refpolicy/amd64/server
(chroot) livecd / # eselect profile set 2

配置USE变量

打开/etc/make.conf

添加

USE="X gtk gnome -qt -kde"

以安装Gnome桌面环境

配置Locale

# nano -w /etc/locale.gen

添加

zh_CN.UTF-8 UTF-8
zh_CN.GB18030 GB18030
zh_CN.GBK GBK
zh_CN GB2312
zh_HK.UTF-8 UTF-8
zh_HK BIG5-HKSCS
zh_TW.UTF-8 UTF-8
zh_TW.EUC-TW EUC-TW
zh_TW BIG5
en_US.UTF-8 UTF-8
en_US ISO-8859-1

运行

#locale-gen

时区

cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

下一步该安装内核了

你可能感兴趣的:(linux,qt)