Simple porting of Deepin's wine package to other Linux distributions

Source: Internet
Author: User

Simple porting of Deepin's wine package to other Linux distributions: (without direct installation)

Because it is a deepin package, there will inevitably be some dependency problems, we just need to remove these dependencies can be installed. So we need to make changes to the package. But because of dependencies, some software does not work perfectly.

1. Installing dpkg

This package is estimated to have been installed

If not installed, can be installed by command or new

Execute code

sudo apt-get install dpkg

2. Modify Deepin's Wine package

A. Get Deepin's wine package, which can be obtained via the URL. (Please select the package in which wine is available, others may be other packages under Deepin)

http://packages.deepin.com/deepin/pool/non-free/d/

http://packages.deepin.com/deepin/pool/non-free/a/

B. Select a working directory (just a single folder) and put the wine package in, for example, the package name is Wine.deb

C. Create a package directory

Open terminal (or direct CD to this working directory) under this working directory to run

Mkdir-p Extract/debian

D. Extract the Wine package

Dpkg-deb-x wine.deb extract/dpkg-deb-e wine.deb Extract/debian

E. Removing dependencies

Open the Extract/debian/control and find depends: remove some dependencies that cannot be installed, generally leaving only the crossover included.

F. Re-packaging

Create a Package build directory

mkdir Build

RePack as Deb

Dpkg-deb-b extract/build/

G. Installation

In the build directory, you will see the newly generated wine package, which can be installed.

You will then see this container in the crossover and run the software inside to

Simple porting of Deepin's wine package to other Linux distributions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.