1. Home
  2. Linux
  3. Run windows apps on linux with wineglass

Run Windows apps on Linux with Wineglass

Setting up Wine applications on Linux can be challenging, especially for newcomers to the platform. This is where Wineglass comes to the rescue. It enables users to effortlessly create Wine prefixes, configure settings, and install EXE files using an intuitive user interface. Here’s a guide on how to use Wineglass on your system.

Wineglass hero image.

How to install Wineglass on Linux

The Wineglass application is available on the Flathub app store as a Flatpak. If you want to install this program on your computer, you must enable the Flatpak runtime and access the Flathub app store.

To begin, open a terminal window. You can do this by pressing Ctrl + Alt + T on your keyboard. Alternatively, you can search for “Terminal” in the app menu and launch it from there. Once the terminal is open, follow the installation instructions that are specific to your Linux operating system.

Ubuntu

To install the Flatpak runtime on Ubuntu, use the following apt install command.

sudo apt install flatpak

Debian

Flatpak can be installed on Debian with the following apt-get install command.

sudo apt-get install flatpak

Arch Linux

Those on Arch Linux can install Flatpak using the pacman -S command.

sudo pacman -S flatpak

Fedora

If you’re using Fedora Linux, there’s a good chance that the Flatpak runtime is already enabled and installed. However, if it’s not, you can set it up using the following dnf install command:

sudo dnf install flatpak

OpenSUSE

Flatpak is typically pre-installed on OpenSUSE installations. However, if you find that it’s not installed or if you’ve previously uninstalled it, you can get Flatpak up and running on your OpenSUSE system by using the following zypper in command:

sudo zypper in flatpak

Now that you’ve installed the Flatpak runtime on your system, you can activate the Flathub app store. This app store lets you install applications like Wineglass. To enable it, use the flatpak remote-add command.

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

With the Flathub app store now enabled on your system, you can easily install the Wineglass application using the flatpak install command.

flatpak install flathub io.github.aggalex.Wineglass

Once the installation of the Wineglass application is complete, you can launch it from the app menu on your Linux desktop.

How to create a Wine prefix with Wineglass

To create a Wine prefix using the Wineglass app, follow these steps. Begin by launching Wineglass. You can do this by searching for “Wineglass” in the app menu. Alternatively, you can start Wineglass using the following command in a terminal.

flatpak run io.github.aggalex.Wineglass

Once you have the Wineglass app open, locate the “Create one” button below the “No wineprefixes” section and click it using your mouse. Enter the name for your new wineprefix. In this guide, we’ll name it “testprefix.”

To create additional wineprefixes in the Wineglass app, click the plus sign located in the top-right corner of the app. Once you’ve selected the plus sign, enter a name for the new prefix, and press Enter to create it.

How to run Windows programs with Wineglass on Linux

To execute an EXE file using Wineglass, begin by locating your newly created wineprefix. In this guide, our wineprefix is named “testprefix.” Once you’ve located your prefix, click on the arrow icon next to it to reveal Wine options.

Creating the Wine test prefix.

Within the options menu, select the “Run .exe file” button. When you click this button, a pop-up window will appear. Utilize the pop-up window to browse for the Windows EXE file you wish to run, and then select the “Open” button.

Wineglass

Once you’ve chosen the “Open” option for your Windows program, Wineglass will automatically run it within the specified wineprefix. You can proceed to install the program using the installer, and it will then be accessible from the Linux app menu. Alternatively, you can simply run the EXE file through Wineglass without the need to install it.

Wineglass is executing an EXE.

Uninstalling programs

If you want to uninstall a program using Wineglass, follow these steps. Start by launching the Wineglass application. Once it’s open, locate the trash can icon and click on it. When you choose the trash icon, Wineglass will remove your wine prefix, which in turn deletes your Windows programs, effectively uninstalling them.

It’s worth noting that Wineglass doesn’t offer a more conventional method for “uninstalling” programs, but deleting the prefix typically suffices for most cases.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.