Debian6.0.6-live中文配置安裝小結

配置源

nano /etc/apt/sources.list

deb http://ftp.cn.debian.org/debian stable main contrib non-free  
deb-src http://ftp.cn.debian.org/debian stable main contrib non-free  
deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free  
deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib non-free  
deb http://security.debian.org/ squeeze/updates main contrib non-free  
deb-src http://security.debian.org/ squeeze/updates main contrib non-free  
deb http://mirrors.163.com/debian/ squeeze main non-free contrib  
deb http://mirrors.163.com/debian/ squeeze-proposed-updates main non-free contrib  
deb-src http://mirrors.163.com/debian/ squeeze main non-free contrib  
deb-src http://mirrors.163.com/debian/ squeeze-proposed-updates main non-free contrib
deb http://ftp.cn.debian.org/debian squeeze main
安裝中文包(KDE)
apt-get install kde-i18n-zh*  
安裝中文字體
apt-get install xfonts-wqy
安裝scim中文輸入法
apt-get install scim-pinyin 
iceweasel中文插件
apt-get install iceweasel-l10n-zh-cn
iceweasel百度搜索引擎
http://mycroftproject.com/search-engines.html?name=baidu
初始化聲音
alsactl init
安裝編譯工具
apt-get install linux-headers-2.6.32-5-amd64
apt-get install make 
apt-get install gcc 
apt-get install build-essential
安裝Flash插件
apt-get install flashplugin-nonfree 
影音播放器Mplayer和播放前端SMplayer
apt-get install mplayer smplayer
安裝wine
apt-get install wine 
下載並安裝winetricks(wine管理)
wget http://www.kegel.com/wine/winetricks  
chmod +x winetricks  
mv winetricks /usr/local/bin  

Code::Blocks安裝

官方網站下載Code::Blocks的deb包

用dpkg -i *.deb安裝,如果缺少包,用apt-get -f install自動安裝缺省包
Code::Blocks中文包下載
下載中文語言包,放到/usr/share/codeblocks/locale/zh_CN/文件夾下。注意,若無/usr/share/codeblocks/locale/zh_CN文件夾,自行建立。之後在Code::Blocks的setting--view--Internationlization下選擇chinese(simplifield),重啓Code::Blocks即可


重啓不過Grub直接進入系統,是因爲安裝了kexec

簡單說一下kexec的作用吧:  無重啓切換內核 這便於開發人員的調試工作
默認狀態下沒開啓  若開啓此功能  需要apt-get install kexec-tools  
若是我們想關閉這個功能 只需要刪除kexec-tools即可  
帶着這樣的思路 執行sudo apt-get remove kexec-tools


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章