This article will help you to Install Wine 2.0 stable release on CentOS. How To Install Wine 2.0 on CentOS, RHEL & Fedora. Add some more yum repositories in. If you have previously installed a Wine package from another repository. How to install winexe on Ubuntu? How To Install Winexe On Centos Version Check.
Use this article to Install EPEL and REMI Repository on CentOS and RedHat 7/6 systems. How to enable REMI and EPEL yum repository in CentOS/RHEL 7/6.
Repositories configuration: On Fedora, standards repositories are enough, on Enterprise Linux (RHEL, CentOS) the Extra Packages for Enterprise Linux () repository must be configured, and on RHEL the optional channel must be enabled. Drivers Subsonic Controller Definition.
This tutorial describes how to setup a local Yum repository on CentOS 7 system. Also, the same steps should work on RHEL and Scientific Linux 7 systems too. If you have to install software, security updates and fixes often in multiple systems in your local network, then having a local repository is an efficient way. Because all required packages are downloaded over the fast LAN connection from your local server, so that it will save your Internet bandwidth and reduces your annual cost of Internet. In this tutorial, I use two systems as described below: Yum Server OS: CentOS 7 (Minimal Install) Yum Server IP Address: 192.168.1.101 Client OS: CentOS 7 (Minimal Install) Client IP Address: 192.168.1.102 Prerequisites First, mount your CentOS 7 installation DVD. For example, let us mount the installation media on /mnt directory. Mount /dev/cdrom /mnt/ Now the CentOS installation DVD is mounted under /mnt directory.
Next install vsftpd package and let the packages available over FTP to your local clients. To do that change to /mnt/Packages directory. Cd /mnt/Packages/ Now install vsftpd package: rpm -ivh vsftpd-3.0.2-9.el7.x86_64.rpm Enable and start vsftpd service: systemctl enable vsftpd systemctl start vsftpd We need a package called “createrepo” to create our local repository. So let us install it too. If you did a minimal CentOS installation, then you might need to install the following dependencies first: rpm -ivh libxml2-python-2.9.1-5.el7.x86_64.rpm rpm -ivh deltarpm-3.6-3.el7.x86_64.rpm rpm -ivh python-deltarpm-3.6-3.el7.x86_64.rpm Now install “createrepo” package: rpm -ivh createrepo-0.9.9-23.el7.noarch.rpm Build Local Repository It’s time to build our local repository.
Create a storage directory to store all packages from CentOS DVD’s. As I noted above, we are going to use a FTP server to serve all packages to client systems. So let us create a storage location in our FTP server pub directory.
Mkdir /var/ftp/pub/localrepo Now, copy all the files from CentOS DVD(s) i.e from /mnt/Packages/ directory to the “localrepo” directory: cp -ar /mnt/Packages/*.* /var/ftp/pub/localrepo/ Again, mount the CentOS installation DVD 2 and copy all the files to /var/ftp/pub/localrepo directory. Once you copied all the files, create a repository file called “localrepo.repo” under /etc/yum.repos.d/ directory and add the following lines into the file. You can name this file as per your liking: vi /etc/yum.repos.d/localrepo.repo Add the following lines: [localrepo] name=Unixmen Repository baseurl=file:///var/ftp/pub/localrepo gpgcheck=0 enabled=1 Note: Use three slashes(///) in the baseurl. Now, start building local repository: createrepo -v /var/ftp/pub/localrepo/ Now the repository building process will start. Sample Output: Now, list out the repositories using the following command: yum repolist Sample Output: repo id repo name status base/7/x86_64 CentOS-7 - Base 8,465 extras/7/x86_64 CentOS-7 - Extras 30 localrepo Unixmen Repository 3,538 updates/7/x86_64 CentOS-7 - Updates 726 Clean the Yum cache and update the repository lists: yum clean all yum update After creating the repository, disable or rename the existing repositories if you only want to install packages from the local repository itself.
Alternatively, you can install packages only from the local repository by mentioning the repository as shown below.