2008年5月12日 星期一

ie for Linux -ies4linux

http://howtoforge.com/ubuntu_internet_explorer
http://blog.pixnet.net/Nelson/post/12146305


1.modify /etc/apt/sources.list

sudo vi /etc/apt/sources.list
deb http://de.archive.ubuntu.com/ubuntu gusty universe
deb http://wine.budgetdedicated.com/apt gusty main

註:因為我剛升級成gusty版本 所以改成gusty
但如果還是feisty的話就改成feisty就好

2.安裝所需套件

sudo apt-get update
apt-get install wine cabextract
wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
tar zxvf ies4linux-latest.tar.gz
cd ies4linux-xxxxxxx (請填上解壓縮後的版本)


安裝:
如果直接執行 ./ies4linux 的話一直不能成功安裝..
試著用 ./ies4linux --nogui 也會出現問題

會出現如下的錯誤

ADVAUTH.CAB: No such file or directory
CRLUPD.CAB: No such file or directory

而且我資料夾底下真的也沒有這些檔案~

查了一下好像是ie4linux 2.99.0 新版本的問題
解決辦法:
修改 ./lib/messages.txt

gedit ./lib/messages.txt
第19行 tw . zhTW TW
改成 zh tw zhTW TW

修改 /lib/functions.sh

gedit ./lib/functions.sh
第98行從
pid=$(wget -q -b -t 1 -T 5 -U "$useragent" -o /dev/null $URL $WGETFLAGS -O "$file" | sed -e 's/[^0-9]//g')

改成
pid=$(LANG=C wget -q -b -t 1 -T 5 -U "$useragent" -o /dev/null $URL $WGETFLAGS -O "$file" | sed -e 's/[^0-9]//g')



之後執行安裝後,我會出現flash無法下載的錯誤還有權限不合
所以我就直接用sudo 並加上不要flash的tag

sudo ./ies4linux --noflash


但這一個安裝後有一個問題
每次執行ie6時都要sudo....

所以我就直接把相關的資料夾都改owner成一般的user了

cd ~/.ies4linux

sudo chown -R name:group ./bin
sudo chown -R name:group ./downloads/
sudo chown -R name:group ./ie6


XD這樣就可以以一般使用者執行ie6了XDXD

美化的部分google一下就可以有結果了
http://noviceworld.blogspot.com/2007/10/ie4linux.html

沒有留言: