- How to Install and Use Windows Applications on Linux using PlayOnLinux
- PlayOnLinux Installation
- Installation through the Command Line
- Launch PlayOnLinux
- Remove PlayOnLinux
- Installation of PlayOnLinux through the Ubuntu Software Manager (UI)
- Launch PlayOnLinux trough Ubuntu Dashboard
- Remove PlayOnLinux
- Install NotePad Plus Plus through PlayonLinux
- Launch/Remove an installed Application
- Karim Buzdar
- Запускаем Windows игры в Linux
- Содержание
- Запуск Windows игр в Linux с помощью Lutris
- Установка Lutris в дистрибутивы на основе Ubuntu
- Установка игр в Linux с помощью Lutris
- Устанавливаем Windows игры в Linux с помощью Steam (Proton)
- Сравнение производительности видеокарты Nvidia Geforce 1060 в Ubuntu 19.04 и Windows 10
- World of Tanks
- World of Warships
- War Thunder
- Euro Truck Simulator 2
How to Install and Use Windows Applications on Linux using PlayOnLinux
When Linux was originally made public, it lacked many useful applications that the major competitor -Microsoft Windows was successfully supporting. Linux thus created a compatibility layer which was used to run the Windows application on Linux itself called Wine. PlayOnLinux is a front-end UI for the Wine application. It lets you install many popular Windows applications that you otherwise missed to use on Linux. You can run Microsoft Office, Microsoft Internet Explorer, Safari, iTunes and many other applications on your Linux system through PlayOnLinux.
In this article, we will explain how to install PlayOnLinux on your Ubuntu both through the command line and the graphical user interface. More importantly, we will explain how to install a Windows application, Notepad Plus Plus in our example, by using PlayOnLinux.
We have run the commands and procedures mentioned in this article on a Ubuntu 18.04 LTS system.
PlayOnLinux Installation
The PlayOnLinux application is available on the official Multiverse repository and can be easily installed through the command line and the UI.
Installation through the Command Line
Open your Ubuntu command line, the Terminal, either through the Dash or by pressing the Ctrl+Alt+T shortcut. You can then install PlayOnLinux through the official Ubuntu repository.
First, enter the following command in order to update your system’s software repository index with that of the Internet so that you can install the latest release of the software.
Now enter the following apt-get command in order to install the latest version of PlayOnLinux:
The system might prompt you with a Y/n option to confirm the beginning of the installation procedure. Enter Y and then hit Enter. The installation process will begin and might take some time depending on your Internet speed. PlayOnLinux will then will be installed on your system.
You can verify the installation and also check the version number of the newly installed playonLinux as follows:
Launch PlayOnLinux
You can launch PlayOnLinux through the command line by entering the following command in your Terminal: Advertisement
Remove PlayOnLinux
In order to uninstall PlayOnLinux from your system enter the following command as sudo:
The system will prompt you with a Y/n option in order to begin the uninstall procedure. Please enter Y and hit Enter to begin. playonLinux will then be removed from your system.
Installation of PlayOnLinux through the Ubuntu Software Manager (UI)
If you are someone who avoids using the Command Line, installing software present in the Ubuntu repository through the UI is very simple. On your Ubuntu desktop Activities toolbar, click the Ubuntu Software icon.
In the following view, click on the search icon and enter PlayOnLinux in the search bar. The search results will list PlayOnLinux as follows:
Click the PlayOnLinux package from the search results. The following dialog will appear:
Click the Install button to begin the installation process. The following authentication dialog will display for you to provide your authentication details as only an authorized user can install software on Ubuntu.
Enter your password and click the Authenticate button. After that, the installation process will begin, displaying a progress bar. PlayOnLinux will then be installed on your system and you will get the following message after a successful installation:
Through the above dialog, you can choose to directly launch PlayOnLinux and even Remove it immediately for whatever reason.
Launch PlayOnLinux trough Ubuntu Dashboard
You can launch PlayOnLinux through the UI any time you want by entering relevant keywords in the Ubuntu Dash or access it directly from the Applications list.
Remove PlayOnLinux
You can uninstall PlayOnLinux through the Ubuntu Software manager by first searching for it through the Search button and then clicking the Remove button from the following view:
A dialog will ask you if you are sure about removing the software from your system. Please enter the Remove button to uninstall PlayOnLinux. An authentication dialog will display for you to provide the authentication details for a sudo user as only an authorized user can install software on Ubuntu. Enter your password and click the Authenticate button. After that, the uninstall process will begin, removing PlayOnLinux from your system.
Install NotePad Plus Plus through PlayonLinux
When you launch PlayOnLinux through the command line or the UI, it will open in the following view:
You can install an application by clicking the “Install a program option” from the left pane. It will open the following view through which you can search for the required Windows application.
We have searched for Notepad Plus Plus and the result area shows the required application, as you can see. Your search results might also display various available versions of the software. You can then select a specific version based on your preferences and the following view will display its details as follows:
We will click the Install button from the above view to start the installation process. The following messages will appear for your assistance and will also notify you how Wine will be used with PlayOnLinux:
Click Next to proceed.
Again, click Next to proceed to the PlayOnLinux installation Wizard for NotePad Plus Plus:
When you start the installation process, a virtual drive is created on your system where all your Windows applications will be installed. The latest available version of Wine is also installed on your system as follows:
In case of Notepad Plus Plus, you will be given an option whether you want to download the executable or use a setup file residing on your system:
We will choose the second option and then click Next.
The above dialog will ask you for your language of choice for the Notepad Plus Plus installer, after which the Wizard will open as follows:
This Wizard is pretty much self-explanatory and will direct you to the rest of the installation procedure.
After installation, NotePad Plus Plus will run as follows and you can use it the same way as in Microsoft Windows.
Launch/Remove an installed Application
Whenever you want to use the application again, simply launch PlayOnLinux and run the installed application.
You can also remove the installed application by selecting it from the following view and then by clicking Uninstall from the left pane:
The PlayOnLinux Uninstaller will guide you through the uninstall procedure.
You have seen how PlayOnLinux simplifies the seemingly impossible task of running a pure Windows application on your Ubuntu. All you need to install to do install PlayOnLinux, search for your required app, install it through the Wizard and Tada!
Karim Buzdar
About the Author: Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. You can reach Karim on LinkedIn
Запускаем Windows игры в Linux
На мой взгляд, именно Steam и Lutris предлагают максимально современные и легкие решения для запуска игр. В качестве примера, поиграем в World of Tanks и World of Warships на Ubuntu 19.04.
Еще недавно, запускать Windows игры в Линукс было тем ещё квестом, затмевающим интерес к игре из-за тяжелого и не всегда удачного процесса установки игры.
С появлением DXVK (библиотеки основанной на Vulkan, позволяющей транслировать 3D приложения (игры) Direct3D 10/11), и как следствие Steam Play (Proton) – установка многих игр в Линукс стала почти такой же легкой как и в Windows.
Содержание
Запуск Windows игр в Linux с помощью Lutris
Lutris – сервис с игровым приложением, предоставляющий автоматизированные, настроенные скрипты для установки игр.
Интеграция с такими игровыми магазинами, как GOG и Steam, позволяет импортировать существующую библиотеку игр, а поддерживаемые сообществом установочные сценарии обеспечивают полностью автоматизированную настройку.
Установка Lutris в дистрибутивы на основе Ubuntu
Для корректной работы Lutris, разработчики рекомендуют предварительно установить Wine (версию Staging). Установить Wine в Ubuntu можно по нашей инструкции: Установка последней версии WineHQ в Ubuntu 18.04 и 19.04
Для Ubuntu подобных дистрибутивов добавляем репозиторий Lutris:
Для лучшей производительности необходимо установить последнюю версию видеодрайвера и библиотеки Vulkan.
Пользователям видеокарты Nvidia нужно добавить репозиторий с новыми драйверами и затем удобным способом установить последнюю версию драйвара:
Выбрать драйвер можно с помощью встроенной утилиты Программы и обновления – Дополнительные драйверы.
Если видеокарта поддерживает Vulkan API, то устанавливаем необходимые библиотеки (скорее всего они уже установились при установке видеодрайвера. Проверить, если видеокарта поддерживает Vulkan можно по ссылке: Vulkan API):
Пользователям видеокарт AMD / Intel:
Если у вас установлена Ubuntu 18.04, то стоит добавить следующий репозиторий:
Затем обновить предложенные пакеты:
Установка игр в Linux с помощью Lutris
Переходим на официальный сайт программы в раздел Games и выбираем нужную нам игру.
Найдя игру, выбираем (если доступно) редакцию скрипта с нужным нам сервером (например для World of Tanks это будет RU DXVK version). Нажимаем на Install. В качестве примера будет показана установка игры World of Tanks в Ubuntu 19.04.
Ссылка откроется в установленном приложении Lutris, нам предложат установить игру. Нажимаем на Install.
Дальше можно выбрать папку, в которую будет установлена игра. Продолжаем установку. Будет установлена нужная для данной игры версия Wine, соглашаемся на все установки. По окончанию установки онлайн установщика будет предложено создать ярлыки и запустить игру.
Затем откроется полноэкранное окно, в котором будет осуществляться установка игры. Не пугаемся, с помощью клавиш ALT+TAB можно вернуться в рабочее окно.
Запустить установленную игру можно как из программы Lutris, так и из списка установленных приложений.
Аналогично установил игру World of Warships в Ubuntu 19.04.
Именно в Ubuntu столкнулся с проблемой, при которой курсор мыши в игре не позволял делать обороты около 180 градусов. Ранее устанавливал игру в окружениях KDE и Cinnamon (Linux Mint), такой проблемы там нет. Если курсор вывести нажатием на CTRL, то можно захватить другие обороты мыши. Решение: переключение отображения игры в оконный режим.
Устанавливаем Windows игры в Linux с помощью Steam (Proton)
Для совместимости игр с операционными системами GNU/Linux, компания Valve разрабатывает проект Proton (Steam Play), который в свою очередь состоит из различных наработок, таких как Wine, DXVK, esync. Подробнее почитать о Steam Proton можно в нашей статье: Steam Play улучшает поддержку Windows-игр для Linux.
Информация о качестве поддержки Windows игр в Steam Proton доступна по ссылке: ProtonDB.
Для включения опции Proton, нам необходимо открыть Steam – затем Настройки – Steam Play – и включить доступные опции.
Версию Steam Proton стоит выбирать самую актуальную, т.е с большим номером.
Дальнейшая установка игр ничем не отличается от установки в системе Windows. Steam Play автоматически произведет нужные настройки для установки игры.
Сравнение производительности видеокарты Nvidia Geforce 1060 в Ubuntu 19.04 и Windows 10
Сравнение проводилось на ноутбуке с видеокартой Nvidia Geforce 1060 (6 ГБ) и процессором Intel® Core™ i7 8750H. Операционные системы Windows 10 1903 (build 18362.10019), версия видеодрайвера NVIDIA GeForce Game Ready 436.15 и система Ubuntu 19.04 с версией видеодрайвера 430.40 (самый актуальный в репозитории ppa:graphics-drivers).
World of Tanks
Танковые сражения в World of Tanks в Windows 10 показывали от 115-130 fps до 150-165 fps, в зависимости от игровой сцены.
В Ubuntu 19.04 от 100 до 120 fps. Настройки Высокие, sd клиент.
World of Warships
В морских сражениях World of Warships в Windows 10 производительность держалась от 65 до 75 fps.
В Ubuntu 19.04 игра World of Warships показала производительность от 60 до 70 fps, но периодически сильно проседала до 25 fps. Настройки высокие, hight клиент.
Обе игры в Ubuntu были установлены с помощью Lutris.
War Thunder
Также, с интересом проверил производительность видеодрайвера в игре War Thunder. В Windows 10 игра была установлена с помощью нативного клиента, а в Ubuntu 19.04 с помощью Steam (нативная версия).
В морских сражениях в War Thunder в Windows 10 отображался fps от 65 до 85, в воздушных боях около 100 fps.
В Ubuntu 19.04 варьировался fps от 35-55 в морских сражениях и 75 fps в воздушных.
Версия из Lutris, использующая DXVK, в Ubuntu 19.04 показала fps от 50 до 75 в морских сражениях и 60 fps в воздушных.
Знаю, что разработчики War Thunder тестируют версию с использованием библиотек Vulkan. Не тестировал её, но уверен, что производительность будет значительно выше, чем у нативной версии, использующей OpenGL.
Euro Truck Simulator 2
В симуляторе Euro Truck Simulator 2 производительность в Windows 10 отображалась от 85 до 120 fps.
В Ubuntu 19.04 производительность игры ETS 2 варьировалась от 55 fps (в редких случаях) до 110 fps. В обоих случаях были использованы настройки Ультра.
Как видим, производительность игр в Linux уступает Windows 10, но при использовании библиотек DXVK и Vulkan разница гораздо меньше, чем при использовании OpenGL. В любом случае это прорыв для пользователей Linux: доступных игр стало гораздо больше, а их установка стала максимально простой.
На мой взгляд, осталось решить проблему работы античитов. Именно из-за проблемы с работой некоторых античитов, в Linux не доступна еще масса игр.