Safari is Apple's proprietary browser, installed by default on macOS and iOS. It does not have an official version for Linux, but you can still install it if you need to test the behavior of sites or interfaces in Safari. In this article, we will look at how to install Safari on Linux using the Wine environment.
Step 1. Installing Wine
Wine allows you to run Windows applications on Linux. Let's install it through the package manager. For Debian / Ubuntu:
sudo apt install wine -y
For Fedora, use the command:
Check the installation:
Step 2. Downloading Safari for Windows
Download Safari 5.1.7 from the official Apple archive:
Step 3. Installing Safari via Wine
After downloading the installation file, run the installation via Wine:
The Safari graphical installer will appear. Accept the terms and complete the installation.
Step 4. Launch the browser
After installation, you can launch Safari with the following command:
If the path is different, find the file manually:
While Safari does not have a native version for Linux, it can be installed via Wine for basic testing. However, keep in mind that this is an outdated version of the browser. To accurately reproduce the behavior of sites in the current version of Safari, it is better to use cloud services or real Apple devices.