Bottles is a free and open-source application that simplifies creating “prefixes” of wine similar to those on Windows operating systems. The tagline for the software is “Run Windows in a Bottle.” Bottles work with “prefixes” of wine that imitate the file system hierarchy of the Windows operating system can be used for storing software meant only compatible with this platform.
Another feature of using Bottles is supporting a large set of Windows video games on Linux. Once installed, you can gain immediate access to game stores (e.g., Epic Games Store, EA Launcher, Battle.net, etc.)
Example from Bottles Offical Site:
- Create bottles using preconfigured environments or create your own
- Run executables (.exe/.msi) in your bottles, directly from the context menu of your file-manager
- Automated detection of applications installed in your bottles
- Add environment variables quickly
- Override DLLs directly from per-bottle preferences
- On-the-fly runner change for any Bottle
- Various gaming-performance optimizations (esync, fsync, DXVK, cache, shader compiler, offload … and much more.)
- Automatic installation and management of Wine and Proton runners
- Automatic bottle repair in case of breakage
- Integrated dependency-installer based on a community-driven repository
- Integrated Task manager for Wine processes
- Access to ProtonDB and WineHQ for support
- System for bringing your configuration to new versions of Bottles
- Back up and import bottles
- Import Wine prefixes from other managers
- Bottles versioning (experimental)
- … and much more that you can find by installing Bottles!
In the following tutorial, you will learn how to install Bottles on Manjaro 21 Linux. The tutorial will use the command line terminal with yay AUR helper. Ideally, most users may be using some wrapper for Pacman. For new users, it is essential to install one to keep your packages up-to-date while you learn Arch/Manjaro.
Table of Contents
Before proceeding with the tutorial, it is good to ensure your system is up-to-date with all existing packages.
sudo pacman -Syu
Install yay Helper
To begin the installation, you must have GIT installed to import the yay repository to install/build. From your command terminal, use the following code to begin the installation.
sudo pacman -S --needed --noconfirm base-devel git
Now clone the yay archive using the following terminal command.
git clone https://aur.archlinux.org/yay-git.git
Next, move the archive to the /OPT/ directory. This is a good location for any other archive installs, keep everything located, and traditionally the directory is a commonly used area for different applications.
sudo mv yay-git /opt/
Now navigate to the yay-git directory location.
Build the package using the makepkg command.
Now that you have installed the package management helper, you can install the software using the following command.
yay -S bottles --noconfirm
Remove –noconfirm to manually go through the installation questions instead of selecting the default answers.
How to Launch Bottles
Now that you have completed the installation launching, it can be done in a few ways.
Using the command line terminal, you can open the software quickly by using the following command.
Alternatively, run the bottles & command in the background to free up the terminal:
The best way to use Bottles wine application for desktop users that prefer not to use the command line terminal is to open the GUI of the application by following the path:
Taskbar > Accessories > Bottles
Now that you have installed the software, you can create new Wine prefix environments. As explained at the start, a handy feature is the ability to select environments that Bottles already has streamlined with applications or gaming with the alternative to create custom environments.
Example Word (Click Image to Enlarge):
How to Update Bottles
The best way to upgrade the software, depending on what versions you have installed, is to use the following terminal command.
yay -Syu --devel --timeupdate
How to Remove (Uninstall) Bottles
When you no longer want the Bottles installed on your system, use the following command to remove the software.
yay -Rns bottles --noconfirm
Optionally, you can run the following command to clean up any leftover unused dependencies, and this is highly recommended to run so your system does not become bloated.
Comments and Conclusion
In the tutorial, you have learned how to install yay AUR helper quickly and install, maintain, and, if so, remove Bottles on Manjaro 21 Linux series.
Bottles is an interesting new project that could make working with Windows prefixes much easier. The software has come a long way, but there may be some bumps as it progresses, but it looks like a promising solution for streamlining development on Windows instead of just installing Wine.
If you’re interested in trying out Bottles, head to the project page and check it out!