1. 输入法设置:
首先要安装rpm包,
$sudo yum install ibus
$sudo yum install ibus-sunpinyin
$sudo yum install ibus-table-chinese-wubi-jidian
由于GNOME给输入源增加了硬码的白名单,要显示全部输入源需要设置:
$gsettings set org.gnome.desktop.input-sources show-all-sources true
安装完包后,System Settings -> Region & Language -> Input Sources 点击添加 选择wubi. 点击Shortcuts Setting 设置ctrl+space为切换输入法快捷键
2.安装chrome浏览器
chrome信赖于redhat-lsb包,所以先要安装lsb, wget,再安装rpm包
$sudo yum redhat-lsb.x84_64
$sudo yum install wget.x86_64
$sudo rpm -ivh google-chrome-stable_current_x86_64.rpm
3. eclipse 安装
3.1.安装Sun/Oracle JDK 7
rpm -Uvh /path/to/binary/jre-7u17-linux-x64.rpm
最新版本
alternatives --install /usr/bin/java java /usr/java/latest/jre/bin/java 20000
alternatives --install /usr/bin/javaws javaws /usr/java/latest/jre/bin/javaws 20000
alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so /usr/java/latest/jre/lib/i386/libnpjp2.so 20000
## Java Browser (Mozilla) Plugin 64-bit ##
alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so libjavaplugin.so.x86_64 /usr/java/latest/jre/lib/amd64/libnpjp2.so 20000
## Install javac only if you installed JDK (Java Development Kit) package ##
alternatives --install /usr/bin/javac javac /usr/java/latest/bin/javac 20000
alternatives --install /usr/bin/jar jar /usr/java/latest/bin/jar 20000
JDK版本
## java ##
alternatives --install/usr/bin/java java /usr/java/jdk1.7.0_17/jre/bin/java 20000
## javaws ##
alternatives --install/usr/bin/javaws javaws /usr/java/jdk1.7.0_17/jre/bin/javaws 20000
## Java Browser (Mozilla) Plugin 32-bit ##
alternatives --install/usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so /usr/java/jdk1.7.0_17/jre/lib/i386/libnpjp2.so 20000
## Java Browser (Mozilla) Plugin 64-bit ##
alternatives --install/usr/lib64/mozilla/plugins/libjavaplugin.so libjavaplugin.so.x86_64 /usr/java/jdk1.7.0_17/jre/lib/amd64/libnpjp2.so 20000
## Install javac only if you installed JDK (Java Development Kit) package ##
alternatives --install/usr/bin/javac javac /usr/java/jdk1.7.0_17/bin/javac 20000
alternatives --install/usr/bin/jar jar /usr/java/jdk1.7.0_17/bin/jar 20000
3.2.eclipse安装
3.2.1.解压安装包:
tar -xvzf eclipse-SDK-4.2.1-linux-gtk-x86_64.tar.gz -C /opt
3.2.2.添加可读权限
chmod -R +r /opt/eclipse
3.2.3.在usr/bin中添加eclipse可执行文件
touch /usr/bin/eclipse
chmod 755 /usr/bin/eclipse
在新建的eclipse文件中添加以下语句
export ECLIPSE_HOME="/opt/eclipse"
$ECLIPSE_HOME/eclipse $*
3.2.4.在GNOME桌面上添加launcher
在创建/usre/share/applications/eclipse.desktop文件
并在文件里添加以下内容
[Desktop Entry] Encoding=UTF-8 Name=Eclipse Comment=Eclipse SDK 4.2.1 Exec=eclipse Icon=/opt/eclipse/icon.xpm Terminal=false Type=Application Categories=GNOME;Application;Development; StartupNotify=true
4.其它工具安装:
4.1 vim & gvim
yum install vim-enhanced.x86_64 gvim
4.2 git
yum install git gitk
git config --global color.ui auot #设置git输出的颜色为默认
4.3 gcc安装
yum install gcc
如果安装时报错
file /usr/lib64/audit from install of glibc-2.16-30.fc18.x86_64 conflicts with file from package audit-2.2.1-2.fc18.x86_64
则先运行
yum update audit,
4.4 右键菜单打开终端
sudo yum install nautilus-open-terminal
4.5 cpu 频率设置(笔记本中可以省电,或者控制CPU温度)
yum install cpufrequtils
4.6 gnome显示小化化按钮
sudo gsettings set org.gnome.shell.overrides button-layout close,minimize,maximize;