• Fedora 18 安装 五笔 chrome eclipse gcc cpufrequtls


    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;

  • 相关阅读:
    转载: Ubuntu 在命令下,安装中文环境的方法。
    java复制文件范例代码
    Cesium-entiy闪烁范例
    转载:贝塞尔曲线计算公式
    转载: utm坐标和经纬度相互转换
    arcgis 地图如何转到supermap平台
    Linux查看修改文件句柄数
    转载:Linux目录文件的权限查看与修改
    欧拉系统-登陆 SSH 出现 Access Denied 错误
    关于 nodejs sequelize 事务批量拆分
  • 原文地址:https://www.cnblogs.com/Mingxx/p/3019321.html
Copyright © 2020-2023  润新知