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.
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):
or also (for 64-bit computer):
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:
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
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.)
- 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
We can now download Safari, through using a
When the download is complete, then you can launch Safari Setup using the following:
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.
When the web browser appears, select it and then tap “Install.” Read the disclaimer, and if you accept it, then tap “Next -> Next.” Safari is now be downloaded to your computer.
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!
Also See: How To Turn On Or Off Pop-up Blocker in Safari