February 2008 Archives

It's great that Apple has decided a while ago to release Safari 3 for windows. It would have been better if they would have released a native version for Linux so that web developers that use this platform as their main machine can see how the sites they build look on the mac.

Fortunately we are able to run Safari 3 on Linux using wine. Here is a step by step tutorial that will get the browser working on Ubuntu 7.10

1. install wine (follow the official instructions http://www.winehq.org/site/download-deb)
2.set wine's Windows version to Windows XP by  typing in a terminal
$winecfg

0.png 3. install windows fonts
$sudo apt-get install msttcorefonts
4. copy the core windows fonts to the wine install:
$cp /usr/share/fonts/truetype/msttcorefonts/{Arial,Times_New_Roman}*.ttf ~/.wine/drive_c/windows/fonts/
5. download the Safari for Windows installer (http://www.apple.com/safari/download/)

6. run the installer using wine:
$wine Safari304BetaSecUpdateSetup.exe
6.1 next
safari_install_1.png6.2 accept the license
safari_install_2.png6.3 DO NOT!! install Bonjour and the Apple Updater
safari_install_3.png 6.4 done install
safari_install_4.png6.5 create a shortcut by creating the Safari.desktop file using your favorite text editor (make sure to use your real username in the path to WINEPREFIX)
[Desktop Entry]
Name=Safari
Exec=env WINEPREFIX="/home/<your_username_here>/.wine" wine "C:\\Program Files\\Safari\\Safari.exe"
Type=Application
StartupWMClass=Wine
Icon=e2f6_safariico.0
7. All done