Transplantation repository of deepin-wine environment and application on Debian/Ubuntu
Use deepin official original software package
Installing QQ/WeChat only requires two commands
Jump to view
quick start
FAQ
Uninstall cleanup
Advanced documentation
Copyright and Acknowledgments
Add warehouse
When using it for the first time, you need to run the following command to add the migration repository to the system.
wget -O- https://deepin-wine.i-m.dev/setup.sh | sh
Application installation
From now on, you can use the apt-get
series of commands to install, update, and uninstall various applications just like ordinary software packages.
For example, to install WeChat, you only need to run the following command:
sudo apt-get install com.qq.weixin.deepin
Replace com.qq.weixin.deepin
with the following package name and continue to install other applications:
application | package name |
---|---|
com.qq.weixin.deepin | |
com.qq.im.deepin | |
TIM | com.qq.office.deepin |
DingTalk | com.dingtalk.deepin |
Aliwangwang | com.taobao.wangwang.deepin |
QQ Music | com.qq.music.deepin |
QQ video | com.qq.video.deepin |
iQiyi | com.iqiyi.deepin |
See https://deepin-wine.im.dev for the complete list.
Having a problem?
Don't worry, there may be many people in the issue who have encountered problems similar to yours. If you search, you may find a solution.
Just log in again, log out or restart.
The latest version may encounter this problem, which is related to the WINEPREDLL
environment variable. Please refer to issue#310.
This is related to the desktop environment. There are many Linux distribution desktops with various layouts, and not every one of them has controls corresponding to the [Windows system tray].
If it is the Cinnamon desktop environment of Linux Mint, it can basically be used normally. (However, there are some problems with multiple displays. You need to set the left display as the main screen)
If it is a Gnome desktop environment, the taskbar will be very awkward and become a floating dialog box. You can install the Gnome Shell plug-in:
As for the plug-in installation method, go out and turn left to the search engine.
sudo apt-get install gnome-shell-extension-top-icons-plus gnome-tweaks
. Log out and log in again to enable the corresponding plug-in in the tweak tool.sudo apt install gnome-shell-extension-manager -y
. Open扩展管理器
, search for Tray Icons: Reloaded on the browse tab and install it, then switch to the installed tab and make sure Tray Icons: Reloaded is enabled.I haven't tried KDE and the like, so please explore on your own.
Video-related functions rely heavily on hardware and underlying drivers. After all, Wine is not Windows, and 100% perfect simulation is impossible.
The new version of deepin-wine seems to be able to solve the font problem better, and it can usually be used after installing it. If you have problems, you can first try to copy a complete Windows font to Linux.
依赖: xxxx 但是它将不会被安装
Depends: xxxx but it is not going to be installed
This means that the system tried to install xxxx
but could not install it. This is usually a problem with your existing software source configuration, or you have installed some conflicting things.
Then, you should try to install xxxx
and execute apt-get install -s xxxx
(no sudo required, just simulate, feel free to test), it will usually tell you依赖: yyyy 但是它将不会被安装
, indicating a lower level The error is in yyyy
. Keep trying to find the culprit. You can try to solve the culprit first.
Test as much as possible to rule out accidental factors. It may be something that can be solved by restarting/deleting and reinstalling.
Do a lot of searches for existing issues, and everyone has listed various causes and solutions, which is worth a look.
New issues are welcome, but please also provide the Linux distribution name and version number, desktop environment, APT source list and other information.
Linux is not Windows, and Wine is not Windows either. Don’t expect 100% silky smooth enjoyment.
Uninstallation and cleaning can be divided into the following four levels from shallower to deeper.
If you just want to clear the APP account configuration, please follow 1
to clean up; if you find that the program crashes, please follow 1-2
to clean up; if you need to uninstall the APP, follow 1-2-3
to clean up; if you want to clear everything Go back to the starting point and perform 1-2-3-4
cleanup.
Clean application runtime directory
For example, QQ/TIM will save account configuration, chat files, etc. in the directory ~/Documents/Tencent Files
, while WeChat will save it in ~/Documents/WeChat Files
. Delete these folders to remove account configuration and other data.
Clean the wine container
After the deepin-wine application is started for the first time, a folder (with different names) will be generated in the ~/.deepinwine/
directory to store the wine container (you can understand me as a "Windows virtual machine"). If there is a problem with use , you can try deleting the corresponding subfolder in this directory.
Uninstall a package
Execute the sudo apt-get purge --autoremove <包名>
command to remove the package you have installed.
Remove software repository
sudo rm /etc/apt/preferences.d/deepin-wine.i-m.dev.pref
/etc/apt/sources.list.d/deepin-wine.i-m.dev.list
/etc/profile.d/deepin-wine.i-m.dev.sh
sudo apt-get update
If you are an experienced Linux user, you can learn about this part.
Deepin packages deepin-wine applications such as QQ/WeChat and places them in the deepin warehouse. Therefore, these applications and dependent software packages are first extracted, and then the inherent software packages in the official warehouses of Debian/Ubuntu and other distributions are subtracted. It can be packaged into a "differential warehouse" that is transplanted to the corresponding release version, and then the index of this differential warehouse can be published, and .deb
in it can be directly redirected to the Deepin official warehouse address.
The environment configuration is actually to add the software warehouse I built myself as the source, which includes the following steps.
Add i386 architecture
Because deepin-wine related software packages are all i386, and current systems are basically 64-bit, so i386 architecture support needs to be added first.
Use dpkg --print-architecture
and dpkg --print-foreign-architectures
commands to check the system's native and additional architecture support. If the output does not include i386
, you need to add support manually.
sudo dpkg --add-architecture i386
Add software source
Create the /etc/apt/sources.list.d/deepin-wine.im.dev.list
file and edit its content as follows:
deb [trusted=yes] https://deepin-wine.i-m.dev /
Set source priority
This step is to lower the priority of this repository and use the inherent software packages in the release repository instead of the software packages in the Deepin repository as much as possible to minimize risks.
Create the /etc/apt/preferences.d/deepin-wine.im.dev.pref
file and edit its content as follows:
Package: *
Pin: release l=deepin-wine
Pin-Priority: 400
Add XDG_DATA_DIRS configuration
This is to allow the application icon to display normally. Create the /etc/profile.d/deepin-wine.im.dev.sh
file and edit its content as follows:
XDG_DATA_DIRS= ${XDG_DATA_DIRS :-/ usr / local / share :/ usr / share}
for deepin_dir in /opt/apps/ * /entries ; do
if [ -d " $deepin_dir /applications " ] ; then
XDG_DATA_DIRS= " $XDG_DATA_DIRS : $deepin_dir "
fi
done
export XDG_DATA_DIRS
Refresh software source
sudo apt-get update
The code in this git warehouse only includes the construction tools of the ported version of the software warehouse. Finally, the download address of the software package in the warehouse will be redirected by 301 to the official warehouse (or mirror) of deepin, whose copyright is owned by deepin.
This project was inspired by the wszqkzqk/deepin-wine-ubuntu project. The installation method has been improved, so it is compatible with the original project. After it has been installed according to the deepin-wine-ubuntu project, you can still configure it according to this project, which can be more convenient. Subsequent updates.