How to Install Safari on Linux
Safari is one of the most popular and secured browsers designed for Internet surfing with maximum security of your personal information. However, this browser has not been officially released for Linux. In this article, we will discuss how to install the Safari browser on Linux.
Though Safari has not been officially released for Linux OS, we believe macOS and Linux OS have historical ties to UNIX. However, as a Linux user or a web developer that needs support from the Safari browser, the good news is that there is a walkthrough that can help you run Safari on your Linux PC.
In a nutshell, there are two different ways to install Safari on Linux. You can use WINE (the compatibility layer, not the drink) or use WINE and PlayOnLinux, which provides a graphical user interface (UI) for WINE.
To Install Safari on Linux require WINE. So the first thing we will note is how do I install WINE?. Follow the steps below to Install WINE on your device:
COPYRIGHT_NOVA: Published on https://www.novabach.com/how-to-install-safari-on-linux/ by Daniel Barrett on 2022-07-14T09:20:27.000Z
This is a well-known Linux package found in most Software Center/Package managers.
Note: The WINE version in Ubuntu is pretty outdated. Here’s how to get the latest stable version of WINE:
- Add the WINE key.
- 1. wget -nc https://dl.winehq.org/wine-builds/winehq.key
- 2. sudo apt-key add winehq.key
- Add the repository.
- 1. sudo apt-add-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main’
- 2. The above command works for Ubuntu 19.10 (eoan). For those that use Ubuntu 19.10 version, you’ll need to change the name accordingly (like “bionic,” “xenial,” etc.)
- Update the system.
- Now, install the stable version of WINE.
Before installing Safari, you’re required to create a download and build directory by opening the Terminal window and running the following command:
- mkdir -p ~/build/safari
- cd ~/build/safari
You can now download Safari using a wget command:
- wget http://appldnld.apple.com/Safari5/041-5487.20120509.INU8B/SafariSetup.exe
Once the download is complete, you can launch Safari Setup using the following:
- wine SafariSetup.exe
If you notice a prompt to download some additional software like Mono or Gecko. Click the installation button once prompt, and wait for those packages to download.
You’ll now notice the Safari installer launched automatically. First, however, make sure you have all the necessary supported software installed.
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!