How to Run Windows Software on Linux with Bottles


Linux is undoubtedly the best operating system that offers a highly secure and reliable environment. However, Linux still gets a backlash due to the lack of software support.

If you also feel the same, don’t worry because now you can use Bottles to use any software on Linux. Bottles is similar to Wine (a popular compatibility layer for Windows) but offers some advanced options. Moreover, Bottles allows you to easily install Windows software on Linux. If you also want to run Windows software on Linux, you need to install Bottles on your machine.


So let’s start with some basic information about bottles.

What are bottles?

Bottles is an open source application that can simplify and manage Wine prefixes in a completely advanced way. The Wine prefix mimics the Windows C drive and includes all the files needed to use Windows applications on Linux. However, Wine prefixes need some updates. Therefore, Bottles was developed to provide Wine prefixes in a GUI-based approach.

In simple words, this tool allows you to run different games and software in Linux by mimicking C drive to provide Windows environment in Linux. You can also use its setting options to change the system settings according to the specific requirements of a program.

Bottles generates an entirely new state with the default configuration each time you add a dependency for an application. Hence, it becomes easy to run BAT, MSI and EXE files in Linux as Bottles modifies the system according to the executables.

Bottles was developed with a combination of Python and Bash, and the current version of Bottles is the third version, but you can still use the first version if you want. The second version, however, is discontinued due to internal issues.

Main features of bottles

  • Adding environment variables and running executables directly from the file manager is simple in Bottles
  • It has automated options for detecting, installing, managing and repairing application packages
  • It supports a built-in dependency installer based on the community repository
  • Bottles integrates game performance enhancement and optimization options including fsync, shader compiler, DXVK, cache management, esync, etc.
  • You can create regular backups and import necessary data
  • It has access option for WineHQ and ProtonDB
  • Built-in dependency manager and multilingual support make it easy to use
  • Comes with a built-in task manager to monitor running software
  • Intelligent detection system of installed programs.

How to Install and Use Bottles in Linux

You can install Bottles through different package formats like Flatpak, DEB, AppImage, Snap, etc. However, there is a difference between Flatpak, AppImage and Snap, so please choose the one that suits your needs.

Let’s use Flatpak to install Bottles in Ubuntu; start by installing Flatpak on your system.

After successful installation of Flatpak, use the following command to install Bottles:

sudo flatpak install flathub com.usebottles.bottles

Once you’ve installed it, go to the Applications menu and search for “Bottles” to launch it.

Click on the Arrow icon to start the bottle configuration process.

Once everything is configured, let’s install WinRAR, which is only available for Windows and not for Linux. To do this, first visit WinRAR official website and download the latest version.

To download: WinRAR

In Bottles, click the More (+) icon or Create a new bottle button and type the name you want to use.

As we are installing WinRAR, which is a Windows application, select Application in the Environment list and click the Create button. There are different environments in the list that you can choose from:

  • Games : Creates a gaming-focused bottle with plenty of tweaks to help you run games smoothly
  • Application: Modifies the bottle with enhancements to run different Windows desktop applications
  • Custom: Creates a custom bottle with no special adjustments (this helps a user experiment with the settings)

Once done, the system will start configuring the configurations required by the Windows application.

Now you will see the new bottle listed in the main Bottles interface. Double-click the WinRAR bottle to open it.

Here you can change the Settings, Preferences and Installer options according to your needs.

Click on the Run the executable option and select the EXE file for WinRAR.

After selecting the WinRAR installer file, you will get a new window to install the program.

Finally, you can access WinRAR on Linux to extract any archive file including RAR and ZIP.

As you can see, Bottles used the Wine prefix to create a Windows environment for WinRAR installation.

Advanced options in bottles

You can install different programs to adjust the bottle for any application in the Installers option. It is similar to the ProtonDB install option and displays program ratings based on their compatibility with the system. For example, a Platinum rating means it’s highly compatible, and a Bronze rating means it’s less consistent with the system.

Let’s install EA Launcher as it is Platinum rated. Click on the To download symbol to get it.

From Dependencies option, you can download codecs and libraries that can improve the compatibility of Windows programs. The list consists of different dependencies with specific details about them, so you can install them accordingly.

Use any Windows software in Linux with bottles

There’s always an argument as to why a lot of Windows software doesn’t support Linux. Many Linux users are looking for alternatives to Wine to run Windows executables on Linux, and if you find yourself doing the same, Bottles is for you. It is a compatibility layer using which you can run any Windows software on Linux. Based on the Wine prefix, Bottles has advanced options and an intuitive graphical environment.

You can install any Windows software, as long as you modify its bottle before creating and installing the program. Otherwise, it might not work properly on your system and you might encounter errors, crashes, bugs, etc.

You can use Flatpak, a distro-independent packaging format, to install Bottles on any distro, as almost all Linux-based operating systems support it. Moreover, you can also opt for AppImages if you encounter errors while installing Bottles on Linux.

Source link


About Author

Comments are closed.