Wine how to reinstall

Wine how to reinstall

How to Install WineHQ on Ubuntu 22.04 LTS

Wine is the open-source compatibility layer that allows you to run Windows applications on various operating systems, including macOS and Linux. It translates each system call made by your application into an equivalent POSIX function used across all three platforms – something which can be very helpful if one doesn’t have access or need for specific features available only in Microsoft’s OSs!

Another feature of using Wine is the Wine AppDB is a database containing lists of tested and confirmed applications that can be run under Wine. This program saves the trouble for Linux users who want to use Windows-based programs on their UNIX systems, but not all programs will work in this way; some may have strange bugs or crashes when they’re run with no errors beforehand (even though it’s possible).

In the following tutorial, you will learn how to install and configure Wine on Ubuntu 22.04 LTS Jammy Jellyfish using the command line terminal by importing the official WineHQ repository and installing the latest stable or next release titled development for those eager to try the latest bleeding-edge version of Wine for your windows compatibility needs.

Table of Contents

Update Ubuntu

Before you begin, run a quick update to ensure your system is up-to-date to avoid any conflicts during the installation of Wine.

Install Required Packages

The following packages must be installed to assist in installing the software.

If you are unsure, run the command; it will not harm you.

These are the most common software packages found on nearly all Linux distributions.

Enable 32-bit Support

Ideally, you should enable 32-bit architecture support, as many games and especially Windows applications may come in this form. Without it, you may be limited in what you can use with Wine.

Most users should enable this for lower-end systems that can only play lower-end games that come in 32bit format more often than not, and high-powered systems will not notice any impact having the packages installed.

Import WineHQ GPG Key & Repository

The step before installing any versions of Wine from WineHQ, import the GPG key and the WineHQ Jammy Jellyfish repository branch using the following steps outlined.

First, import the GPG key required to verify the authenticity of the Wine packages from WineHQ.

Using the following command, import the WineHQ repository for Ubuntu 22.04 LTS Jammy Jellyfish.

Now, run an APT update to reflect the new packages that have been imported.

Install Wine – WineHQ Stable Release

Due to Ubuntu 22.04 LTS being released, only STAGING AND DEVELOPMENT RELEASES are currently available from WineHQ for Jammy Jellyfish, which are outlined in the tutorial next two methods after the stable method.

The first method is to install the latest Wine version from the stable branch. This is often the best solution as it is more updated than the Ubuntu repository version while not bleeding-edge, such as the development release from WineHQ.

Run the following command to install the stable Wine release.

Example only for now:

Once completed, verify the version you have installed by typing the following command:

Alternative – Install Wine from Ubuntu Repository

Until WineHQ releases a stable version, you can install the Ubuntu version, given it’s a recent version as Jammy Jellyfish has just been released. In time I will update this tutorial once the above is available.

Install Wine – WineHQ Staging Release

The second method is to install the latest Wine version from the staging branch. This ideally is the beta version or testing version just before release. For users who would prefer a newer version rather than stable without risking the instability risks of bleeding-edge, such as the development version, I recommend the staging branch.

Run the following command to install the Wine staging release.

Once completed, verify the version you have installed by typing the following command:

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Install Wine – WineHQ Development Release

The third method is to install the latest Wine version from the development branch. This is bleeding-edge software and can sometimes be unstable or cause your system instabilities. This is recommended for more experienced users or developers that want a taste of what is to come.

With stable, run the following command to install the Wine development release.

Once completed, verify the version you have installed by typing the following command.

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

How to Finalize Wine Installation

Once WineHQ is installed, run the command winecfg” from your Ubuntu terminal, which will install the required environments for Wine to operate.

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Press Install to proceed

How to Configure Wine

Once you have finished the installation, the Wine configuration dialogue will be shown. In this section of the software, you can configure various Wine settings.

The default settings should be sufficient in most cases. However, if you change anything, it will be the Windows version that defaults from Windows 7 to something more recently, such as Windows 10. Still, as of the moment, Windows 11 is not supported, given it has also just been released.

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Once finished, close the dialogue box.

Now, downloading any .exe Windows binary file that suites your configuration, you can run it by right-clicking and selecting “Open With Other Application” and selecting Wine to run.

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

How to Run Wine From Terminal

While you can right-click applications downloaded and select open with Wine, as most users know, you can use the following command for strictly terminal terms.

How to Update/Upgrade Wine

For future updates from WineHQ, this can be done using the APT update and APT upgrade command as follows.

How to Remove (Uninstall) Wine

