Last update at :2024-02-09,Edit by888u
Introduction
Whether it is a server or virtualization of OVZ or KVM, the installation can be completed.
The test passed on the OVZ machine of virmach. The KVM virtualized machine was selected for this installation.
Before installing Wine, you must first install the desktop environment.
For installation methods, see Installing LXDE+XRDP under Ubuntu to achieve remote desktop access
Wine environment installation
Wine installation is mainly completed by referring to the following articles.
https://wiki.winehq.org/Ubuntu_zhcn
If you have previously installed a Wine installation package from another repository, please delete it and all installation packages that depend on it (such as: wine-mono, wine-gecko, winetricks) before trying to install the WineHQ installation package, otherwise it may cause Dependency conflict.
If you are using a 64-bit system, please enable 32-bit architecture support (if you have not enabled it before):
sudo dpkg --add-architecture i386
Download and add warehouse key:
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
And add the warehouse:
System version | Corresponding command |
Ubuntu 18.10 | sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main' |
Ubuntu 18.04 Linux Mint 19.x | sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' |
Ubuntu 16.04 Linux Mint 18.x | sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ xenial main' |
Ubuntu 14.04 Linux Mint 17.x | sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ trusty main' |
Update installation package:
sudo apt update
Then install Any of the following installation packages:
Stable branch | sudo apt install --install-recommends winehq-stable |
development branch | sudo apt install --install-recommends winehq-devel |
Staging branch | sudo apt install --install-recommends winehq-staging |
If apt-get prompts that dependencies are missing, please install the missing dependencies first, and then repeat the above two steps (update and install).
It is recommended to install the stable branch.
Configure Wine environment
After the installation is complete, enter the desktop environment, open the command line terminal LX, and then enter
sudo winecfg
Start configuring the Wine environment. As shown in the figure below, you need to install some components and runtime libraries under Windows. Click to install.
After the installation is completed, the following interface will be displayed
At this point, the basic environment of Wine has been configured.
Install and run uTorrent
Download uTorrent to the server, then install and run it. It is recommended to use the green version.
Enter the LXDE desktop environment, open the file manager PCManFM, and enter the uTorrent folder
Then right-click utorrent.exe, select Wine Windows Program Loader, and run it.
The running interface is as follows, and the next operation is exactly the same as under Windows.
You can also use winetricks, a powerful tool, to install commonly used Windows software and runtime libraries.
Use the following command to install winetricks.
sudo apt install Winetricks
After the installation is complete, run it using winetricks in the LXDE desktop environment, or click on the lower left corner to run.
Select Install an App and click OK.
Scroll down to select the uTorrent version, here select 3.1
Recommended site search: overseas servers, telecom ip address query, French proxy server, vps dynamic ip, Guangdong server hosting, Hong Kong vps, server, virtual host recommended php host, Guangdong website registration
发表评论