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


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