ubuntu 安装备忘 13.04 更新中。。。已升级为13.10

来源:互联网 发布:网络大学怎么报名 秋季 编辑:程序博客网 时间:2024/05/22 12:32

版本13.04

分区如图:



安装中文支持

   

安装 vim

apt-get install vim

vi /etc/vim/vimrc

_____________

set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
set nu

____________


安装fcitx       

1. 安装

 

觉得fcitx比较好,是因为它五筆可以打繁体!!

安装方法:

1.sudo apt-get install im-switch libapt-pkg-perl fcitx

2.sudo apt-get  install  fcitx-table-wbpy
3.im-switch -s fcitx



2. 配置默认输入法为 fcitx

  im-switch -s fcitx  // 注意无须加 sudo



3. 重启 x-window



安装matplotlib

apt-get install python3-numpy

apt-get install python3-matplotlib



python setup.py build
python setup.py install


安装PyQt4

apt-get install python3-pyqt4


安装IDLE

apt-get install idle-python3.3


安装nmap, wireshark, ettercap

sudo wireshark


报错信息为:
Lua: Error during loading:
 [string "/usr/share/wireshark/init.lua"]:45:dofile has been disabled

解决方案:
编辑init.lua文件的倒数第二行:sudovim /etc/wireshark/init.lua ;改为--dofile("console.lua")
重启wireshark即可。


gedit中文文本乱码。
复制以下命令到终端中,然后回车即可:
gsettings set org.gnome.gedit.preferences.encodings auto-detected "['UTF-8','GB18030','GB2312','GBK','BIG5','CURRENT','UTF-16']"