Tutorial, Internet, Hardware, Software, Os, Linux, Android, Security, Mikrotik

24 March, 2015

Install Wine On Centos

Install Wine On Centos : Wine (originally an acronym for "Wine Is Not an Emulator") is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, Mac OSX, & BSD. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing you to cleanly integrate Windows applications into your desktop.
Wine began in 1993 under the initial coordination of Bob Amstadt as a way to support running Windows 3.1 programs on Linux. Very early on, leadership over Wine's development passed to Alexandre Julliard, who has managed the project ever since. Over the years, as the Windows API and applications have evolved to take advantage of new hardware and software, Wine has adapted to support new features, all while being ported to other OSes, becoming more stable, and providing a better user-experience.
An ambitious project by definition, work on Wine would steadily continue for 15 years before the program finally reached v1.0, the first stable release, in 2008. Several releases later, Wine is still under active development today, and although there is more work to be done, millions of people are estimated to use Wine to run their Windows software on the OS of their choice.

Step 1: Installing Dependency Packages

We need to install ‘Development Tools‘ with some core development tools such gcc, flex, bison, debuggers etc. these software’s are must required to compile and build new packages, install them using YUM command.
# yum -y groupinstall 'Development Tools'
# yum -y install libX11-devel freetype-devel

Step 2: Downloading Wine 1.6.2

Download the source file using Wget command under /tmp directory as a normal User.
$ cd /tmp
$ wget http://mirrors.ibiblio.org/wine/source/1.6/wine-1.6.2.tar.bz2

Step 3: Extracting Wine 1.6.2

Once the file is downloaded under /tmp directory, use the below commands to extract it.
$ tar -xvf wine-1.6.2.tar.bz2 -C /tmp/

Step 4: Installing Wine 1.6.2

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).
On 32-Bit Systems
$ cd wine-1.6.2/
$ ./tools/wineinstall
On 64-Bit Systems
$ cd wine-1.6.2/
$ ./configure --enable-win64
$ make
# make install
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.
# yum groupinstall "X Window System" "GNOME Desktop Environment"
OR
# yum groupinstall "X Window System" "KDE (K Desktop Environment)"

# yum groupinstall "GNOME Desktop"        [On CentOS 7]

# yum groupinstall "Server with GUI"      [On RHEL 7]
Once the X Window System installed, run the command as normal user to see wine configuration.
$ winecfg             [On 32-Bit System]
$ wine64cfg           [On 64-Bit System]

Another way and the simple way install wine on centos 7

[root@localhost ~]# yum --enablerepo=epel install wine*
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.dionipe.net
 * elrepo: mirrors.ircam.fr
 * epel: mirror.nus.edu.sg
 * extras: mirror.dionipe.net
 * nux-dextop: li.nux.ro
 * updates: mirror.dionipe.net
Resolving Dependencies
--> Running transaction check
---> Package wine.x86_64 0:1.7.22-1.el7 will be installed
---> Package wine-alsa.x86_64 0:1.7.22-1.el7 will be installed
---> Package wine-capi.x86_64 0:1.7.22-1.el7 will be installed
---> Package wine-cms.x86_64 0:1.7.22-1.el7 will be installed
---> Package wine-common.noarch 0:1.7.22-1.el7 will be installed
---> Package wine-core.x86_64 0:1.7.22-1.el7 will be installed
--> Processing Dependency: nss-mdns(x86-64) for package: wine-core-1.7.22-1.el7.x86_64
---> Package wine-courier-fonts.noarch 0:1.7.22-1.el7 will be installed
---> Package wine-desktop.x86_64 0:1.7.22-1.el7 will be installed
---> Package wine-devel.x86_64 0:1.7.22-1.el7 will be installed
---> Package wine-filesystem.noarch 0:1.7.22-1.el7 will be installed
---> Package wine-fixedsys-fonts.noarch 0:1.7.22-1.el7 will be installed
---> Package wine-fonts.noarch 0:1.7.22-1.el7 will be installed
---> Package wine-ldap.x86_64 0:1.7.22-1.el7 will be installed
---> Package wine-marlett-fonts.noarch 0:1.7.22-1.el7 will be installed
---> Package wine-ms-sans-serif-fonts.noarch 0:1.7.22-1.el7 will be installed
---> Package wine-openal.x86_64 0:1.7.22-1.el7 will be installed
--> Processing Dependency: libopenal.so.1()(64bit) for package: wine-openal-1.7.22-1.el7.x86_64
---> Package wine-pulseaudio.x86_64 0:1.7.22-1.el7 will be installed
---> Package wine-small-fonts.noarch 0:1.7.22-1.el7 will be installed
---> Package wine-symbol-fonts.noarch 0:1.7.22-1.el7 will be installed
---> Package wine-system-fonts.noarch 0:1.7.22-1.el7 will be installed
---> Package wine-tahoma-fonts.noarch 0:1.7.22-1.el7 will be installed
---> Package wine-tahoma-fonts-system.noarch 0:1.7.22-1.el7 will be installed
---> Package wine-twain.x86_64 0:1.7.22-1.el7 will be installed
---> Package wine-wingdings-fonts.noarch 0:1.7.22-1.el7 will be installed
---> Package wine-wow.x86_64 0:1.7.22-1.el7 will be installed
--> Running transaction check
---> Package nss-mdns.x86_64 0:0.10-12.el7 will be installed
---> Package openal-soft.x86_64 0:1.16.0-2.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                       Arch        Version              Repository
                                                                           Size
