{"id":2992,"date":"2020-12-30T12:26:10","date_gmt":"2020-12-30T12:26:10","guid":{"rendered":"https:\/\/linuxways.net\/?p=2992"},"modified":"2020-12-30T12:26:13","modified_gmt":"2020-12-30T12:26:13","slug":"how-to-install-wine-on-centos-8","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/centos\/how-to-install-wine-on-centos-8\/","title":{"rendered":"How to Install Wine on CentOS 8"},"content":{"rendered":"<h2>Introduction:<\/h2>\n<p>Wine is a very useful package that can be installed on any Linux distribution for running native Windows applications on Linux. This package proves to be the best workaround for using all those applications on Linux that you normally enjoy within the Windows environment. Today&#8217;s article will be focused on the method of installing Wine on CentOS 8. However, if you want to see the method of installing this package on any other Linux distribution, then you can take a look at our article on <a href=\"https:\/\/linuxways.net\/de\/mint\/how-to-install-wine-on-linux-mint-20\/\">Wine installation on Linux Mint 20<\/a>.<\/p>\n<h2>Method of Installing Wine on CentOS 8:<\/h2>\n<p>If you wish to install Wine on CentOS 8, then you have to perform the five steps that are listed over here:<\/p>\n<h3>Step # 1: Download all the Required Packages and Dependencies:<\/h3>\n<p>First, you will have to download the Development Tools for Wine for which you need to run the following command on CentOS 8:<\/p>\n<pre><strong>sudo yum groupinstall \u2018Development Tools\u2019<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"555\" height=\"29\" class=\"wp-image-2993\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-453.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-453.png 555w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-453-300x16.png 300w\" sizes=\"auto, (max-width: 555px) 100vw, 555px\" \/><\/strong><\/p>\n<p>During the installation of the Development Tools, you will have to provide your consent for once by typing \u201cy\u201d as highlighted below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"734\" height=\"166\" class=\"wp-image-2994\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-454.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-454.png 734w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-454-300x68.png 300w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/p>\n<p>The Development Tools will take around 20 minutes to download with a moderate Internet speed. Once the Development Tools will be downloaded successfully, you will see the \u201cComplete\u201d message on your terminal as highlighted in the following image:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"733\" height=\"433\" class=\"wp-image-2995\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-455.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-455.png 733w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-455-300x177.png 300w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><\/p>\n<p>After downloading the Development Tools, we will also download some other packages by running the command mentioned below:<\/p>\n<pre><strong>sudo yum install libX11-devel freetype-devel zlib-devel libxcb-devel<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"734\" height=\"53\" class=\"wp-image-2996\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-456.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-456.png 734w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-456-300x22.png 300w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/strong><\/p>\n<p>Again, during the installation of these packages, you will be supposed to provide your consent for once by typing in \u201cy\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"731\" height=\"432\" class=\"wp-image-2997\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-457.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-457.png 731w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-457-300x177.png 300w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><\/p>\n<p>Finally, when the above-mentioned packages will be downloaded successfully on your CentOS 8 system, you will see the \u201cComplete\u201d message on your terminal as shown in the following image:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"732\" height=\"434\" class=\"wp-image-2998\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-458.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-458.png 732w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-458-300x178.png 300w\" sizes=\"auto, (max-width: 732px) 100vw, 732px\" \/><\/p>\n<h3>Step # 2: Download the Source Code of Wine on CentOS 8:<\/h3>\n<p>Now when all the required packages and dependencies for Wine have been downloaded successfully on your CentOS 8 system, it is the right time to download its source code with the command mentioned below:<\/p>\n<pre><strong>wget https:\/\/dl.winehq.org\/wine\/source\/2.0\/wine-2.0.2.tar.xz<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"736\" height=\"34\" class=\"wp-image-2999\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-459.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-459.png 736w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-459-300x14.png 300w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/strong><\/p>\n<p>When the source code of Wine will be successfully downloaded on your CentOS 8 system, it will cause the following messages to be displayed on your system\u2019s terminal:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"728\" height=\"243\" class=\"wp-image-3000\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-460.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-460.png 728w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-460-300x100.png 300w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/p>\n<h3>Step # 3: Extract the Source Code of Wine on CentOS 8:<\/h3>\n<p>After successfully downloading the source code of Wine on our CentOS 8 system, we will extract it within a newly created directory named \u201ctmp\u201d in our C drive. This can be done if we will run the command stated below:<\/p>\n<pre><strong>tar \u2013xvJf wine-2.0.2.tar.xz \u2013C\/tmp<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"497\" height=\"26\" class=\"wp-image-3001\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-461.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-461.png 497w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-461-300x16.png 300w\" sizes=\"auto, (max-width: 497px) 100vw, 497px\" \/><\/strong><\/p>\n<p>It will take a few seconds to extract all the sub-files and once the extraction process is complete, you will get the control of your CentOS 8 system back as shown in the following image:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"437\" height=\"437\" class=\"wp-image-3002\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-462.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-462.png 437w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-462-300x300.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-462-150x150.png 150w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><\/p>\n<h3>Step # 4: Compile the Source Code of Wine to install it on CentOS 8:<\/h3>\n<p>Now we need to compile this downloaded source code of Wine so that it can be installed on our CentOS 8 system. For that, we will first have to change the default path of the terminal by navigating to the \u201ctmp\u201d directory (the directory in which the source code files of Wine have been extracted). We can navigate to this directory with the command shown below:<\/p>\n<pre><strong>cd \/tmp\/wine-2.0.2<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"354\" height=\"28\" class=\"wp-image-3003\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-463.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-463.png 354w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-463-300x24.png 300w\" sizes=\"auto, (max-width: 354px) 100vw, 354px\" \/><\/strong><\/p>\n<p>Once you are there in the \u201ctmp\u201d directory, you need to run the following command:<\/p>\n<pre><strong>.\/configure --enable-win64<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"510\" height=\"26\" class=\"wp-image-3004\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-464.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-464.png 510w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-464-300x15.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-464-501x26.png 501w\" sizes=\"auto, (max-width: 510px) 100vw, 510px\" \/><\/strong><\/p>\n<p>Since we had a 64-bit system that is why we have used the command stated above. However, if you are working with a 32-bit system, then you can simply run the \u201c<strong>.\/configure<\/strong>\u201d command to serve the very same purpose. The successful execution of this command will render these messages:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"735\" height=\"435\" class=\"wp-image-3005\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-465.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-465.png 735w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-465-300x178.png 300w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><\/p>\n<p>Now you will have to run the command stated below:<\/p>\n<pre><strong>make<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"306\" height=\"27\" class=\"wp-image-3006\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-466.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-466.png 306w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-466-300x26.png 300w\" sizes=\"auto, (max-width: 306px) 100vw, 306px\" \/><\/strong><\/p>\n<p>Once the execution of this command will complete, you will finally have to run the following command to complete the installation process of Wine on CentOS 8.<\/p>\n<pre><strong>make install<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"379\" height=\"26\" class=\"wp-image-3007\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-467.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-467.png 379w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-467-300x21.png 300w\" sizes=\"auto, (max-width: 379px) 100vw, 379px\" \/><\/strong><\/p>\n<h3>Step # 5: Verify the Installation of Wine on CentOS 8:<\/h3>\n<p>After following steps # 1 to 4, Wine will be successfully installed on your CentOS 8 system. You can confirm its installation by checking the installed version of Wine with the command shown below:<\/p>\n<pre><strong>wine --version<\/strong><\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"317\" height=\"31\" class=\"wp-image-3008\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-468.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-468.png 317w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-468-300x29.png 300w\" sizes=\"auto, (max-width: 317px) 100vw, 317px\" \/><\/p>\n<p>The version of Wine that is installed on our CentOS 8 system is 2.0.2 which is also shown in the following image:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"326\" height=\"42\" class=\"wp-image-3009\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-469.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-469.png 326w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-469-300x39.png 300w\" sizes=\"auto, (max-width: 326px) 100vw, 326px\" \/><\/p>\n<h2>Method of Removing Wine from CentOS 8:<\/h2>\n<p>Whenever you want to remove Wine from your CentOS 8 system along with all of its packages and dependencies, you can simply run the command shown below:<\/p>\n<pre><strong>sudo yum autoremove wine<\/strong><\/pre>\n<p><strong><img loading=\"lazy\" decoding=\"async\" width=\"406\" height=\"28\" class=\"wp-image-3010\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-470.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-470.png 406w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/12\/word-image-470-300x21.png 300w\" sizes=\"auto, (max-width: 406px) 100vw, 406px\" \/><\/strong><\/p>\n<h2>Conclusion:<\/h2>\n<p>This article presented the method of installing Wine on CentOS 8. With the use of this package, you can easily use the native Windows applications on CentOS 8. However, you can also remove this package from your CentOS 8 system to conserve the memory whenever you want by following the method prescribed in this article.<\/p>","protected":false},"excerpt":{"rendered":"<p>Introduction: Wine is a very useful package that can be installed on any Linux distribution for running native Windows applications on Linux. This package proves to be the&hellip;<\/p>","protected":false},"author":3,"featured_media":3011,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[93,117],"class_list":["post-2992","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","tag-centos-8","tag-wine"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/2992","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=2992"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/2992\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/3011"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=2992"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=2992"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=2992"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}