Depending on your needs, you may need to remove a particular version of Wine to install another or remove it in full. Use one of the corresponding commands to match your version.

Remove WineHQ Stable Release

Remove WineHQ Staging Release

Remove WineHQ Development Release

For complete removal, delete the repository file.

If you have removed the WineHQ repository, it is recommended to remove the GPG key.

Remove Wine (Ubuntu Repository Versions)

The users that installed Wine from the Ubuntu default repository use the following command.

Comments and Conclusion

Wine is an excellent program that can benefit users who need to run Windows applications on Linux systems. With Wine, you can have the best of both worlds by enjoying the stability and security of Linux while still having access to your favorite Windows applications.

Like to get automatic updates? Follow us on one of our social media accounts!

Установка wine в Ubuntu 20.04

Платформа Wine постоянно развивается. Выходят новые версии, в которых добавляется больше поддерживаемых функций Windows, исправляются многие ошибки, добавляется поддержка новых возможностей. Стабильные релизы Wine выходят приблизительно раз в год, полтора. Но корректирующие, тестовые релизы есть постоянно, даже по несколько раз в месяц.

За последнее время Wine очень сильно продвинулся в плане запуска игр. Благодаря библиотеке DXVK уже можно запускать и играть во многие игры для Windows без потери производительности. Далее будет рассмотрена установка Wine Ubuntu 20.04 при помощи стандартного репозитория Ubuntu, при помощи официального репозитория Wine и сборка из исходников.

Установка Wine в Ubuntu

1. Установка wine из официальных репозиториев

Для установки wine из официальных репозиториев достаточно выполнить команду:

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Установка может занять достаточно долго времени, поскольку системе надо скачать много пакетов. Далее вы можете посмотреть версию:

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

2. Установка wine из PPA

Для того, чтобы установить последнюю версию wine, как стабильную, так и тестовую из официальных репозиториев wine, сначала необходимо для 64 битных систем добавить поддержку архитектуры i386:

Далее добавьте официальный ключ для репозитория wine:

sudo apt-key add winehq.key

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Подключите официальный репозиторий разработчиков:

sudo add-apt-repository ‘deb https://dl.winehq.org/wine-builds/ubuntu/ focal main’

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

После этого обновляем списки пакетов:

sudo apt update

Далее необходимо выбрать, какой релиз (стабильный или тестовый) необходимо установить. Для установки стабильного релиза необходимо выполнить команду:

Для установки тестовой сборки необходимо выполнить команду:

В качестве примера была выбрана стабильная версия.

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

3. Сборка Wine из исходников

Если нужной вам версии нет в PPA и вам нужна установка последней версии Wine в Ubuntu 20.04 с накладыванием каких-либо патчей, или даже хотите иметь две версии Wine сразу, необходимо собирать Wine при помощи исходников.

Откройте утилиту Программы и обновления (Software & Updates) и на вкладке Источники ПО (Ubuntu Software) установите галочку напротив пункта Исходный код (Source code):

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Далее установите все необходимые компоненты для сборки wine при помощи команды:

sudo apt build-dep wine-stable

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Загрузим исходники, например, для версии 4.0 с официального сайта.

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Распаковываем исходники и перейдите в папку с ними:

Подготавливаем Wine к сборке. Если у вас ОС 32 битная, то выполняем следующую команду:

Если у вас ОС 64 битная, то выполняем команду:

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Если вы хотите установить wine в какую-либо другую папку, например, в /opt/wine4, нужно ее указать команде configure:

По завершению проверки, в конце будет выведена фраза configure: Finished. Do ‘make’ to compile Wine. Данное сообщение говорит о том, что программа готова к компиляции. Компилируем и запускаем сборку пакета при помощи команды:

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Далее собираем пакет для установки:

После сборки пакета, вы сможете установить Wine в Ubuntu при помощи утилиты dpkg:

Удаление Wine из Ubuntu

Чтобы удалить wine Ubuntu вам необходимо удалить тот пакет, который вы устанавливали ранее.
Например, для стабильной версии:

sudo apt purge winehq-stable

Или для тестовой версии:

sudo apt purge winehq-devel

Также вы можете удалить следующие файлы, чтобы очистить систему от мусора:

Выводы

В этой статье была рассмотрена установка последней версии Wine в Ubuntu 20.04. В качестве методов установки были рассмотрены: установка из официального репозитория Ubuntu, установка из репозитория Wine и сборка из исходников. Если остались вопросы, пишите в комментариях!

