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