centos 7 установка wine

Установка Wine в Fedora и CentOS 7/6

Зачем использовать Wine? Ответ очевиден — данная программа позволяет использовать в среде Linux приложения для операционной системе Microsoft Windows. В этой статье мы рассмотрим процесс установки и настройки нового релиза Wine — 1.7.41 Development Release, анонс которого состоялся 17 апреля. Данная иснтрукция предназначена для ОС Fedora и CentOS 7/6.

Установки и настройка (сборка) приложения будет выполняться в терминале (консоль). Для этого выполним следующие команды:

Установка дополнительных пакетов завершена. Теперь переходим к загрузке пакета Wine:

Далее выполняем конфигурирование пакета для последующей установки:

Если возникают ошибки, спопровождающиеся описанием об отсутствии пакетов, необходимо выполнить их установку. Теперь создаем установочный пакет, выполнив последовательно указанные команды:

После завершения процесса установки проверяем версию Wine:

Нашли ошибку в тексте? Выделите фрагмент текста и нажмите Ctrl+Enter

Столкнулся с тем, что на последнем CentOS 7 под wine не пошла одна нужная мне сетевая программа. Нужен был 32-битный wine. Ок, поставим. Сначала удаляем что есть:

Теперь доустанавливаем нужные пакеты:

Скачиваем нужную версию:

Создаём нужные папки для компиляции:

и 32-битную версию…

Теперь просто устанавливаем:

Всё, теперь можно работать и с 32-битными программами. Надеюсь, это вам помогло. 🙂

by Ravi Saive | Published: January 25, 2014 | Last Updated: January 23, 2019

Wine is an open source and free application for Linux that enables users to run any windows based application on Unix/Linux like operating system. Wine team keeps releasing their versions in every two weeks.

Finally, the Wine team proudly announced the stable release of Wine 4.0 and made available for download in source and binary packages for various distributions such as Linux, Windows and Mac.

This release describes a year of development effort and over 6,000 individual changes. It includes a large number of enhancements that are recorded in the release notes below. The main highlights are:

  • Vulkan support.
  • Direct3D 12 support.
  • Game controllers support.
  • High-DPI support on Android.

For a complete summary of major changes, See the release notes of Wine 4.0 at http://www.winehq.org/announce/4.0

In this article we will gu >RHEL 7.x/6.x, CentOS 7.x/6.x and Fedora 28-29 using source code (difficult and only suitable for experts) and epel repository (easy and recommended for new users).

Содержание

  1. Installing Wine 4.0 Using Source Code
  2. Step 1: Installing Dependency Packages
  3. Step 2: Downloading Wine 4.0
  4. Step 3: Extracting Wine 4.0
  5. Step 4: Installing Wine 4.0 in Linux
  6. Install Wine Using EPEL Repository
  7. Step 5: Running Wine 4.0
  8. If You Appreciate What We Do Here On TecMint, You Should Consider:
  9. Setting Up Zimbra Collaboration Suite (ZCS) on RHEL/CentOS 7/6
  10. What is APT and Aptitude? and What’s real Difference Between Them?
  11. Watch Favorite Movies/TV Shows Online Using “Popcorn Time” in Your Linux Desktop
  12. 199 Responses

Installing Wine 4.0 Using Source Code

Step 1: Installing Dependency Packages

We need to install ‘Development Tools‘ with some core development tools such as gcc, flex, bison, debuggers etc. these software’s are must required to compile and build new packages, install them using YUM command.

Note: On Fedora 22+ versions, yum package manager no longer in use, you should use dnf instead yum in the command below.

If you are using latest version of Fedora 28 or Fedora 29, you can install Wine 4.0 using official Wine repository as shown.

Step 2: Downloading Wine 4.0

Download the source file using wget command under /tmp directory as a normal User.

Step 3: Extracting Wine 4.0

Once the file is downloaded under /tmp directory, use the below tar command to extract it.

Step 4: Installing Wine 4.0 in Linux

It is recommended to compile and build Wine installer as a normal User. Run the following commands as normal user.

Note : The installer might take up-to 20-30 minutes and in the middle it will ask you to enter root password.