Thread: How do I completely remove and reinstall Wine

Thread Tools
Display

How do I completely remove and reinstall Wine

Some time ago I messed around with wine and screwed it up. How do I reinstall it from scratch. What do I need to remove.

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Re: How do I completely remove and reinstall Wine

Open a terminal and run these commands:

Re: How do I completely remove and reinstall Wine

Thanks for the help. During the installation, I got a bunch of error during «winecfg».

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Re: How do I completely remove and reinstall Wine

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Re: How do I completely remove and reinstall Wine

Actually, that is just as normal as the preloader errors (the two go hand in hand). Using the info on the Wine wiki page will make it go away.

Re: How do I completely remove and reinstall Wine

Well I’m trying to run a program called diptrace (diptrace.com) and it doesn’t work. It installs fine, but right when I run it, the program closes on me. It asks if I want to try the 30 day trial and after that it crashes on me. I know people who use it with Wine, so I don’t know why it’s happening to me.

Here’s What I get:

/.wine/drive_c/Program Files/DipTrace$ wine Schematic.exe
preloader: Warning: failed to reserve range 00000000-60000000
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report
preloader: Warning: failed to reserve range 00000000-60000000
err:dosmem:setup_dos_mem Cannot use first megabyte for DOS address space, please report

BTW what would cause Ubuntu to logout without the user doing it.

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Re: How do I completely remove and reinstall Wine

If you are still getting preloader errors, then you didn’t apply the fix on the Wine wiki page Faud linked to, or you only applied the temporary fix and then rebooted, which will reset it back to the default.

As for what would make Ubuntu logout without the user’s permission, I don’t think there is anything on the system that would do that automatically, but a logout or reboot command could be issued remotely, if your system is insecure. Have you made any changes to the network settings in Ubuntu? It is also possible that a hardware failure of some kind could do that, but that would usually be a reboot, not just a logout.

How to Install Wine on Ubuntu

Home » SysAdmin » How to Install Wine on Ubuntu

Wine is an application that allows you to run Windows programs on a Linux system. Wine is similar to an emulator, but with a different technology that improves performance.

In this tutorial learn how to install Wine on Ubuntu.

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Install Wine from Ubuntu Repository

Step 1: Verify Ubuntu 32-bit or 64-bit system

Wine uses a different application for 32-bit and 64-bit versions of Ubuntu.

To view CPU details, enter the command:

The CPU op-mode(s) field tells you which architecture you are using:

CPU op-mode(s): 32-bit: You have a 32-bit OS
CPU op-mode(s): 64-bit: You have a 64-bit OS
CPU op-mode(s): 32-bit, 64-bit: You support both

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Step 2: Install Wine from Default Repositories

Installing Wine from the default Ubuntu repositories is the easiest option. However, be aware that it may not provide the latest version.

1. Start by updating the apt repository package list. This ensures the latest stable version of Wine is installed.

2. To install 64-bit Wine, enter the following:

To install 32-bit Wine, enter the following:

Step 3: Verify Wine Version Installed

After the operation completes, verify the installation by checking the running version:

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Installing Wine from the official Ubuntu repository will always provide a stable install. However, the repositories may not include the latest versions.

Alternative Option: Install Wine From WineHQ Repository

If you need a more recent version of Wine, install it on Ubuntu from the developers’ repositories.

1. If you are using a 64-bit OS, start by enabling 32-bit architecture:

2. Then, update the repository again:

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

3. Add the GPG key:

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

4. Then, run the following commands to add the WineHQ repository to Ubuntu:

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

5. Update the package lists:

6. Install the latest stable Wine release using the command:

Alternatively, to install the latest development release of Wine, use the command:

7. Verify the installation by running:

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Note: The apt package manager typically handles any dependencies. If you get an error that a dependency is missing during the Wine installation, install each missing dependency with the command:

Then rerun the installation command.

How to Update Wine

Wine is updated frequently. To manually update wine, use the command:

Replace stable with devel for the developer version.

Stable releases come out every 10-12 weeks. Developer updates come out much more frequently.

How to Uninstall Wine From Ubuntu

To uninstall wine:

That command removes Wine, but not its dependencies. To remove all unnecessary dependencies, run the command:

Removal of these remaining folders needs to be done manually. Run the following commands:

Now to correct any installation errors, run:

Wine should now be totally removed from your system.

Get Started Using Wine

To set up the configuration directory for Wine, run the following command:

The command creates the

/.wine directory and initializes all the components.

Launching Applications

