Effortlessly Run Windows Programs on Linux Using the Ultimate Single Tool
Effortlessly Run Windows Programs on Linux Using the Ultimate Single Tool
Quick Links
- What Is Bottles?
- How to Install Bottles
- Don’t Forget to Adjust Bottles Preferences
- The Different Types of Bottle
- Creating Your First Bottle
- Running Our Windows Application
- Fantastic, But Not Perfect
You may already know that, thanks to the Wine project, you can run Windows applications on Linux. Wine is great, but it can be difficult for a beginner. Meet Bottles, an application that makes Wine much more manageable, accessible, and secure.
What Is Bottles?
That’s a good question, but let’s take a step back. What is Wine? Wine is a Linux application that makes Windows programs think they’re running in Microsoft Windows. It translates the calls the program would make to Windows, into Linux-compatible calls. It processes those requests and sends the responses back to the Windows program as though it was Windows that was replying. That’s an incredible achievement from an impressive project that’s been around for a long time .
Bottles is a visual wrapper for Wine . It still uses Wine as the technology to run the Windows applications, but it gives you an intuitive graphical interface so you don’t need to wrestle with Wine’s flexible but sometimes overwhelming configuration. After all, if you go to a store and buy wine, you don’t carry it home in your cupped hands. They give you a convenient glass container for that very purpose.
Windows is the most commonly targeted platform for viruses and other malware, so there are risks to running Windows applications. Wine gives Windows applications access to your home drive with the same permissions and authority as you. Any malware you pick up has the same permissions. Bottles helps by sandboxing each Windows application, effectively acting as a container to confine the activities of applications and malware alike.
How to Install Bottles
The best way to install Bottles is via Flatpak. In fact, it’s the only way to install Bottles that provides the full sandboxing capability, and it’s the officially recommended way.
Both Manjaro Linux and Fedora Linux have Flatpak installed by default. On Ubuntu you’ll need to install it . Once Flatpak is set up, installing Bottles is simple.
flatpak install flathub com.usebottles.bottles
The scrolling output will pause for you to confirm you wish to perform the installation.
Type “Y” and hit “Enter.”
The installation takes a little while. When it is completed, you can launch Bottles with this command.
flatpak run com.usebottles.bottles
You’ll see some output as Bottles configures itself.
Soon, Bottles launches, displaying the Welcome to Bottles introduction screens.
Click the arrow button to move through the screens. On the Almost Done page, click the blue “Continue” button.
Bottles performs some further setup and configuration, then tells you it’s ready.
Click the blue “Start using Bottles” button to start using Bottles.
With no Bottles created, the Library view is empty.
You can also launch Bottles by finding it in your application view. On GNOME, press the “Super” key and start to type “Bottles.”
When you see the Bottles icon, click it to launch the application.
Don’t Forget to Adjust Bottles Preferences
Bottles has a lot of settings that you can use to fine tune how your bottles are created, and what resources such as run time dependencies and DLLs are available for the applications inside your bottles.
As we’ll see, the defaults provided by Bottles for the different bottle types are sufficient for most case. But there’s still one setting that you might want to change. That’s where your bottles are created and stored in your file system.
The default location is “~/.var/app/com.usebottles.bottles/data/bottles/bottles/” for the Flatpak version of Bottles. The “/bottles/bottles” at the end of the path might look like a typo, but it’s not.
We saw no need to change this location, but if you’d prefer to have your bottles and their applications stored on a particular location such as a large hard drive or fast SSD, you can change this location easily.
Click on the hamburger menu icon, and select “Preferences” from the menu.
The “Preferences” dialog appears.
The bottom option on the “General” tab is “Bottles Directory.” Click the button at the end of that line to open a file browser dialog.
Browse to the location you wish to use, then click the orange “Select” button.
The Different Types of Bottle
Bottles provides a template for bottles that are geared towards gaming, and another that is more suited to general applications. It also provides a custom bottle template allowing you to configure your bottle yourself. This can also be used to run 32-bit software.
Most of the time, and certainly for newcomers to Bottles, using either the gaming or applications templates is the easiest route to success.
We’re going to use the template for applications.
Creating Your First Bottle
To create your bottle, select “Bottles” from the toolbar, then click on the blue “Create New Bottle” button.
We’re going to install Notepad++ , a Windows-only editor. We named our bottle “Notepad++”, and selected the “Application” radio button.
Click the blue “Create” button to create your bottle.
Bottles configures your bottle and Wine, then tells you the process is complete.
Click the blue “Close” button to close the dialog. You can see the details of your new bottle.
Running Our Windows Application
The “Install Programs” option lets you install some commonly used applications, wrapped by members of the Bottles user community. The “Dependencies” option lets you install resources that your application might need, such as runtimes, DLLs, or Microsoft fonts,
We’re going to use the blue “Run Executable” to run the Notepad++ installer. This was already downloaded to my “~/Downloads” directory.
Browse to the location of the downloaded installer. Click on the file to highlight it, then click the “Run” button.
We see the usual Notepad++ installation dialog.
Work your way through the installation screens.
Soon, you’ll see the final screen.
Leave the tick in the “Run Notepad++ v8.6.2” checkbox and click the “Finish” button. Notepad++ launches on your desktop.
Back in Bottles, you’ll see Notepad++ is listed as an installed program.
Clicking the arrow head icon launches Notepad++ for us, whenever we wish to use it.
Fantastic, But Not Perfect
There are Linux equivalents to most Windows applications, but they sometimes do things differently or don’t replicate all the functionality of their Windows equivalent. This can flummox newcomers to Linux. Sometimes, especially with games, there simply are no Linux equivalents.
Bottles makes running the original Windows applications right inside your Linux computer pretty easy in most cases. If your application doesn’t want to run, check out the Bottles forum . You won’t be the first to have had your problem, and there may well be a known remedy.
As wonderful as it is, Wine isn’t perfect. And so Bottles isn’t perfect. But Bottles makes using Wine much more palatable.
Also read:
- [New] How to Keep Viewers Engaged with These Videos
- [New] Hydro-Durable Cams of the Week – #7 Edition Revealed
- [New] Top ASMR Content Creators on YouTube
- [Updated] How to Use VLC as Converter to Convert Mp4 and Other Formats
- [Updated] How Zooming Up with FB Live Transforms Broadcasts
- [Updated] In-Depth Analysis 2024'S Leading Video Recorders Unveiled
- 2024 Approved FREE Premium Visual Aids for Business Professionals
- 2024 Approved Stay Up-to-Date with Facebook's Latest Watched Content
- Backside GPU Integration: Discover Maxsun's Advanced Mini-ITX Motherboard Technology
- Darkened Display: Sudden Blackout
- How To Unlink Your Apple iPhone X From Your Apple ID
- In 2024, Ideal iPhone & Android GoPro Apps Cutting-Edge Edits
- In 2024, Understanding and Executing Essential Mukbang Elements
- Journey Into the Art of Long-Exposure A Comprehensive Guide to GoPro Timelapses for 2024
- New In 2024, Get Creative with These Free Video Special Effects Apps for iOS and Android
- Title: Effortlessly Run Windows Programs on Linux Using the Ultimate Single Tool
- Author: Frank
- Created at : 2024-11-09 16:51:51
- Updated at : 2024-11-14 06:02:04
- Link: https://some-techniques.techidaily.com/effortlessly-run-windows-programs-on-linux-using-the-ultimate-single-tool/
- License: This work is licensed under CC BY-NC-SA 4.0.