Whenever you think of the major web browsers, chances are that Apple’s Safari also features somewhere on your list. But, in spite of its popularity, Safari has never officially released for Linux – particularly strange considering macOS and also Linux both have historical ties to UNIX. In this article, we are going to talk about How to Install Apple Safari Linux – Tutorial. Let’s begin!
If you are a Linux user and also a web developer and need to provide support for the Safari browser. Then the good news is that there are some workarounds in order to get Safari up and running on Linux. Although you will be restricted to Safari 5, this version still has everything that you need for surfing the Web.
Contents
Installing Safari Browser on Linux
There are actually two potential workarounds for installing Safari on Linux: using WINE (the compatibility layer, not the drink) or using WINE and also PlayOnLinux. That provides a graphical user interface (UI) for WINE as well.
As an added bonus, you can also use WINE and PlayOnLinux in order to install many other Windows applications beside Safari. So after completing this tutorial you will have easy access to other applications that were never supposed to run on Linux actually.
How to Install WINE | safari Linux
WINE is one of the most well-known Linux packages, and it is also found in most Software Center or Package managers. In Ubuntu (or Ubuntu-based distro), you can install WINE along with the command (for a 32-bit computer):
sudo apt install wine32
or also (for 64-bit computer):
sudo apt install wine64
One thing to note here is that the WINE version in Ubuntu safari linux is really outdated. If you want to get the latest stable version of WINE, then you need to do the following:
- Add the WINE key.
wget -nc https://dl.winehq.org/wine-builds/winehq.key sudo apt-key add winehq.key
- Then add the repository.
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main'
The above command is actually for Ubuntu 19.10 (eoan). If you are using a version other than Ubuntu 19.10, then change the name accordingly (such as “bionic”, “xenial”, etc.)
- Update the system now.
sudo apt update
- Lastly, you have to install the stable version of WINE.
sudo apt install --install-recommends winehq-stable
WINE will now install.
Install Safari using WINE | safari Linux
Before downloading Safari, we need to create a download and also build directory. Open a Terminal window and then run the following commands:
mkdir -p ~/build/safari cd ~/build/safari
We can now download Safari, through using a wget
command:
wget http://appldnld.apple.com/Safari5/041-5487.20120509.INU8B/SafariSetup.exe
When the download is complete, then you can launch Safari Setup using the following:
wine SafariSetup.exe
At this point, you may be prompted to download some additional software, for example, Mono or Gecko. If prompted, then tap “Install” and wait for these packages to download.
When you have all the necessary supporting software, then the Safari Installer should launch automatically.
Once you have completed the standard Safari setup, then the web browser will be installed. And you also can start using Safari on Linux!
Installing Safari Using PlayOnLinux | safari Linux
WINE is not always the most user-friendly software, so you may want to consider installing PlayOnLinux as well. That provides a graphical user interface for the underlying WINE code.
In order to install PlayOnLinux, you need to use the following command:
sudo apt install playonlinux
You can now find PlayOnLinux in your Applications menu as well.
In the PlayOnLinux window, then choose “Install a program.”
Now enter “Safari” in the search bar.
Conclusion
Alright, That was all Folks! I hope you guys like this safari linux article and also find it helpful to you. Give us your feedback on it. Also if you guys have further queries and issues related to this article. Then let us know in the comments section below. We will get back to you shortly.
Have a Great Day!