To launch an application from the command line, enter the following:

It’s essential to change the working directory to the location of the application files. Replace program_folder with the actual directory that holds the application. Replace launcher.exe with the executable file for the application.

wine start Command

The wine start command is more robust than the basic wine command. It allows Wine to handle the working directory. Use it to specify a path to a specific location:

Specify a Linux path:

Use the wine or wine start command to launch the installer for the Windows application.

To download an installer to a local directory, use wget and then use the wine command to launch the installer. The application installs as it would on Windows. When installing from a disc, use the wine start command to specify the path to the installer. Use this to change drives in the middle of installation, if needed.

For security, do not run wine as a root user. Doing so can allow viruses and malware to infect your system.

Wine is a powerful tool that allows you to run Windows programs in Linux. This guide provides a solid start for installing and running wine on Ubuntu.

If you are using a different flavor of Linux, we have this tutorial also available for CentOS 7.

How to install and configure Wine?

I am looking for a step by step instruction to guide me in the ways of installing, configuring and debugging many of the issues new users have when dealing with Wine in Ubuntu.

What is the recommended way of installing Wine, some of the key issues that it has and how to solve them?

If I have a specific problem with an App in Wine, how do I go about solving it? What are the recommended steps to ensure that I can fix a problem related to an app I wish to use?

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

3 Answers 3

If you want to use the latest development/staging version of Wine, please make sure to follow the guide in the Official WineHQ Guide for Ubuntu, basically covering:

If you are using a 64-bit Architecture, then enable 32-bit for better compatibility

Add the Wine Key, Wine Repository & Update Repositories

Then install the version of Wine you wish to use:

Based on Wine Development (Stable) (eg: 4.0)

Based on Wine Development (Testing Stage) (eg: 4.1)

Based on Wine-Staging (Bleeding Edge) (eg: 4.1.1)

1. Differences between Wine Stable, Development & Staging versions

Stable versions offer less bugs with better stability and receive updates every 3-6 months after release.

Development version is the next stable version in development and receives updates every 2 weeks.

Staging version is the same as Development Version but includes all patches and enhancements from Wine-Staging

The decision to stick with the stable version (Even number versions: 1.0, 1.2, 1.4. ) or with the unstable versions (Odd number versions: 1.1, 1.3, 1.5. ) is up to the user, the main difference is compatibility and performance which are both enhanced in the Development version. You get the latest fixes it offers, and also become a tester that can help in the development cycle.

2. Installing the Recommended Stable Wine version (from PPA)

In the terminal type the following to add the Wine PPA, update repositories, and install latest Wine & Winetricks version:

or you could include the Wine 32-Bit Arch (Better support) and configuring winecfg (This should only be applied to new installations since it will move the existing Wine installation to a folder called winebck):

3. How to know which components an application needs

To find out what components an app needs, look in the Wine Application Database. It lists if the application is usable, what components it needs and how to install them.

4. How to install additional components, DLLS and Libraries to Wine

Select Select the default wineprefix

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Select Install a windows DLL or component

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Install all that I have marked (and any additional you need). This covers many apps:

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Right click the installer for HL/HL2 and select Open with Wine. Both games should work perfectly. This applies to apps in general and depending on the app you will need to install more or less components.

You can also install each component in terminal by adding the name of the component after the winetricks command:

5. Troubleshooting a Wine App

Sometimes, when running an App one or several of the following can actions can happen:

DLL, Video card or Component not recognized

For most of this problems there are solutions. Here are the recommended steps for you to start troubleshooting your way into a Wine app:

Always visit the Wine App Site to see what other testers have done to make the App work. For example here is me testing Dead Island: Riptide which I gave it a Bronze since after the selecting the character the whole game went to a Black screen. What I did to test out what was happening was to go to the terminal and run the game from there. In the terminal some of the errors suggested I was missing a vital piece for the game to work. After reading the error output and doing what it suggested (Replacing a corrupted DLL) I could install a component the game needed and the game worked perfectly.

As you can see from my Dead Island test I added several winetricks packages and also installed 3 packages the games comes with (DirectX, Windows Media Format and Microsoft Visual C++ 2010). With this I managed to guarantee that the game would start and be playable.

Some apps are only created for certain Windows versions as seen with Dungeon Keeper. To specify a particular Windows Version for a particular app you can open winecfg navigate to Applications and select Add Application, then search for the applications executable file and click on Open. Now select the application from the list and then change the Windows Version for it. This way, only this application will have an specific version of Windows assigned to it, instead of globally changing the Windows version for all apps.