================================================================================
Installing:
 wine                          x86_64      1.7.22-1.el7         epel       45 k
 wine-alsa                     x86_64      1.7.22-1.el7         epel       94 k
 wine-capi                     x86_64      1.7.22-1.el7         epel       51 k
 wine-cms                      x86_64      1.7.22-1.el7         epel       67 k
 wine-common                   noarch      1.7.22-1.el7         epel       98 k
 wine-core                     x86_64      1.7.22-1.el7         epel       19 M
 wine-courier-fonts            noarch      1.7.22-1.el7         epel       58 k
 wine-desktop                  x86_64      1.7.22-1.el7         epel       51 k
 wine-devel                    x86_64      1.7.22-1.el7         epel      3.7 M
 wine-filesystem               noarch      1.7.22-1.el7         epel       73 k
 wine-fixedsys-fonts           noarch      1.7.22-1.el7         epel       57 k
 wine-fonts                    noarch      1.7.22-1.el7         epel       44 k
 wine-ldap                     x86_64      1.7.22-1.el7         epel      121 k
 wine-marlett-fonts            noarch      1.7.22-1.el7         epel       57 k
 wine-ms-sans-serif-fonts      noarch      1.7.22-1.el7         epel       71 k
 wine-openal                   x86_64      1.7.22-1.el7         epel       58 k
 wine-pulseaudio               x86_64      1.7.22-1.el7         epel       83 k
 wine-small-fonts              noarch      1.7.22-1.el7         epel       60 k
 wine-symbol-fonts             noarch      1.7.22-1.el7         epel       70 k
 wine-system-fonts             noarch      1.7.22-1.el7         epel       64 k
 wine-tahoma-fonts             noarch      1.7.22-1.el7         epel      149 k
 wine-tahoma-fonts-system      noarch      1.7.22-1.el7         epel       46 k
 wine-twain                    x86_64      1.7.22-1.el7         epel       76 k
 wine-wingdings-fonts          noarch      1.7.22-1.el7         epel       57 k
 wine-wow                      x86_64      1.7.22-1.el7         epel      230 k
Installing for dependencies:
 nss-mdns                      x86_64      0.10-12.el7          epel       29 k
 openal-soft                   x86_64      1.16.0-2.el7         epel      282 k

Transaction Summary
================================================================================
Install  25 Packages (+2 Dependent packages)

