Redhat Linux系列(Fedora,CentOS,Redhat enterprise)中一些常用软件
1、Fcitx小企鵝輸入法
官方網站是https://fcitx-im.org/wiki/Distribution_Package_Status,下載對應系統的Fcitx rpm包,我裝的CentOS的fcitx-4.2.6.1-4.2.i686.rpm然后rpm -ivh fcitx-4.2.6.1-4.2.i686.rpm安裝,但是在安裝過程中會出現缺少依賴的情況,所以我是用yum安裝的。
先導入依賴到/etc/yum.repo.d
#cd /etc/yum.repo.d/
#sudo wget http://download.opensuse.org/repositories/home:/cathay4t:/misc-rhel6/CentOS_CentOS-6/home:cathay4t:misc-rhel6.repo
#sudo yum install fcitx
然后系統自動下載安裝,包括它的依賴都是傻瓜化的。
安裝完后需要對Fcitx進行配置
1)新建配置文件:
sudo vi /etc/X11/xinit/xinput.d/fcitx.conf
添加以下內容:
XIM=fcitx
XIM_PROGRAM=/usr/bin/fcitx # 這里請更改為你的fcitx執行文件位置,默認安裝是這里
XIM_ARGS=”-d”
GTK_IM_MODULE=fcitx
QT_IM_MODULE =fcitx
2)然后在/etc/alternatives/目錄下,將符號鏈接xinputrc刪除,重新建一個:
sudo mv /etc/alternatives/xinputrc /etc/alternatives/xinputrc.bak
sudo ln -s /etc/X11/xinit/xinput.d/fcitx.conf /etc/alternatives/xinputrc
3)注銷然后登陸,在系統—首選項—輸入法,里面選擇“啟用輸入法特性”,選擇“使用fcitx”,然后“注銷”,登錄后按“ctrl+空格”就可激活fcitx輸入法。
注:如果你使用的桌面是英文環境的,還需要在使用用戶的用戶目錄.bashrc配置文件里添加如下內容:
export LANG=”zh_CN.UTF-8″
export LC_CTYPE=”zh_CN.UTF-8″
export XIM=fcitx
export XIM_PROGRAM=fcitx
export GTK_IM_MODULE=xim
export XMODIFIERS=”@im=fcitx”
4)如果你可以看到菜單欄里有輸入法狀態圖標,但是無法用“ctrl+空格”調出,請嘗試刪除原來默認的輸入中文法ibus:
sudo yum remove ibus
--------------------------------------------------------------------------------------------------------------------------------------------
2、WPS Office for Linux
1)從WPS社區上下載rpm包,網址是http://community.wps.cn/download/,然后安裝#rpm -ivh wps-office-8.1.0.3724-0.1.b1p2.i686.rpm
若出現
error: Failed dependencies:?
? ? libstdc++.so.6(GLIBCXX_3.4.14) is needed by wps-office-8.1.0.3842-0.1.a9p1.i686
的錯誤,則從網上下載libstdc++.so.6.0.17.zip,然后將libstdc++.so.6.0.17拷貝到/usr/lib中
#cp libstdc++.so.6.0.17 /opt/kingsoft/wps-office/office6
#cd?/opt/kingsoft/wps-office/office6
#ln -s libstdc++.so.6.0.17 libstdc++.so.6
?編輯/usr/bin/wps文件,在其中開始部分添加如下行
export LD_LIBRARY_PATH=/opt/kingsoft/wps-office/office6:$LD_LIBRARY_PATH
#rpm -ivh wps-office-8.1.0.3724-0.1.b1p2.i686.rpm --nodesp
2)點擊:應用程序->辦公->WPS文字 沒反應,使用wps命令,若報錯?
# wps
QGtkStyle was unable to detect the current GTK+ theme. /opt/kingsoft/wps-office/office6/wps: symbol lookup error: /opt/kingsoft/wps-office/office6/libftex.so: undefined symbol: FT_Reference_Face?
則需要從網上下載新版本的libfreetype,我是從pkgs.org上下載的freetype-2.5.0-4.fc20.i686.rpm,然后
#rpm2cpio?freetype-2.5.0-4.fc20.i686.rpm | cpio -idmv
# cp usr/lib/libfreetype.so.6.10.2 /opt/kingsoft/wps-office/office6
#cd?/opt/kingsoft/wps-office/office6
# ln ?-s libfreetype.so.6.10.2 libfreetype.so.6
然后我再輸入命令wps,提示缺少libpng16.so.16和libz.1.2.3.4,那么到pkgs.org上去找這兩個包,然后把它們拷貝到/opt/kingsoft/wps-office/office6中,并創建一個鏈接就可以了
3)啟動WPS文字,會提示缺少字體,從網上下載symbol-fonts-1.2-1.noarch.rpm,然后安裝#rpm -ivh symbol-fonts-1.2-1.noarch.rpm
在啟動WPS文字就沒問題啦
--------------------------------------------------------------------------------------------------------------------------------------------
3、Adobe Reader
從Adobe官網下載,如果安裝了axel,可以使用axel下載#axel -n 10 ftp://ftp.adobe.com/pub/adobe/reader/unix/9.x/9.5.5/enu/AdbeRdr9.5.5-1_i486linux_enu.rpm
#sudo rpm -ivh AdbeRdr9.5.5-1_i486linux_enu.rpm
--------------------------------------------------------------------------------------------------------------------------------------------
4、Adobe Flash Player
到http://get.adobe.com/cn/flashplayer網站下載即可對應版本的包--------------------------------------------------------------------------------------------------------------------------------------------
5、chrome瀏覽器
#axel -n 10 https://dl.google.com/linux/direct/google-chrome-stable_current_i386.rpm或者到Chrome官網https://www.google.com/intl/zh-CN/chrome/browser/下載
--------------------------------------------------------------------------------------------------------------------------------------------
6、安裝mplayer和smplayer
先下載yasm#axel -n 10 http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz,然后解壓安裝
#./configure
#make
#make install
然后到官網http://www.mplayerhq.hu/MPlayer下載源碼,包括
主程序:
#axel -n 10 http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.1.1.tar.xz
解碼包:
#axel -n 10 http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2
Win解碼包:
#axel -n 10 http://www.mplayerhq.hu/MPlayer/releases/codecs/windows-all-20071007.zip
皮膚(可以自己選擇):
#axel -n 10 http://www1.mplayerhq.hu/MPlayer/skins/Abyss-1.7.tar.bz2
字體(可自行選擇):
axel -n 10 http://www.mplayerhq.hu/MPlayer/releases/fonts/font-arial-iso-8859-1.tar.bz2
將這些源碼包解壓,然后將解碼包拷貝到/usr/lib下面
#sudo mkdir /usr/lib/codecs
#sudo mkdir /usr/lib/wincodecs
#sudo mkdir /usr/mplayer
#mv all-20110131/* /usr/lib/codecs
#mv windows-all-20071007/* /usr/lib/wincodecs
然后解壓縮MPlayer-1.1.1.tar.xz,安裝mplayer主程序
#cd MPlayer-1.1.1
#./configure--prefix=/usr/local/mplayer--enable-gui--enable-freetype--with-codecsdir=/usr/lib/codecs/ --with-win32libdir=/usr/lib/wincodecs/ --language=zh_CN
若出現:Unknown parameter --with-codecsdir=/usr/local/lib/codecs/這樣的錯誤就把--with-codecsdir和--with-win32libdir刪掉
#make
#make install
安裝完mplayer主程序后要安裝皮膚
# tar -xvf Abyss-1.7.tar.bz2
# mv Abyss /usr/local/mplayer/share/mplayer/skins/
#ln -s Abyss default 這里設置默認皮膚
還需要安裝字體
#tar -xvf font-arial-iso-8859-1.tar.bz2
#mkdir /usr/mplayer/fonts
#mv font-arial-iso-8859-1/font-arial-14-iso-8859-1/* /usr/mplayer/fonts/
#cd /usr/mplayer/bin
#./gmplayer
就可以播放mplayer了
下面安裝smplayer
#axel -n 10 http://jaist.dl.sourceforge.net/project/smplayer/SMPlayer/0.8.6/smplayer-0.8.6.tar.bz2
#tar -xvf smplayer-0.8.6.tar.bz2
#cd smplayer-0.8.6
#make QMAKE=qmake-qt4
#make install
smplayer安裝完成
--------------------------------------------------------------------------------------------------------------------------------------------
還有一些是Linux自帶的,比如
圖像處理軟件GIMP
音樂播放器Rythombox
光盤刻錄器Brasero
瀏覽器Firefox
......
總結
以上是生活随笔為你收集整理的Redhat Linux系列(Fedora,CentOS,Redhat enterprise)中一些常用软件的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: [css] 你有用过sass中的Mixi
- 下一篇: Linux 如何安装*.bin的文件 ,