Changing the Windows version globally can affect apps that were installed with a different Windows version. For example, Installing Terraria in a Windows XP environment and then changing it after playing to Windows 7 will give you one of two errors, one, not finding the saved games and two not running the app.

Running an app to diagnose what the problem can be done through the terminal which is the best way by far to know what the app is doing or needing. The app can tell you information like:

When troubleshooting an App, always run the app in an emulated Desktop Window. Open winecfg go to Graphics and enable Emulate a Virtual Desktop. Then set the resolution for it. This way, if the app freezes, hijacks the keyboard and/or mouse focus, at least you have a way to eliminate the app instead of having it fullscreen where you have few choices:

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

For freezing scenarios of an app at fullscreen I suggest activating the «Kill X» feature that is found in the Keyboard Layout Window which can save you several seconds of time when trying to get out of a frozen Wine app:

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Remember that if an app needs a minimum or recommended hardware requirement in Windows, it will also need the same on Linux. If the app needs 512 MB of RAM and a 2.0 Ghz CPU, it will need the same on Linux using Wine.

Sometimes you will come across an app in an ISO or any other Image format that you can not manage to open or install. Ubuntu comes with several tools to open this files but the best one I have tried so far is CDEMU which covers several types of images that bring Multi-Sector or Protected format. This is the closest you will get to something similar to DAEMON Tools. Cases like The Sims 3, Simcity 2000 and others can only be opened and installed using this app. More info in Apps capable of mounting/unmounting CD/DVD Images with multi-sector or protected format

For cases where an specific app is not running, showing graphical glitches, black screen or not running with full graphics I actually recommend reading one of the following links that applies to the end user for video support:

Apart from checking the above, if you have the correct drivers I would also add that you need to check if your video card has OpenGL support. For this I would first install mesa-utils if not yet installed:

sudo apt-get install mesa-utils

to test for OpenGL support. Simply run a check to see if you have OpenGL support:

glxinfo|grep ‘direct rendering’

which should say Yes if you do have support. Another alternative would be:

If the Unity Launcher is not hiding itself when running a Wine app or is moving the app to the right you can do one of 2 things:

Hold the ALT key and click and drag the Wine to the Left

In the appearance option select «Auto-Hide The Launcher» and set the sensitivity to a level you like. This way the launcher will hide when the mouse leaves it’s area.

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Shader Model 3.0 is not recognized in Wine (Including Steam games)

There are games that require Shader Models and output an error similar to Required OpenGL extension GL_EXT_texture_compression_s3tc. To fix this simply type the following in the terminal:

sudo apt-get install libtxc-dxtn-s2tc0 ( note in recent version of Ubuntu libtxc-dxtn-s2tc0 is not longer needed )

Wine has come a LONG way from the days where newer games could not be played. It has gotten to a point where playing in Ubuntu is effortless. Wine has even some support for SM4.0 and DirectX 10/11 on Wine 1.6. If the problem persists it means that either your video card does not support this or you are missing the correct libraries.

6. How do I open multiple Wine apps without them using the same Window (Overlapping)

You can setup multiple Wine windows by adjusting some Wine parameters before starting each individual Wine program. The fastest way is to open the terminal where the executable of the app you want to run exists. Let us assume it is the Wow.exe app. Then simply type the following:

This executes Wow.exe assuming it resides in the folder wow inside a partition called fun in your /media/USER folder. The output should be similar to this when running for example 4 apps:

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

7. Does having Ubuntu 64 bit influence Wine

) and type the following:

Change USER with your user account. For example in My case, that line would read export WINEPREFIX=»/home/cyrex/.wine»

With this method you have changed the Wine architecture to 32 bit and on the moment you open Winecfg, it will configure all the Windows versions available to 32 Bit.

8. Alternatives to Wine PPA

PlayOnLinux (PoL)

Although you can actually install and configure everything you need with Wine alone and it’s complementing apps (winetricks, regedit, explorer) using PoL can save you some trouble and time when installing an application. With PoL you can find a list of apps that you can select and install in it’s database:

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

and by simply selecting to install you achieve the following benefits:

Creating an independent container which holds the app installed, a specific Wine version for the app installed (In some cases, a specific Wine version works better for a specific app than the current Wine version).

Automatically installing any additional DLL and Components the app needs to function correctly.

Adding the appropriate registry keys the app needs

Create an independent way of running multiples apps without them overlapping each other with Windows version changes, regedit changed, specific Wine versions, etc..

