Как установить wine mono
Preface
After wine is installed for the first time and enter winecfg in the terminal, it will automatically download and install the wine-mono and wine-gecko plug-ins, but the automatic download will be very slow, and the download may not be successful. , So it’s best to download manually. The steps in this article refer to this blog: https://blog.csdn.net/qq_41343094/article/details/105748180#wine__16
Mention here, wine-mono and wine-gecko can be found in the "Image Source of University of Science and Technology of China" related installation packages, the following are introductions to install the latest version of wine-mono and wine-gecko.
Install wine-mono
First enter
http://mirrors.ustc.edu.cn/wine/wine/wine-mono/
Click wine-mono-5.0.0-x86.msi and download it.
After downloading, open the terminal, enter the directory where the file was downloaded, and execute
Then we verify whether the installation was successful. Open winetricks in the terminal:
If winetricks is not installed on your ubuntu, then execute the following statement to install it:
After entering winetricks, select in order: [Select the default wine container] → [Run uninstaller], in the pop-up interface, if you find wine-mono related software, it means that the wine-mono installation is successful.
install wine-gecko
The download and installation method is the same as wine-mono. Download wine-gecko-2.47.1-x86_64.msi and wine-gecko-2.47.1-x86 at the following URL: http://mirrors.ustc.edu.cn/wine/wine/wine-gecko/2.47.1/ .msi, and then use the mono method above to install:
As usual, open winetricks and select: [Select the default wine container] → [Run uninstaller]. In the pop-up interface, if you find wine-gecko related software, it means that the wine-gecko installation is successful.
Как установить и использовать Wine в Ubuntu 20.04
Wine — это уровень совместимости с открытым исходным кодом, который позволяет запускать приложения Windows в Unix-подобных операционных системах, таких как Linux, FreeBSD и macOS. Wine — это аббревиатура от «Wine Is Not an Emulator». Он преобразует системные вызовы Windows в эквивалентные вызовы POSIX, используемые операционными системами на основе Unix, что позволяет легко интегрировать программы Windows в среду рабочего стола.
Не все приложения Windows будут работать в Wine, и даже если они это сделают, они могут вести себя иначе, чем обычно. Wine AppDB — это база данных, содержащая список приложений, которые были протестированы и подтверждены для работы под Wine.
Wine не всегда лучший вариант для запуска программ Windows в Linux. Вы также можете использовать инструмент виртуализации, такой как VirtualBox или VMware , но для них требуется больше системных ресурсов и установочный файл Windows.
В этой статье описывается, как установить Wine на Ubuntu 20.04. Мы покажем вам, как установить дистрибутив по умолчанию версии 5.0 и последней версии 6.x из репозиториев WineHQ. Те же инструкции применимы для любого дистрибутива на основе Ubuntu, включая Zorin OS, Linux Mint и Elementary OS.
Установка Wine 5.0 на Ubuntu
Пакеты Wine включены в репозитории Ubuntu по умолчанию и могут быть легко установлены с помощью диспетчера пакетов apt Это самый простой способ установить Wine на Ubuntu. Однако версия дистрибутива может отставать от последней версии Wine.
Большинство приложений Windows построено на 32-битной архитектуре. Первый шаг — включить мультиархитектуру, что позволит вам установить на машину как 64-битные, так и 32-битные пакеты:
После завершения установки проверьте это, распечатав версию Wine:
Текущая версия Wine, доступная в репозиториях Ubuntu 20.04, — 5.0 .
Вот и все. Wine установлен на ваш компьютер, и вы можете начать его использовать.
Установка Wine 6.0 на Ubuntu
В этом разделе мы предоставим пошаговые инструкции о том, как установить Wine версии 6 на Ubuntu 20.04.
Если вы используете 64-битную систему Ubuntu, включите 32-битную архитектуру и обновите список пакетов:
Импортируйте GPG-ключ репозитория WineHQ:
Добавьте репозиторий WineHQ в вашу систему:
Установите Wine, набрав:
Это установит кучу пакетов. После завершения проверьте установку Wine, набрав:
На момент написания этой статьи последним основным выпуском Wine была версия 6.0:
Wine установлен и готов к использованию.
Настройка Wine
Чтобы начать настройку Wine, запустите команду winecfg в своем терминале. Команда устанавливает Mono и Gecko и устанавливает среду Wine:
Появится диалоговое окно с вопросом, хотите ли вы установить пакет wine-mono:
Нажмите кнопку «Установить», и установка начнется. После этого появится новое диалоговое окно с предложением установить Gecko. Снова нажмите кнопку «Установить».
Когда установка будет завершена, отобразится диалоговое окно конфигурации Wine. Здесь вы можете настроить различные параметры Wine. В большинстве случаев достаточно настроек по умолчанию. По завершении закройте диалоговое окно.
Установка Notepad ++ в Ubuntu
Теперь, когда Wine установлен и настроен, мы объясним, как устанавливать приложения Windows на вашу Ubuntu.
В этом руководстве мы покажем вам, как установить Notepad ++, один из самых популярных текстовых редакторов Windows. Запустите браузер и загрузите установочный файл со страницы загрузки Notepad ++ .
После завершения загрузки запустите установку, щелкнув правой кнопкой мыши .exe и выбрав «Открыть с помощью Wine Windows Program Loader».
Мастер установки запустится, выберет язык и установит Notepad ++ так же, как и любое приложение на компьютере с Windows.
Приложения Windows устанавливаются в
Чтобы запустить редактор Notepad ++, перейдите в
/.wine/drive_c/Program Files (x86)/Notepad++ и дважды щелкните файл notepad++.exe
Вы также можете запустить приложение из панели поиска Действия.
Вывод
Мы показали вам, как установить Wine на рабочий стол Ubuntu 20.04 и как устанавливать приложения Windows.
Если вы столкнулись с проблемой или хотите оставить отзыв, оставьте комментарий ниже.
How To Run Windows Applications On Linux [Beginners Guide]
The answer to that question is yes. Yes, you can run Windows applications in Linux. Here are some of the ways for running Windows programs with Linux:
Both of them work just fine. But they are somewhat resource hungry.
If you only need to use a small Windows application, installing Windows on a separate HDD partition or as a Virtual Machine is not efficient. Moreover, Virtual Machine can’t utilize the total power of your machine. So, what is the solution?
No worries, there is another way to use Windows software on Linux. It’s called Wine. If you aren’t yet familiar with it or you are a beginner in the world of Linux, this article is for you.
In this beginner’s guide, I’ll show you what Wine is and how to use it to run Windows software on Linux. I have used Ubuntu here as Ubuntu is one of the best Linux distros for beginners, but any other Linux distribution will have more or less the same steps (except for the commands in Arch or Fedora-based distros).
Using Wine to run Windows programs in Linux
Wine stands for Wine Is Not an Emulator. And WINE is actually an acronym for that. And as previously stated, it’s not even a virtual machine.
Rather it is a compatibility layer for running Windows applications on UNIX-like, POSIX-compliant operating systems (e.g. Linux, Mac, BSD). While a virtual machine or emulator simulates internal Windows logic, Wine translates those Windows logic to native UNIX/POSIX-complaint logic.
In simple and non-technical words, Wine converts internal Windows commands to commands your Linux system can natively understand.
Installing Wine
There are various ways to install Wine on your system. Almost all the Linux distros come with Wine in their package repository. Most of the time the latest stable version of Wine is available via the package repository.
If you are using a 64-bit installation of Ubuntu, you will need to add 32-bit architecture support on your distro which will benefit you in installing specific software. If you don’t know whether you have a 32-bit installation or 64-bit, check this article on how to check if you have a 32-Bit or 64-Bit Computer.
Once confirmed, do this by executing the following command:
In Ubuntu, you can install Wine by:
Get the latest WINE version (optional)
But in the case of Ubuntu 22.04 LTS, the available package in the repo is Wine v6.0.3, while the latest stable release is v7.0.1. In the case of software like Wine, which receives significant updates frequently, always try to remain in the latest stable release. To do this in Ubuntu, first, you need to add the 32-bit architecture with the above step. Then download and add the repository key:
In the next step, you need to download the Wine source file. For that, you need wget installed.
Also, you should know which version of Ubuntu is running on your system. In my case, I was running Ubuntu 22.04 Jammy Jellyfish.
To know your version, run this command in a terminal window:
Once you get your version name, replace this in place of jammy and execute the command below:
Now update the package information.
Finally, install the latest stable version of Wine with:
You can use winehq-devel or winehq-staging for Development and Staging branch respectively.
Getting Started with Wine
Before we go on installing and running applications in Wine, we should have a clear idea about a few things and about how to configure Wine for usage:
WinePrefix
Windows applications need a C: drive. Wine uses a virtual C: drive for this purpose. The directory of this virtual C: drive is called wineprefix. First of all, you need to create a wineprefix. To do that, fire up a terminal and enter this command:
Here it prompts you to install the Wine Mono package needed for the .NET application to work properly. You can press the Install button to do this job.
Install Wine Mono using the installer
This will create a wineprefix and open the configuration window for Wine. You can change the configuration options or let it be as it is and close it.
Wine Configuration Window
Now, you can locate the virtual C: drive at
C: Drive inside the Wine directory on User’s home directory
The general rule is to install each new application into a fresh wineprefix. You can create and maintain multiple wineprefix manually. But that task would seem rather tedious for beginners. So, we will skip that part for now. But, later I will show how to do that part with ease.
Which Windows applications are supported by Wine?
A large number of Windows applications are currently fully supported by Wine. They will run without any hassle.
However, new Windows applications are being developed every day. Many of them wouldn’t function as we want on Wine. But the development pace of Wine is also rapid, and support for new applications is being added all the time.
And there is a dedicated database for keeping track of just that.
Wine Application Database has almost 28,000+ applications rated with different statuses depending upon how well those applications run in Wine. If you want to quickly check the rating of the application you want to use in Wine, you can take a look there. Here is the meaning of those ratings:
- Platinum: These applications install and run flawlessly in out-of-the-box Wine.
- Gold: These applications work flawlessly with some special configurations.
- Silver: Applications with minor issues are tagged as Silver.
- Bronze: The Bronze ones have major issues that seriously affect usage.
- Garbage: These simply won’t run on Wine.
Reviews, Installation Procedure, which Wine version it was tested against and various useful data are also available for each application here.
Of course, Wine Application Database is mostly user-generated data, so you are always welcome to try running an application with a different version of Wine and share your result with the rest of the community.
Finding an Application in Wine Application Database
Let’s see how we can find an application in Wine Application Database.
Go to Wine Application Database. Click Browse Apps from the left sidebar.
Browse applications in Wine Application Database using various filters like name, rating, etc.
Click on the link to the application from the search result. You’ll see a description of the application. There will be a list of various versions with their compatibility rating with a specific Wine version.
The details page for the selected application with the list of versions and their statistics
Let’s click on the latest version link. This is the main page you need to check. There will be detailed information about that specific version.
Detailed information about a particular version of the application in Wine Application Database
Installing an Application with Wine
Installing a supported application in Wine is generally as easy as double-clicking on the installation file. However, you will now see a step-by-step guide for installing 7-zip on Wine.
First of all, check for 7-zip rating on Wine Application Database. It has a Platinum rating, so we are good to go. Open Wine configuration ( winecfg ) and set the Windows Version to Windows 7 (Shown in the above screenshot).
Right-click on the 7-zip installation file and select the Open With Other Application option.
Select Open With Other Application option from right-click context menu
After that, select Wine Windows Program Loader.
Select Wine Windows Program Loader as the application to open .exe type files
See that destination folder path? The 7-zip installation has recognized the virtual C: drive from wineprefix.
Select Install in the 7-zip installer to install the program
Finish the installation and you can now open the 7-zip application from the Ubuntu Activities overview.
Open 7-zip from Ubuntu Activities Overview
All you have to do is click on the icon. If you want to access your files on Linux, they are generally located in Z: Drive.
7-zip list the contents of users’ home directory
You can use the 7-zip just as you would use it on Windows – for extracting and creating archives and such.
Uninstalling an Application with Wine
As said above, installing an application is easier with Wine. To uninstall an application, you have a Wine Uninstaller tool. You can access this tool by entering the terminal:
This will open the uninstaller window. Here, the list of installed applications will be present. You need to select the application, 7-zip in this case, and press Modify/Remove button as shown below:
Modify/Remove an application installed using the Wine Uninstaller tool
This will initiate the uninstall process and can be completed easily on an application basis.
Let’s make things (a lot) Easier
You might have noticed that, in Wine Application Database, a specific Wine version is mentioned with every version of the application reviews.
It is because of the rapid development rate of Wine. Though an application runs with the current version of Wine, it might not run with a future version, because of the changes made.
Also, I’ve mentioned installing each application in its own fresh wineprefix. So, an application has no chance of interfering with another. And doing all these manually, usually from the terminal, is time-consuming, tiresome, and sometimes confusing.
PlayOnLinux is here to rescue you. It provides a nice interface for doing all these things easily. For installing PlayOnLinux on Ubuntu, simply run this command:
PlayOnLinux Interface
You can easily perform every task related to Wine with PlayOnLinux from a beautiful and intuitive graphical interface:
- Installing & Uninstalling applications.
- Creating, Updating & Removing wineprefixes.
- Maintain Wine of different architecture and versions.
- Run & Create shortcuts for installed applications.
- And so on…
But still, you will need to check Wine Application Database for reviews, installation procedures, and such.
Advantages of using Wine
When it comes to running Windows applications on Linux systems, Wine provides many advantages over using emulators or virtual machines.
- Performance: Wine is immune to the performance loss that otherwise occurs while emulating.
- Native Experience: There is no need to open Wine before running a Windows application. Exactly how Wine works will be clear from this quote from the official site,
Wine Derivatives
There are quite a number of projects for running Windows applications on other platforms, based on Wine:
- CrossOver: CrossOver is developed by the company named CodeWeavers. It is directly based on Wine with a few tweaks and proprietary add-ons. In fact, CodeWeavers employs a large portion of Wine developers. Unlike the rapid releases of Wine, CrossOver releases are more stable. The one major downside is that Crossover is not free. : PlayOnLinux is completely based on Wine. And provides an easier route for installing and managing applications with Wine. PlayOnLinux is free. It is also available for Mac as PlayOnMac.
- Bottles: Bottles app got huge popularity recently, because of its ease of use and various other life-saving features. It is available as a flatpak to install on all Linux distributions. You can run Applications and Games inside bottles.
- ReactOS: ReactOS is an entirely different open-source operating system for running Windows applications. It reuses a considerable amount of codes from Wine. However, this is a project under development for more than a decade and I won’t recommend it.
CodeWeavers

