Installing Safari with Flash and Shockwave under Ubuntu with Wine
Well guys i thought that i would post this for any of you that maybe developing web sites or heaven forbid your thinking firefox is too slow for you.
This is somewhat borrowed from this web site
http://www.ubuntu-unleashed.com/2008/03/howto-install-safari-on-ubuntu-w... Who am i kidding it's all borrowed from this how to guide.
From what i can gather is basically your not making a Mac program work on Linux your making a Windows Program work under Linux, which in fairness is nothing new and exciting.
So if you don't have a copy of Wine installed, and a copy of the msttcorefonts then you will need to open up a command line terminal and place the following code in there.
sudo aptitude install msttcorefonts wine
You may need to make sure that your install of Wine is configured as XP, you can load the configure option by placing this following code into the command line terminal
winecfg
and choosing Windows XP in the Windows Version, in the GUI window that pops up
Then you need to copy some font's across so it will look all nice and pretty when you use it, by placing these following code into the command line terminal
cp /usr/share/fonts/truetype/msttcorefonts/Arial*.ttf ~/.wine/drive_c/windows/fonts/
and
cp /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman*.ttf ~/.wine/drive_c/windows/fonts/
and then we need to download a copy of safari, now you can either down load it from this web site
http://www.apple.com/safari/download/or you can place the following code into a command line terminal
wget
http://ubuntu-debs.googlecode.com/files/SafariSetup.exeand then place this code into a command line terminal
wine SafariSetup.exe
if you've not used the above wget command then you need to cd into where ever you've downloaded it in a terminal, and place the above code into the command line terminal
When the install starts you need to make sure that you uncheck both
”Install Bonjour for Windows” and “Automatically update Safari and other Apple Software.” and you will need to accept the license too, then start the installation.
Now you need to install the flash for it too, place the following code into a command line terminal
wget
http://ubuntu-debs.googlecode.com/files/install_flash_player.exeand then place the following code into the command line terminal
wine install_flash_player.exe
Now Safari is installed and should be found under Applications > Wine > Programs > Safari
Now for the final step let's install Shockwave as well, place the following code into the command line terminal
wget
http://fpdownload.macromedia.com/get/shockwave/default/english/win95nt/l...or visit this site and download either the slim line or full version for Windows XP
http://www.adobe.com/shockwave/download/alternates/#spnow place the following code into the a command line terminal
wine Shockwave_Installer_Full.exe
Once you've done that you then will need to copy the shockwave files into your Safari install plug in folder, place this code into your command line terminal
cp -R ~/.wine/drive_c/windows/system32/Adobe/Director/* ~/.wine/drive_c/"Program Files"/Safari/Plugins
You can check it's worked by loading up Safari and going to Help > Installed Plug-ins
I thought this may interest some and could be helpful for some web developers. When you think that now you can have Firefox, ie4linux, Safari, Opera you covered most popular browsers. I'm not sure if it's me but i'm sure it's a wee bit faster than firefox too.
Long live the tux
Finux
www.thelinuxsociety.org.uk
Comments
interestingly enough
After speaking to a few people after the recent Linux Society meeting i was told about Safari Windows install in most cases invalidates it's own EULA, it's only suppose to be used on Apple labelled machine, also if your running safari under your your Windows XP installation it's also worth paying attention to this http://apple.slashdot.org/article.pl?sid=08/03/27/129236
Arron M Finnon
President
Abertay Linux Society