How to Install Bottles on Ubuntu 22.04 LTS Jammy
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 and 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 …, etc.)
- 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 Ubuntu 22.04 LTS Jammy Jellyfish. The tutorial will use the command line terminal and the third-party repository manager Flatpak to install the latest version of Bottles. Currently, this is the best way to install Bottles for Ubuntu users by the Bottles development recommended team.
Before proceeding with the tutorial, it is good to ensure your system is up-to-date with all existing packages.
sudo apt update && sudo apt upgrade -y
As explained in the tutorial, the best way to install Bottles is to use the Flatpak package manager, which is not installed on Ubuntu distributions. Snapcraft is Flatpak’s rival and is owned by Canonical and Ubuntu. However, Flatpak is still available to install from Ubuntu’s default repository.
First, install the Flatpak manager; this can be skipped if you already have it installed.
sudo apt install flatpak -y
For users installing Flatpak for the first time, it is often recommended to reboot your system. Failure to do this can occur with odd issues arising, such as paths not being generated for icons.
SKIP THE REBOOT IF FLATPAK IS INSTALLED.
Next, you need to enable Flatpack using the following command in your terminal:
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Now install the video editor using the following flatpak command.
flatpak install flathub com.usebottles.bottles -y
How to Launch Bottles
The bottles application can be launched immediately from your terminal using the following command.
flatpak run com.usebottles.bottles
The best way to use Bottles for desktop users that prefer not to use the command line terminal is to open the GUI of the application by following the path:
The first time you launch Bottles, you will go through a quick pre-installation wizard to complete the GUI installation. Overall this should take a few minutes at most.
How to Use Bottles
Next, the tutorial will create a quick gaming environment using the pre-built profiles and available gaming installers.
First, create and name an environment.
Next, depending on your system strength, you need to wait while the bottle is created; this installs all the Window dependencies.
Once complete, you will arrive at the Bottles details. You can configure preferences, dependencies, programs, installers, and much more.
Remember, Bottles has plenty of desktop applications that can be installed, and it is not just all about gaming.
How to Update/Upgrade Bottles
The best way to upgrade the software, depending on what versions you have installed, is to use the following terminal command.
By default, Flatpak should automatically check for updates.
How to Remove (Uninstall) Bottles
When you no longer want the Bottles installed on your system, use the following command to remove the software.
Next, run the following command for any leftover clean-up.
Comments and Conclusion
In the tutorial, you have learned how to install Flatpak package manager and enable the Flathub quickly and install, maintain, and, if so, remove Bottles on Ubuntu 22.04 LTS Jammy Jellyfish.
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!ties > Show Applications > Bottles