Additional Tips on using Wine
Winetricks
This is another important part of using Wine. Winetricks is a helper script to download and install various redistributable runtime libraries needed to run some applications in Wine. These may include replacements for components of Wine using closed-source libraries. Winetricks comes with Wine installation on Ubuntu through the package manager.
For starting winetricks, run this command:
If you have installed Wine from Wine official repository, you may need to install winetricks separately.
To do this, open a terminal and enter the following commands:
Now open Winetricks with:
Winetricks interface
There are many options for helping you with various tasks.
Installing an Application with Winetricks
If you Install an app from winetricks, it will be installed in a separate wineprefix. Let’s install VLC:
So, select install an app from the options and click OK:
Select the Install an Application option and press OK to install a new application using Winetricks
Now select VLC from this list:
Select an application available from the list to install
It will then begin to download the VLC installation files. And then guide you through the rest of the process. It’s pretty simple.
Install Windows DLL or components and others
You can select a wineprefix from winetricks and install various libraries and components required by the application you want to run and also perform other operations.
Select the Install a Windows DLL or Component option from Winetricks
And then select the required DLL or component to install:
Select the required DLL from the list
For more information, you can check Wine FAQ and Documentation.
I hope you find this complete beginner’s guide to using Wine in Linux helpful. Now you can run Windows programs in Linux without installing a virtual machine or dual booting.
Let us know if you have any questions or opinions in the comment section below.
How to Install Wine on Debian, Ubuntu and Linux Mint
Wine is an open-source, free and easy-to-use program that enables Linux users to run Windows-based applications and games on Unix-like operating systems. Wine is a compatibility layer for installing almost all versions of Windows programs.
Wine 7.0 is finally released and it comes with an array of numerous enhancements and a total of 40 bug fixes. You can find out all the new features and changelog of this new release on the Wine announcement project page.
This article describes a few easy steps to install the latest stable version of Wine 7.0 under Debian 11/10, Ubuntu 22.04-18.04, and Linux Mint 20-19 systems, and also we will see how to configure wine, install windows software, and Un-install.
On this page
Installation of Wine on Debian, Ubuntu, and Linux Mint
If you are looking to have the most recent version of the Wine 7.0 stable series, you have to use a new Wine repository PPA which offers both development versions and stable versions of Wine for Debian, Ubuntu, and Linux Mint.
Install Wine on Ubuntu and Linux Mint
To install Wine 7.0 on Ubuntu and Linux Mint, open the terminal by hitting ‘CTRL + ALT + T ‘ from the desktop and run the following commands to install it:
Add the repository:
| For this version: | Use this command: |
| Ubuntu 22.04 | sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources |
| Ubuntu 21.10 | sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/impish/winehq-impish.sources |
| Ubuntu 20.04 Linux Mint 20.x |
sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources |
| Ubuntu 18.04 Linux Mint 19.x |
sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/bionic/winehq-bionic.sources |
Update packages and then install one of the following packages:
| For this version: | Use this command: |
| Stable branch | sudo apt install —install-recommends winehq-stable |
| Development branch | sudo apt install —install-recommends winehq-devel |
| Staging branch | sudo apt install —install-recommends winehq-staging |
Install Wine on Debian
To install Wine on Debian.
Download the WineHQ sources file:
| For this version: | Use this command: |
| Debian 11 (Bullseye) | sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources |
| Debian 10 (Buster) | sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/buster/winehq-buster.sources |
Now update the package repository database and install Wine as shown.
| For this version: | Use this command: |
| Stable branch | sudo apt install —install-recommends winehq-stable |
| Development branch | sudo apt install —install-recommends winehq-devel |
| Staging branch | sudo apt install —install-recommends winehq-staging |
Installing Wine Using Source Code on Debian, Ubuntu & Mint
Another way to get the most recent stable version of Wine (i.e. 7.0 as of now), is to build wine from source tarball using the following commands.
How to Use Wine to Run Windows Apps & Games
To demonstrate how we can run Windows program using wine, we have downloaded Rufus .exe file from the official Rufus download page.
To run Windows Rufus executable file, run the command:

Once you run the program, Wine will start creating a configuration file in the user’s home directory, in this case,

During Wine configuration, it will as you to install the wine-mono-package which is required by .NET applications, click the ‘Install’ button.

The download will soon start.

Additionally, it will also ask you to install the Gecko package which is required by applications embedding HTML.

Choose whether you want to check for application updates from time to time.

Finally, the Rufus will be displayed as shown.

We have successfully installed Wine on Debian, Ubuntu, and Linux Mint and shown you a preview of how you can run Windows applications in a Linux environment.
Uninstalling Wine in Debian, Ubuntu, and Linux Mint
If you are not happy with the wine program, you can remove it completely by using the following command.
You can also download the Wine source package for other Linux distributions from the wine download page.
Tutorial Feedback.
If You Appreciate What We Do Here On TecMint, You Should Consider:
TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.
If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

We are thankful for your never ending support.
Related Posts






157 thoughts on “How to Install Wine on Debian, Ubuntu and Linux Mint”
The included commands like «sudo apt install —install-recommends winehq-stable» seem to be not quite correct, as ‘winehq‘ does not exist. I used ‘wine-stable‘ as the target. Ubuntu 22.04.1
I’m a noob to Linux but am researching different distros for migration. I am running a 1-8400 chip at 2.81 GHz w/ 12 Gig of Ram. The four current Linux distros I have in a VM are Mint 20.1, RoboLinux 12.11, Manjaro 21.1.5, and MX Linux 19.4.1.
MX seems to be the best fit, but I can’t seem to expand the workspace beyond its initial 6×8. This is not an issue with any of the other distros I’ve run. I’ve searched some of the forums, gone through the manual, and passed the conky lists but I’m still at a 6×8 on a 23″ monitor. What am I missing?
MX is based on Anti-X which is developed by a group of radical anarchists. Remove it from your system as soon as possible.