Install Wine Using EPEL Repository

Note: If you don’t want to mess with these all source code compilation and installation, there is an easy way using epel repository, but the available version of wine bit older.

Let’s first install and enable EPEL repository to install wine as shown:

Once the installation completes run the “winecfg” configuration tool from KDE or GNOME desktop to see the supported configuration. If you don’t have any of the desktop, you can install it by using the below command as root user.

Once the X Window System installed, run the command as normal user to see wine configuration.

Step 5: Running Wine 4.0

To run the Wine, you must specify the full path to the executable program or program name as shown in example below.

Wine Running Windows Programs on Linux

Wine is not perfect, because while using wine we see so many programs crashes. I think wine team will soon fix all bugs in their upcoming version and meanwhile do share your comments using our below form.

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.

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

  • Next story 10 Core Linux Interview Questions and Answers
  • Previous story Wine 4.0 Stable Released – Install on Debian, Ubuntu and Linux Mint

Setting Up Zimbra Collaboration Suite (ZCS) on RHEL/CentOS 7/6

What is APT and Aptitude? and What’s real Difference Between Them?

Watch Favorite Movies/TV Shows Online Using “Popcorn Time” in Your Linux Desktop

199 Responses

  • Comments 17
  • Pingbacks 0

I have installed Wine and everything was successful, I try to run it on server but i get this error.

000f:fixme:service:scmdatabase_autostart_services Auto-start service L”MountMgr” failed to start: 2
000f:fixme:service:scmdatabase_autostart_services Auto-start service L”WineBus” failed to start: 2

Please install Wine on 64-bit Linux OS, 32-bit won’t support and have different installation instructions..

When ever I try to do step 3, the following error shows up, “Tar: you may not specify more than one ‘-acdtrux’, ‘–delete’ or ‘–test-label’ option. and i followed the steps as it was shown and this pops up,

Please help me.
Thanks!

As the error says, you can’t combine c and r options together; the former means “create an archive“, the latter “append to an archive“, so they can’t be used simultaneously.

You can simply do

cp: cannot create regular file ‘/usr/local/lib64/wine/_inst.31846_’: Permission denied
make: *** [dlls/acledit/install-lib] Error 1
[[email protected] wine-2.0.1]$ wine
bash: wine: command not found…
[[email protected] wine-2.0.1]$ yum install epel-release
Loaded plugins: fastestmirror, langpacks
You need to be root to perform this command.
[[email protected] wine-2.0.1]$ wine
Usage: wine PROGRAM [ARGUMENTS…] Run the specified program
wine –help Display this help and exit
wine –version Output version information and exit
[[email protected] wine-2.0.1]$ wine /home/indu/Downloads/RadiAnt-4.0.3-Setup.exe
wine: created the configuration directory ‘/home/indu/.wine’
err:ole:marshal_object couldn’t get IPSFactory buffer for interface
err:ole:marshal_object couldn’t get IPSFactory buffer for interface
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface , 80004002
err:ole:get_local_server_stream Failed: 80004002
err:ole:marshal_object couldn’t get IPSFactory buffer for interface
err:ole:marshal_object couldn’t get IPSFactory buffer for interface
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface , 80004002
err:ole:get_local_server_stream Failed: 80004002
fixme:urlmon:InternetBindInfo_GetBindString not supported string type 20
err:process:__wine_kernel_init boot event wait timed out

I run this cmd showing an error.

You are running wineinstall as root, this is not advisable. Please rerun as a user.

when i execute the command
# ./tools/wineinstall
than occure this type of mesg…..plz solve my problem

checking build system type… x86_64-pc-linux-gnu
checking host system type… x86_64-pc-linux-gnu
checking whether make sets $(MAKE)… yes
checking for gcc… no
checking for cc… no
checking for cl.exe… no
configure: error: in `/tmp/wine-1.8.5′:
configure: error: no acceptable C compiler found in $PATH
See `config.log’ for more details

Configure failed, aborting install.

Please install C compiler on the machine with the help of following command:

Источник: computermaker.info

Понравилась статья? Поделиться с друзьями:
Ок! Компьютер
Добавить комментарий