Of course, it is important to know that PoL works side by side with Wine and it needs Wine to work correctly (It is based on it). In many cases, an app might not work with PoL but will work with the default Wine configurations I have mentioned in this guide. So if you find the app you want to use in PoL, great. But if you don’t find it, remember you always have the alternative to using the default Wine to install and configure the app.

The benefits of installing the app using Wine and installing it using PoL is that with Wine, you can access and execute the App using the DASH, like in the images below:

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall(Terraria)

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall(Dead Space & Dead Island)

CodeWeavers CrossOver (CC)

CC is very similar to PoL on how to install and configure apps. The main difference is that CC offers official support. They even have their own CodeWeavers Database which holds more than 10.000+ apps. Not only that but they have a ranking system similar to the one in Wine’s AppDB. They have also contributed to the development of Wine some of which you can see in their Support.

DosBox (DB)

DB is to MS-DOS apps as Wine is to Windows apps. With DB you can run MS-DOS apps in your system. Simply install the dosbox package and you are done. Running an app is as simple as going to the folder where the app resides and executing the following:

This will open the current folder as a drive letter on the DB environment.

You can also mount a folder by doing the following after opening DB:

mount x: /Absolute/Path/To/Folder/Of/App

mount c: /home/cyrex/Desktop/Dune2

Will create the C: Drive letter which contains the Dune2 folder. So if I simply execute dune2.exe I get the following:

Wine how to reinstall. Смотреть фото Wine how to reinstall. Смотреть картинку Wine how to reinstall. Картинка про Wine how to reinstall. Фото Wine how to reinstall

9. What are some special parameters and tips I can use with Wine

There are a couple, for example:

COMMANDS

This would do two things, it will first set the directory to the Metro Last Light folder and then it would run the MetroLL.exe mentioned at the end. This is similar as running the executable from the same folder but it has the advantage of running the app from any other place. The thing to know here is that:

Where PREFIX is the one you want to merge with Wine. You would have to run winecfg again.

TIPS

When dealing with a folder tha has spaces (eg: World of Warcraft), you can execute the Wow.exe file by adding the \ symbol in front of every space, this escapes the symbol. The end result would be something like «World\ of\ Warcraft\Wow.exe». If you do not want to add this escape symbols to your line of code, simply double quote the entire link, so it looks like:

as you can see, there are 2 folders with spaces in them, «My Partition» and «World of Warcraft», but since I quoted the whole string, the need to include escape characters is not needed. If you wished to use the Wine Path (eg: C:/) then all slashes would be a double slash (eg: «C:\Program Files\App»).

Parameters that are applied to an app should always be OUTSIDE the quoted strings. Using the example above, we can see -opengl and -console outside the quotes.

10. Stability, Performance and App Support Wine offers to end users

APP SUPPORT

I have tried Wine since 2005 and seen how the developing process in Wine under Ubuntu has been quickly catching up to the latest games.

Before Wine 1.2 came out around 2012, it was difficult to get many apps working on Wine, but after Wine 1.2 came out it was a totally different result. Even more so after 1.4 came out in 2012, 1.6 in 2013 and then 1.8 in 2015. Many cases started to appear where they would work out of the box. Cases like Deep Space 2 which is/was one of the latest games I could play at that moment and which I tested 3 days after it was released. Alice in Wonderland (The new one I mean), The Sims 3, World of Warcraft, Amnesia and others. Even Skyrim could be played. These are games that demand powerful graphics and you can play them with little to no additional setups other than the normal install provided above.

To know what games you can play on Wine I recommend visiting the Wine App Database: http://appdb.winehq.org/ which holds more than 10K+. This includes information about their performance & stability and it helps in knowing if a game is playable.

The Wine App Database also offers a Ranking which determines what games can be played with less issues, if any. When you see this ranks, you have an idea if the App will work or not. Mind that you need to also take into consideration what hardware and Wine version the tester shows on the Wine Database. The rankings are as follow:

For reference, a couple of years ago the amount of Platinum games was less than 50. In 2012 you could find More than 1.5K games out of which almost 200 were in the Latest Titles. Today there are more than 6K+ Games of which 4K+ are Platinum. The more people that participate in testing Wine apps, the better. Main reason I always recommend using the PPA from Wine.

PERFORMANCE

11. How to Uninstall Wine

sudo apt purge wine*

This would uninstall every package related to wine, including wine, wine1.9, winehq, winetricks and more. Basically removing anything related to wine.

Источники информации:

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *