FedoraRHEL Based

How To Install Bottles on Fedora 42

Install Bottles on Fedora 42

Bottles offers a powerful yet user-friendly approach to running Windows applications on Linux systems like Fedora 42. Unlike using Wine directly, Bottles provides an intuitive graphical interface with preconfigured environments and robust sandboxing capabilities. This comprehensive guide will walk you through installing, configuring, and making the most of Bottles on Fedora 42, whether you’re a casual user or a power enthusiast.

Understanding Bottles

Bottles serves as a sophisticated wrapper around Wine, transforming the complex process of running Windows software on Linux into a manageable experience. At its core, Bottles introduces “environments” – preconfigured setups tailored for different use cases.

Key features that make Bottles stand out include:

  • Environment templates (Gaming, Software, Custom) that provide optimal configurations based on your needs
  • Complete application isolation through sandboxing for enhanced security
  • Snapshot functionality to restore bottles to previous states if problems arise
  • An automated dependency manager that handles required Windows components
  • An intuitive interface for managing multiple Windows applications

The primary advantage of Bottles over raw Wine usage is simplification without sacrificing functionality. While Wine is powerful, its configuration can be daunting for newcomers. Bottles preserves all of Wine’s capabilities while making them accessible through a user-friendly interface that aligns perfectly with Fedora 42’s modern desktop environment.

Prerequisites for Installation

Before installing Bottles on your Fedora 42 system, ensure your setup meets the necessary requirements:

System Requirements:

  • A 64-bit Fedora 42 installation
  • At least 4GB of RAM (8GB or more recommended for gaming)
  • Sufficient free disk space (minimum 10GB recommended)
  • Updated graphics drivers, especially important for gaming applications

Fedora 42 typically comes with most required dependencies pre-installed, but you’ll need Flatpak for the recommended installation method. To ensure your system is fully updated before proceeding:

sudo dnf update

This preparation ensures a smooth installation process and optimal performance when running Windows applications through Bottles.

Installation Methods Compared

Flatpak Installation (Recommended Method)

The Flatpak installation method is officially recommended by the Bottles development team as it provides full sandboxing capabilities.

To install Bottles via Flatpak on Fedora 42:

  1. If you haven’t already enabled the Flathub repository, add it with:
    flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
  2. Install Bottles using the following command:
    flatpak install flathub com.usebottles.bottles
  3. Once the installation completes, verify it was successful by running:
    flatpak run com.usebottles.bottles

The primary advantages of the Flatpak version include full sandboxing security, consistent behavior across Fedora updates, and automatic dependency management.

Fedora Repository Installation

Bottles is also available directly from Fedora’s repositories:

sudo dnf install bottles

This method offers simpler command-line usage and potentially better desktop integration but lacks the comprehensive sandboxing of the Flatpak version.

Manual Build Option

For advanced users who need the very latest features or specific customizations, building from source is an option, though it requires more technical knowledge and manual maintenance for updates.

Initial Setup and Configuration

After installing Bottles on your Fedora 42 system, follow these steps for initial configuration:

  1. Launch Bottles from your application menu or run flatpak run com.usebottles.bottles if you installed via Flatpak.
  2. You’ll be presented with a welcome screen. Click through the introduction screens using the arrow buttons.
  3. On the “Almost Done” page, click the blue “Continue” button. Bottles will perform some background setup operations.

Install Bottles on Fedora 42

Note: If you encounter an issue where the “Almost Done” screen keeps reappearing after clicking “Continue,” this is a known bug that can be fixed by running Bottles with special environment variables:

PERSONAL_DEPENDENCIES=https://github.com/bottlesdevs/dependencies/raw/main PERSONAL_COMPONENTS=https://github.com/bottlesdevs/components/raw/main PERSONAL_INSTALLERS=https://github.com/bottlesdevs/programs/raw/main flatpak run com.usebottles.bottles
  1. Once setup is complete, click “Start using Bottles” to access the main interface.
  2. Before creating your first bottle, consider visiting the preferences section to configure global settings including the default bottles directory location, which is ~/.var/app/com.usebottles.bottles/data/bottles/bottles/ for Flatpak installations.

Creating Your First Bottle

A “bottle” in Bottles terminology is a self-contained Windows environment. Different bottle types are optimized for different purposes:

  1. From the main Bottles interface, click “Create New Bottle”
  2. Choose a descriptive name for your bottle that indicates its purpose (e.g., “Office2019” or “EpicGames”)
  3. Select the appropriate bottle type:
    • Application: Optimized for productivity software and general Windows programs
    • Gaming: Preconfigured with settings ideal for running Windows games
    • Custom: For advanced users who want complete control over configuration options
  4. Click “Create” and wait while Bottles configures the environment.
  5. Once creation is complete, you’ll see a detailed view of your bottle showing configuration options, installed programs, and various management tools.

Each bottle type comes with different default settings. For example, the Gaming template automatically enables DXVK and other optimizations that improve game performance, while the Application template focuses on stability for productivity software.

Managing Runners and Dependencies

Understanding and Managing Runners

Runners in Bottles are essentially different Wine versions, each with specific features and compatibility profiles. To manage runners:

  1. Navigate to your bottle’s details view and click the “Runner” option in the sidebar
  2. View your currently installed runner and its version
  3. To install a different runner, click “Download runners” to view available options
  4. Available runners typically include Wine-GE (optimized for gaming), Soda, and others

You can switch runners for a specific bottle at any time, which is useful for testing which runner works best with particular applications.

Working with Dependencies

Windows applications often require specific libraries and components. Bottles includes a dependency manager that simplifies this process:

  1. In your bottle’s details view, select “Dependencies” from the sidebar
  2. Browse the available dependencies, including DirectX components, Visual C++ Redistributables, .NET Framework versions, and various Microsoft libraries
  3. To install a dependency, simply click its entry and select “Install”
  4. Bottles will automatically download and configure the dependency within your bottle

Proper dependency management is often the key to getting stubborn Windows applications working properly. If an application fails to run, checking its required dependencies is typically the first troubleshooting step.

Installing Windows Software

Once you’ve created a bottle, you can install Windows software using several methods:

Using Direct Executable Installation

  1. In your bottle’s details view, click “Run Executable”
  2. Navigate to and select your Windows installer file (.exe, .msi, or .bat)
  3. Follow the standard Windows installation prompts
  4. After installation completes, the program should appear in your bottle’s “Programs” list

Alternatively, you can right-click on a Windows executable file in your file manager and select “Open with Bottles” to streamline the process.

Using Bottle Installers

Bottles offers pre-configured installers for many popular applications:

  1. From your bottle’s details page, select “Install programs”
  2. Browse the list of available installers, which includes popular software and game platforms
  3. Each installer shows a compatibility rating (Platinum, Gold, Silver, etc.)
  4. Click the download/install icon next to your chosen program
  5. Bottles will automatically handle the installation process, including configuring necessary dependencies

For example, if you want to install the Epic Games Store, you can simply select it from the installers list, where it’s marked as having Platinum compatibility.

Working with ISO Files in Bottles

Many Windows applications, particularly games, come as ISO files. Bottles provides straightforward ways to work with these:

  1. In your bottle’s details view, select “Utilities” from the sidebar
  2. Click “Mount ISO file” and navigate to your ISO file
  3. The ISO will be mounted and available as a drive within your bottle
  4. You can then run the setup program from the mounted ISO

For games or applications that need to access the ISO after installation (e.g., for DRM verification), you’ll want to keep the ISO mounted while using the application.

Advanced Features and Customization

Bottles offers numerous advanced features that power users will appreciate:

Snapshot Management

Snapshots allow you to save the state of a bottle and restore it if problems occur:

  1. From your bottle’s details, select “Snapshots” in the sidebar
  2. Click “Create snapshot” and provide a descriptive name
  3. To restore a snapshot, select it from the list and click “Restore”

You can configure automatic snapshots to be created before installing new programs or dependencies, providing a safety net for your configurations.

Performance Optimizations

Bottles provides several performance enhancement options:

  1. In your bottle’s configuration section, you can enable:
    • DXVK for improved DirectX performance
    • VKD3D for DirectX 12 support
    • Gamemode for optimized resource allocation during gaming
    • FSR (FidelityFX Super Resolution) for improved gaming performance
  2. For gaming bottles, you can also configure esync/fsync for improved thread synchronization and NVAPI for better Nvidia GPU support.

Custom DLL Overrides

For applications with specific compatibility requirements, you can use the DLL Overrides section to set specific Windows DLLs to “Native” (use Windows version) or “Builtin” (use Wine version).

Gaming on Fedora with Bottles

Gaming is one of Bottles’ strengths, with specialized features for gamers:

Optimizing Gaming Performance

  1. Always use the Gaming bottle template for game installations
  2. Install the appropriate runners – Wine-GE is typically recommended for gaming
  3. Ensure DXVK and VKD3D are enabled for best DirectX compatibility
  4. Enable Gamemode for resource prioritization