Total download size: 25 M
Installed size: 167 M
Is this ok [y/d/N]: y
Downloading packages:
(1/27): wine-1.7.22-1.el7.x86_64.rpm                       |  45 kB   00:02    
(2/27): nss-mdns-0.10-12.el7.x86_64.rpm                    |  29 kB   00:05    
(3/27): wine-alsa-1.7.22-1.el7.x86_64.rpm                  |  94 kB   00:05    
(4/27): openal-soft-1.16.0-2.el7.x86_64.rpm                | 282 kB   00:06    
(5/27): wine-capi-1.7.22-1.el7.x86_64.rpm                  |  51 kB   00:00    
(6/27): wine-common-1.7.22-1.el7.noarch.rpm                |  98 kB   00:00    
(7/27): wine-cms-1.7.22-1.el7.x86_64.rpm                   |  67 kB   00:01    
(8/27): wine-courier-fonts-1.7.22-1.el7.noarch.rpm         |  58 kB   00:00    
(9/27): wine-core-1.7.22-1.el7.x86_64.rpm                  |  19 MB   00:53    
(10/27): wine-fixedsys-fonts-1.7.22-1.el7.noarch.rpm       |  57 kB   00:00    
(11/27): wine-filesystem-1.7.22-1.el7.noarch.rpm           |  73 kB   00:00    
(12/27): wine-desktop-1.7.22-1.el7.x86_64.rpm              |  51 kB   00:01    
(13/27): wine-marlett-fonts-1.7.22-1.el7.noarch.rpm        |  57 kB   00:00    
(14/27): wine-fonts-1.7.22-1.el7.noarch.rpm                |  44 kB   00:00    
(15/27): wine-ldap-1.7.22-1.el7.x86_64.rpm                 | 121 kB   00:00    
(16/27): wine-openal-1.7.22-1.el7.x86_64.rpm               |  58 kB   00:00    
(17/27): wine-ms-sans-serif-fonts-1.7.22-1.el7.noarch.rpm  |  71 kB   00:01    
(18/27): wine-symbol-fonts-1.7.22-1.el7.noarch.rpm         |  70 kB   00:00    
(19/27): wine-small-fonts-1.7.22-1.el7.noarch.rpm          |  60 kB   00:00    
(20/27): wine-pulseaudio-1.7.22-1.el7.x86_64.rpm           |  83 kB   00:00    
(21/27): wine-tahoma-fonts-system-1.7.22-1.el7.noarch.rpm  |  46 kB   00:00    
(22/27): wine-system-fonts-1.7.22-1.el7.noarch.rpm         |  64 kB   00:00    
(23/27): wine-tahoma-fonts-1.7.22-1.el7.noarch.rpm         | 149 kB   00:01    
(24/27): wine-wingdings-fonts-1.7.22-1.el7.noarch.rpm      |  57 kB   00:00    
(25/27): wine-twain-1.7.22-1.el7.x86_64.rpm                |  76 kB   00:00    
(26/27): wine-wow-1.7.22-1.el7.x86_64.rpm                  | 230 kB   00:02    
(27/27): wine-devel-1.7.22-1.el7.x86_64.rpm                | 3.7 MB   00:23    
--------------------------------------------------------------------------------
Total                                              302 kB/s |  25 MB  01:23    
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : wine-filesystem-1.7.22-1.el7.noarch                         1/27
  Installing : wine-tahoma-fonts-1.7.22-1.el7.noarch                       2/27
  Installing : wine-wingdings-fonts-1.7.22-1.el7.noarch                    3/27
  Installing : wine-small-fonts-1.7.22-1.el7.noarch                        4/27
  Installing : wine-symbol-fonts-1.7.22-1.el7.noarch                       5/27
  Installing : nss-mdns-0.10-12.el7.x86_64                                 6/27
  Installing : wine-core-1.7.22-1.el7.x86_64                               7/27
  Installing : wine-common-1.7.22-1.el7.noarch                             8/27
  Installing : wine-desktop-1.7.22-1.el7.x86_64                            9/27
  Installing : wine-wow-1.7.22-1.el7.x86_64                               10/27
  Installing : wine-cms-1.7.22-1.el7.x86_64                               11/27
  Installing : wine-alsa-1.7.22-1.el7.x86_64                              12/27
  Installing : wine-pulseaudio-1.7.22-1.el7.x86_64                        13/27
  Installing : wine-capi-1.7.22-1.el7.x86_64                              14/27
  Installing : wine-ldap-1.7.22-1.el7.x86_64                              15/27
  Installing : wine-twain-1.7.22-1.el7.x86_64                             16/27
  Installing : wine-ms-sans-serif-fonts-1.7.22-1.el7.noarch               17/27
  Installing : wine-courier-fonts-1.7.22-1.el7.noarch                     18/27
  Installing : wine-fixedsys-fonts-1.7.22-1.el7.noarch                    19/27
  Installing : wine-marlett-fonts-1.7.22-1.el7.noarch                     20/27
  Installing : wine-system-fonts-1.7.22-1.el7.noarch                      21/27
  Installing : wine-fonts-1.7.22-1.el7.noarch                             22/27
  Installing : openal-soft-1.16.0-2.el7.x86_64                            23/27
  Installing : wine-openal-1.7.22-1.el7.x86_64                            24/27
  Installing : wine-1.7.22-1.el7.x86_64                                   25/27
  Installing : wine-devel-1.7.22-1.el7.x86_64                             26/27
  Installing : wine-tahoma-fonts-system-1.7.22-1.el7.noarch               27/27
  Verifying  : wine-openal-1.7.22-1.el7.x86_64                             1/27
  Verifying  : wine-tahoma-fonts-system-1.7.22-1.el7.noarch                2/27
  Verifying  : wine-filesystem-1.7.22-1.el7.noarch                         3/27
  Verifying  : wine-fonts-1.7.22-1.el7.noarch                              4/27
  Verifying  : wine-wow-1.7.22-1.el7.x86_64                                5/27
  Verifying  : wine-cms-1.7.22-1.el7.x86_64                                6/27
  Verifying  : wine-1.7.22-1.el7.x86_64                                    7/27
  Verifying  : openal-soft-1.16.0-2.el7.x86_64                             8/27
  Verifying  : wine-tahoma-fonts-1.7.22-1.el7.noarch                       9/27
  Verifying  : wine-system-fonts-1.7.22-1.el7.noarch                      10/27
  Verifying  : wine-alsa-1.7.22-1.el7.x86_64                              11/27
  Verifying  : wine-marlett-fonts-1.7.22-1.el7.noarch                     12/27
  Verifying  : wine-capi-1.7.22-1.el7.x86_64                              13/27
  Verifying  : wine-fixedsys-fonts-1.7.22-1.el7.noarch                    14/27
  Verifying  : wine-devel-1.7.22-1.el7.x86_64                             15/27
  Verifying  : wine-courier-fonts-1.7.22-1.el7.noarch                     16/27
  Verifying  : wine-core-1.7.22-1.el7.x86_64                              17/27
  Verifying  : wine-common-1.7.22-1.el7.noarch                            18/27
  Verifying  : wine-ms-sans-serif-fonts-1.7.22-1.el7.noarch               19/27
  Verifying  : nss-mdns-0.10-12.el7.x86_64                                20/27
  Verifying  : wine-desktop-1.7.22-1.el7.x86_64                           21/27
  Verifying  : wine-ldap-1.7.22-1.el7.x86_64                              22/27
  Verifying  : wine-pulseaudio-1.7.22-1.el7.x86_64                        23/27
  Verifying  : wine-twain-1.7.22-1.el7.x86_64                             24/27
  Verifying  : wine-symbol-fonts-1.7.22-1.el7.noarch                      25/27
  Verifying  : wine-small-fonts-1.7.22-1.el7.noarch                       26/27
  Verifying  : wine-wingdings-fonts-1.7.22-1.el7.noarch                   27/27

