You have to enable universe packages first. It is also recommended that you use the official winehq Ubuntu package:
1) Open a terminal(打开一个终端)
2) Open /etc/apt/sources.list(打开源列表)
sudo gedit /etc/apt/sources.list3) Uncomment (or add) following lines:(添加如下行)
deb http://us.archive.ubuntu.com/ubuntu edgy universe4) Add this line:(添加这行)
deb http://wine.budgetdedicated.com/apt edgy main5) Close gedit. Update and install wine and cabextract:(关闭gedit ,运行下列升级安装wine 及 cabextract)
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add – sudo apt-get update sudo apt-get install wine cabextract6) Download IEs 4 Linux and install( 下载并安装 IEs 4 Linux )
wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz tar zxvf ies4linux-latest.tar.gz cd ies4linux-* ./ies4linuxNote for Dapper users: if you use ubuntu dapper, replace edgy with dapper on lines above. Note for Feisty users (7.04): if you use ubuntu Feisty, replace edgy with feisty in the lines above. Also replace gedit with kedit if running Kubuntu instead of Ubuntu.
Dapper用户请注意:如果你使用的是ubuntu dapper,请使用 dapper 替换上面代码中的 edgy。Feisty用户 (7.04)请注意:如果你使用的是ubuntu Feisty,请使用 feisty 替换上面代码中的 edgy。如果您使用的是Kubuntu版本替代ubuntu请采用 kedit 替换 gedit .
For “Fiesty” K/Ubuntu Users (and 64-bit “Fiesty): http://www.winehq.org/site/download-deb