The Gaming Environment in Bottles comes preconfigured to support a large set of Windows video games on Linux.

Game Store Integration

Bottles offers streamlined installation for major game platforms:

  1. Use the installers feature to install platforms like:
    • Epic Games Store (marked as Platinum compatibility)
    • EA App/Origin
    • Battle.net
    • GOG Galaxy
    • Ubisoft Connect
  2. After installing a game platform, you can install and play games through its interface just as you would on Windows.

Troubleshooting Common Issues

Despite Bottles’ user-friendly approach, you may encounter issues that need troubleshooting:

Applications Not Launching

If an application fails to start:

  1. Check the dependency list for your bottle and ensure all required components are installed
  2. Try switching to a different runner to see if compatibility improves
  3. Examine logs by running Bottles from the terminal with the --debug flag
  4. Use a custom Windows version setting in your bottle’s configuration

“Almost Done” First Run Loop Issue

As noted earlier, some users experience an issue where Bottles keeps showing the “First run” screens. The solution is to run Bottles with environment variables that point to the correct repositories:

PERSONAL_DEPENDENCIES=https://github.com/bottlesdevs/dependencies/raw/main PERSONAL_COMPONENTS=https://github.com/bottlesdevs/components/raw/main PERSONAL_INSTALLERS=https://github.com/bottlesdevs/programs/raw/main flatpak run com.usebottles.bottles

Graphics and Display Issues

For applications with display problems:

  1. Try changing the Virtual Desktop settings in your bottle’s Display configuration
  2. Disable desktop effects if applications show graphical glitches
  3. Test different DXVK versions if available
  4. For fullscreen issues, enabling “Borderless Window” mode can often help

A common issue with Bottles 2025 releases is that some users report no DXVK, VKD3D, NVAPI, or LatencyFlex components being found during setup. If you encounter this, using the environment variables command above often resolves the issue.

Maintaining Your Bottles Installation

To keep your Bottles setup running smoothly over time:

Updates and Maintenance

  1. Regularly update Bottles via Flatpak:
    flatpak update com.usebottles.bottles
  2. Periodically check for new runners and components through the Preferences menu
  3. Clean up unnecessary files by removing temporary installation files and deleting unused bottles to reclaim disk space

The Bottles team regularly releases updates with bug fixes and enhancements. For example, Bottles 51.18 brought improvements to the user interface, command-line interface fixes, and better file pickers.

Backup Strategies

To protect your configurations:

  1. Use the built-in snapshot feature before major changes
  2. For complete backups, you can copy your entire Bottles directory:
    cp -r ~/.var/app/com.usebottles.bottles/data/bottles/bottles/ ~/bottles-backup
  3. Consider scheduling regular backups of your most important bottles

Power User Tips and Tricks

Advanced users can leverage these additional capabilities:

Command-Line Operations

Bottles offers extensive command-line functionality:

# Create a new bottle
flatpak run com.usebottles.bottles -c create -n "MyBottle" -e "gaming"

# Run a program in a specific bottle
flatpak run com.usebottles.bottles -b "MyBottle" -e "C:\path\to\program.exe"

Recent updates have fixed several CLI issues, making command-line operations more reliable.

Integration with Other Tools

Combine Bottles with other Linux tools for enhanced workflows, such as using Lutris alongside Bottles for broader gaming support or integrating with Steam for certain games that benefit from Steam’s controller support.

Security Considerations

When running Windows software on Linux, security should remain a priority:

  1. Leverage Bottles’ sandboxing features, especially in the Flatpak version, to isolate applications
  2. Be cautious about which Windows applications you install and their sources
  3. Consider creating separate bottles for untrusted applications
  4. Remember that Windows malware can potentially run in Wine, though it’s typically isolated from your main system
  5. Use snapshots before installing new software to enable easy rollback if needed

The Flatpak version of Bottles provides enhanced security through complete sandboxing, preventing Windows applications from accessing your home directory unless explicitly permitted.

Congratulations! You have successfully installed Bottles. Thanks for using this tutorial for installing the Bottles on your Fedora 42 Linux system. For additional help or useful information, we recommend you check the official Bottles website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

r00t

r00t is an experienced Linux enthusiast and technical writer with a passion for open-source software. With years of hands-on experience in various Linux distributions, r00t has developed a deep understanding of the Linux ecosystem and its powerful tools. He holds certifications in SCE and has contributed to several open-source projects. r00t is dedicated to sharing her knowledge and expertise through well-researched and informative articles, helping others navigate the world of Linux with confidence.
Back to top button