Installed:
  wine.x86_64 0:1.7.22-1.el7                                                   
  wine-alsa.x86_64 0:1.7.22-1.el7                                              
  wine-capi.x86_64 0:1.7.22-1.el7                                              
  wine-cms.x86_64 0:1.7.22-1.el7                                               
  wine-common.noarch 0:1.7.22-1.el7                                            
  wine-core.x86_64 0:1.7.22-1.el7                                              
  wine-courier-fonts.noarch 0:1.7.22-1.el7                                     
  wine-desktop.x86_64 0:1.7.22-1.el7                                           
  wine-devel.x86_64 0:1.7.22-1.el7                                             
  wine-filesystem.noarch 0:1.7.22-1.el7                                        
  wine-fixedsys-fonts.noarch 0:1.7.22-1.el7                                    
  wine-fonts.noarch 0:1.7.22-1.el7                                             
  wine-ldap.x86_64 0:1.7.22-1.el7                                              
  wine-marlett-fonts.noarch 0:1.7.22-1.el7                                     
  wine-ms-sans-serif-fonts.noarch 0:1.7.22-1.el7                               
  wine-openal.x86_64 0:1.7.22-1.el7                                            
  wine-pulseaudio.x86_64 0:1.7.22-1.el7                                        
  wine-small-fonts.noarch 0:1.7.22-1.el7                                       
  wine-symbol-fonts.noarch 0:1.7.22-1.el7                                      
  wine-system-fonts.noarch 0:1.7.22-1.el7                                      
  wine-tahoma-fonts.noarch 0:1.7.22-1.el7                                      
  wine-tahoma-fonts-system.noarch 0:1.7.22-1.el7                               
  wine-twain.x86_64 0:1.7.22-1.el7                                             
  wine-wingdings-fonts.noarch 0:1.7.22-1.el7                                   
  wine-wow.x86_64 0:1.7.22-1.el7                                               

Dependency Installed:
  nss-mdns.x86_64 0:0.10-12.el7        openal-soft.x86_64 0:1.16.0-2.el7      
Complete!
[root@localhost ~]#

No comments:

Post a Comment

Terima kasih atas komentarnya