How to Install Safari on Linux

Safari On Ubuntu Featured

When you think of the major web browsers, chances are that Apple’s Safari features somewhere on your list. However, despite its popularity, Safari has never been officially released for Linux – particularly strange considering macOS and Linux both have historical ties to UNIX.

If you’re a Linux user and a web developer and need to provide support for the Safari browser, the good news is that there are some workarounds to get Safari up and running on Linux. Although you’ll be restricted to Safari 5, this version still has everything you need for surfing the Web.

Installing Safari Browser on Linux

There are two potential workarounds for installing Safari on Linux: using WINE (the compatibility layer, not the drink) or using WINE and PlayOnLinux, which provides a graphical user interface (UI) for WINE.

As an added bonus, you can use WINE and PlayOnLinux to install many other Windows applications beside Safari, so after completing this tutorial you’ll have easy access to other applications that were never supposed to run on Linux.

How to Install WINE

WINE is one of the most well-known Linux packages, and it is found in most Software Center/Package managers. In Ubuntu (or Ubuntu-based distro), you can install WINE with the command (for a 32-bit computer):

or (for 64 bit computer):

One thing to note is that the WINE version in Ubuntu is pretty outdated. If you want to get the latest stable version of WINE, do the following:

1. Add the WINE key.

2. Add the repository.

The above command is for Ubuntu 19.10 (eoan). If you are using version other than Ubuntu 19.10, change the name accordingly (like “bionic”, “xenial”, etc.)

3. Update the system.

4. Lastly, install the stable version of WINE.

WINE will now be installed. For more information, refer to our guide on installing WINE on Linux.

Installing Safari using WINE

Before downloading Safari, we need to create a download and build directory. Open a Terminal window and run the following commands:

We can now download Safari, using a wget command:

Once the download is complete, you can launch Safari Setup using the following:

At this point you may be prompted to download some additional software, such as Mono or Gecko. If prompted, click “Install” and wait for these packages to download.

Once you have all the necessary supporting software, the Safari Installer should launch automatically.

Run the Terminal command, and the Safari installer will launch automatically.

Once you’ve completed the standard Safari setup, the web browser will be installed, and you can start using Safari on Linux!

Running Safari In Linux

Installing Safari Using PlayOnLinux

WINE isn’t always the most user-friendly software, so you may want to consider installing PlayOnLinux, which provides a graphical user interface for the underlying WINE code.

To install PlayOnLinux, use the following command:

You can now find PlayOnLinux in your Applications menu.

In the PlayOnLinux window, select “Install a program.”

PlayOnLinux offers a more user-friendly UI.

Enter “Safari” in the search bar.

In the "Search bar" enter "Safari."

When the web browser appears, select it and click “Install.” Read the disclaimer, and if you accept it, click “Next -> Next.” Safari will now be downloaded to your computer.

Now that you have WINE installed, you have access to many other Windows games and applications that you can install and enjoy on Linux. If you’re looking to add Razer peripherals, read on to learn how to install OpenRazer on Linux.

Image credit: Web Browser by DepositPhotos

Jessica Thornsby Jessica Thornsby

Jessica Thornsby is a technical writer based in Derbyshire, UK. When she isn’t obsessing over all things tech, she enjoys researching her family tree, and spending far too much time with her house rabbits.


  1. Would not using such an old version cause other problems? Knowing that there are not newer versions for Windows.

  2. This is a 8 year old Safari browser. It is useless to install it. Most of the websites will not work correctly because of new stuff in the programming world.

  3. With all the great browsers available on Linux, why would one desire to install Safari? Maybe like mountain climbing, because it is there?

  4. I have just installed this Wine thing and Safari on my Ubuntu 20.04 and it doesn’t work and somehow deleted my Opera and Chrome browsers :( Only FireFox is still there. Could anyone help me with any hints how to remove it or restore those Opera and Chrome browsers ? I have had there some vital bookmarks…

Comments are closed.