ArchLinux安装:安装gnome
2012-04-07 11:23
309 查看
在上次在VMware上安装ArchLinux后,系统只具备基本的功能,我们可以按自己的需要安装软件。
系统更新:
1. 确保能连上网,ping www.baidu.com看是否能连通,无法连通可以更改网络配置
2. VMware上假如网络连接是靠NAT,在更新系统的时候会出现无法连接的情况,需要设置网络连接为桥接方式,
执行命令 # /etc/rc.d/network restart
3. 更新软件包列表: # pacman -Syy
4. 更新系统 :# pacman -Syu
遇到冲突:fail to commit transaction(conflicting file) ,移动(或删除)相应的文件到/tmp目录下,重新更新系统
5. 添加用户: #adduser // 建议仅在Login name 和 Additional
groups 输入内容,其它都留空
Additional groups:audio, lp, optical, storage, video, wheel, games, power, scanner
6. 安装sudo:#pacman -S sudo
7. 为用户添加sudo权限: # visudo
%wheel ALL=(ALL) ALL # 去掉这一行的'#'号,即赋予wheel组用户sudo权限
安装桌面系统
1. 安装 X 窗口:
# pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils // 安装基础包
# pacman -S mesa // 获得3D支持
# pacman -S mesa-demos // 如需要glxgears和glxinfo工具则安装此包
2. 安装显卡驱动:运行lspci获取主机的显卡类型,输入 # pacman -Ss xf86-video 查看所有开源驱动
# pacman -S xf86-video-vmware (针对VMware) // 本次实验安装这个驱动
# pacman -S xf86-video-ati (针对ATI)
# pacman -S xf86-video-nv (针对nVIDIA)
3. 安装输入设备驱动: # pacman -Ss xf86-input 查找所有输入设备驱动
# pacman -S xf86-input-keyboard xf86-input-mouse
# pacman -S xf86-input-synaptics // 支持触摸屏、板
4. 安装dbus:# pacman -S dbus 将dbus加入到 /etc/rc.conf中的DEAMON数组,使其自动启动
5. 测试X :
# pacman -S xorg-twm xorg-xclock xterm //安装测试环境
# startx// 启动测试,输入exit退出测试
// 可能会报错,找不到/usr/lib/libz.so.1 , 运行 # pacman -S zlib 即可
6. 安装字体:
# pacman -S ttf-dejavu // 英文字体
# pacman -S wqy-zenhei // 中文字体
7. 安装音频驱动:
# pacman -S alsa-utils将alsa加入到 /etc/rc.conf中的DEAMON数组,使其自动启动
8. 安装桌面环境:GNOME
# pacman -Syu
// 确保系统为最新,可能会报错,强制更新filesystem # pacman -S filesystem --force, 为initscripts重命名,重新更新
# pacman -S gnome gnome-extra
# pacman -S gdm // 安装登陆管理器
// 让gdb启动有两种方式,一种是直接加入到DAEMON数组里,通过/etc/rc.conf启动;
// 另一种是通过配置/etc/inittab来加载gdm
// 更改/etc/inittab: 默认启动项改为 Boot to X11,注释掉Boot to console,
// 注释掉x:5:respawn:/usr/bin/xdm -nodaemon
// 取消注释x:5:respawn:/usr/bin/gdm -nodaemon
# reboot
9. 安装其他软件
# pacman -S vim ntfs-3g ntfsprogs
# pacman -S chromium firefox firefox-i18n-zh-cn// 浏览器
# pacman -S ibus ibus-pinyin// 输入法
# pacman -S libreoffice// 办公软件,语言包选101简体中文
# pacman -S gnome-tweak-tool// 系统美化工具
# pacman -S bash-completion//安装bash补全
# pacman -S xpdf// 安装pdf阅读器
系统更新:
1. 确保能连上网,ping www.baidu.com看是否能连通,无法连通可以更改网络配置
2. VMware上假如网络连接是靠NAT,在更新系统的时候会出现无法连接的情况,需要设置网络连接为桥接方式,
执行命令 # /etc/rc.d/network restart
3. 更新软件包列表: # pacman -Syy
4. 更新系统 :# pacman -Syu
遇到冲突:fail to commit transaction(conflicting file) ,移动(或删除)相应的文件到/tmp目录下,重新更新系统
5. 添加用户: #adduser // 建议仅在Login name 和 Additional
groups 输入内容,其它都留空
Additional groups:audio, lp, optical, storage, video, wheel, games, power, scanner
6. 安装sudo:#pacman -S sudo
7. 为用户添加sudo权限: # visudo
%wheel ALL=(ALL) ALL # 去掉这一行的'#'号,即赋予wheel组用户sudo权限
安装桌面系统
1. 安装 X 窗口:
# pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils // 安装基础包
# pacman -S mesa // 获得3D支持
# pacman -S mesa-demos // 如需要glxgears和glxinfo工具则安装此包
2. 安装显卡驱动:运行lspci获取主机的显卡类型,输入 # pacman -Ss xf86-video 查看所有开源驱动
# pacman -S xf86-video-vmware (针对VMware) // 本次实验安装这个驱动
# pacman -S xf86-video-ati (针对ATI)
# pacman -S xf86-video-nv (针对nVIDIA)
3. 安装输入设备驱动: # pacman -Ss xf86-input 查找所有输入设备驱动
# pacman -S xf86-input-keyboard xf86-input-mouse
# pacman -S xf86-input-synaptics // 支持触摸屏、板
4. 安装dbus:# pacman -S dbus 将dbus加入到 /etc/rc.conf中的DEAMON数组,使其自动启动
5. 测试X :
# pacman -S xorg-twm xorg-xclock xterm //安装测试环境
# startx// 启动测试,输入exit退出测试
// 可能会报错,找不到/usr/lib/libz.so.1 , 运行 # pacman -S zlib 即可
6. 安装字体:
# pacman -S ttf-dejavu // 英文字体
# pacman -S wqy-zenhei // 中文字体
7. 安装音频驱动:
# pacman -S alsa-utils将alsa加入到 /etc/rc.conf中的DEAMON数组,使其自动启动
8. 安装桌面环境:GNOME
# pacman -Syu
// 确保系统为最新,可能会报错,强制更新filesystem # pacman -S filesystem --force, 为initscripts重命名,重新更新
# pacman -S gnome gnome-extra
# pacman -S gdm // 安装登陆管理器
// 让gdb启动有两种方式,一种是直接加入到DAEMON数组里,通过/etc/rc.conf启动;
// 另一种是通过配置/etc/inittab来加载gdm
// 更改/etc/inittab: 默认启动项改为 Boot to X11,注释掉Boot to console,
// 注释掉x:5:respawn:/usr/bin/xdm -nodaemon
// 取消注释x:5:respawn:/usr/bin/gdm -nodaemon
# reboot
9. 安装其他软件
# pacman -S vim ntfs-3g ntfsprogs
# pacman -S chromium firefox firefox-i18n-zh-cn// 浏览器
# pacman -S ibus ibus-pinyin// 输入法
# pacman -S libreoffice// 办公软件,语言包选101简体中文
# pacman -S gnome-tweak-tool// 系统美化工具
# pacman -S bash-completion//安装bash补全
# pacman -S xpdf// 安装pdf阅读器
相关文章推荐
- archlinux安装gnome-shell主题
- archlinux安装及配置指南-GNOME3.0
- ArchLinux安装AUR助手 yaourt
- archlinux安装-2-安装图形环境基础
- archlinux上安装QEMU+EFI BIOS
- FreeBSD10.0 桌面(GNOME/XFCE)安装
- 基于ArchLinux 2013.04.01安装MATE 1.6桌面环境
- BTRFS文件系统安装ArchLinux
- Archlinux安装简介
- 如何安装archlinux | 在虚拟机(oracle VM virtualbox)上安装archlinux
- 极简安装archlinux
- archlinux (2012.12.01-dual) i686 硬盘安装
- Archlinux里面安装VMware Tools
- yum安装gnome和kde桌面
- Centos 安装GNOME or KDE+vnc+gftp
- Debian 6.0.6 系统安装第五步: 安装GNOME
- CentOS7.4 用 yum安装X Window (GNome)
- Ubuntu 安装配置GNOME 3 界面