在openSUSE-Leap-15.5-DVD-x86_64中使用deepin-wine-6.0.0.62再使用微信3.9.5

2023-12-19 09:44

本文主要是介绍在openSUSE-Leap-15.5-DVD-x86_64中使用deepin-wine-6.0.0.62再使用微信3.9.5,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

在openSUSE-Leap-15.5-DVD-x86_64中使用deepin-wine-6.0.0.62再使用微信3.9.5

参考文章:
《记录-下fedora 33安装deepin qq和微信 ,不需要安装deepinwine》
https://tieba.baidu.com/p/7279470269

《opensuse使用virtualbox安装win10》
https://blog.csdn.net/inxunxun/article/details/128178351?spm=1001.2014.3001.5506

《virtualbox增强功能-VBoxGuestAdditions安装》
https://blog.csdn.net/MR_Zhan_C/article/details/113247332?spm=1001.2014.3001.5506

总体思路是在openSUSE-Leap-15.5-DVD-x86_64中安装virtualbox-7.0.8再安装deepin-desktop-community23-Beta2-amd64.iso得到deepin-wine-6.0.0.62和微信3.9.5
再回到openSUSE-Leap-15.5-DVD-x86_64中安装deepin-wine-6.0.0.62和微信3.9.5

一、到深度官网下载deepin-desktop-community-23-Beta2-amd64.iso
到深度官网https://www.deepin.org/zh/download/下载deepin-desktop-community-23-Beta2-amd64.iso,大小为4.2GB
https://cdimage.deepin.com/releases/23-Beta2/

二、在openSUSE-Leap-15.5-DVD-x86_64中安装virtualbox-7.0.8
应用程序——工具——终端
ruhong@localhost:~> su -
密码:
localhost:~ #
由普通用户ruhong切换到root用户
localhost:~ # zypper search virtualbox
localhost:~ # zypper install virtualbox virtualbox-guest-desktop-icons virtualbox-kmp-default virtualbox-host-source virtualbox-guest-source virtualbox-guest-tools virtualbox-vnc
localhost:~ # usermod -a -G vboxusers ruhong
重启opensuse15.5

三、启动virtualbox-7.0.8再安装deepin-desktop-community-23-Beta2-amd64.iso
应用程序——系统工具——Oracle VM VirtualBox——新建
名称填写deepin23beta2
文件夹选择C盘/mnt/sda1 虽然C盘是ntfs格式,也是可以被linux使用的,主要是C盘有20GB以上的磁盘空间可用
虚拟光盘选择已经下载好的deepin-desktop-community-23-Beta2-amd64.iso
在这里插入图片描述

内存大小和处理器数量都不用修改,勾选启用EFI(只针对某些操作系统)

单击现在创建虚拟硬盘,磁盘空间大小为21GB,不用勾选预先分配全部空间

启动——选择Install Deepin 23 kernel 5.15 desktop——黑屏并等待2分钟左右——简体中文,勾选我已仔细阅读并同意——自定义安装——单击空闲21.5Gib右边的加号图标——格式化整个磁盘,单击确定——再次单击空闲21.5Gib右边的加号图标——系统空间调到最大值21.5Gib,数据空间为0,单击确定——自动出现EFI、Roota和SWAP三个分区,都不用调整,单击下一步——开始安装,整个过程大约是15分钟左右
在这里插入图片描述

创建普通用户suozhang和密码,是不需要设置root用户的密码的——以普通用户suozhang登录并输入密码——选择高效模式和普通模式

四、安装增强功能VBoxGuestAdditions_7.0.8.iso
到http://download.virtualbox.org/virtualbox下载,大小为52MB
http://download.virtualbox.org/virtualbox/7.0.8/VBoxGuestAdditions_7.0.8.iso
关机deepin23beta2——设置——存储——单击分配光驱最右边蓝色圆形图标——选择虚拟盘——选择VBoxGuestAdditions_7.0.8.iso——确定
在这里插入图片描述

启动deepin23beta2——单击左下角图标——终端
物理机opensuse15.5能够上网,虚拟机deepin23beta2也能跟着上网的,不需要额外设置的

suozhang@suozhang-PC:~$ sudo su -
请输入密码: 输入普通用户suozhang的密码再按回车键
验证成功
root@suozhang-PC:~# apt install console-setup
root@suozhang-PC:~# df
文件系统 1K的块 已用 可用 已用% 挂载点
udev 952220 0 952220 0% /dev
tmpfs 201420 2728 198692 2% /run
/dev/sda2 19945072 14541900 4364684 77% /
tmpfs 1007084 0 1007084 0% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
/dev/sda1 306572 9260 297312 4% /boot/efi
tmpfs 201416 40 201376 1% /run/user/1000
/dev/sr0 52232 52232 0 100% /media/suozhang/VBox_GAs_7.0.8

root@suozhang-PC:~# cd /media/suozhang/VBox_GAs_7.0.8/
root@suozhang-PC:/media/suozhang/VBox_GAs_7.0.8# ./VBoxLinuxAdditions.run
要等待3分钟才能完成安装——重启deepin23beta2

五、设置共享文件夹opensuse15.5
在opensuse15.5中在普通用户ruhong的家目录/home/ruhong里创建文件夹opensuse15.5
ruhong@localhost:~> pwd
/home/ruhong
ruhong@localhost:~> mkdir opensuse15.5
ruhong@localhost:~> cd opensuse15.5
ruhong@localhost:~/opensuse15.5> touch 20231217.txt
ruhong@localhost:~/opensuse15.5> ls
20231217.txt
ruhong@localhost:~/opensuse15.5>

设备——共享粘贴板——双向
设备——共享文件夹——单击最右边的蓝色加号图标——选择/home/ruhong/opensuse15.5——确定
在这里插入图片描述

在deepin23beta2创建挂载点vboxsf01并挂上opensuse15.5
root@suozhang-PC:~# mkdir /mnt/vboxsf01
root@suozhang-PC:~# mount -t vboxsf opensuse15.5 /mnt/vboxsf01/
root@suozhang-PC:~# ls /mnt/vboxsf01/
20231217.txt
root@suozhang-PC:~#

六、下载deepin-wine-6.0.0.62和微信3.9.5
单击左下角的应用商店——找到微信并单击安装
在这里插入图片描述

root@suozhang-PC:~# dpkg -l |grep wine
iU deepin-wine-helper 5.2.31-1 amd64 Deepin Wine Helper
iU deepin-wine-runtime 0.1.6 amd64 Deepin Wine runtime
iU deepin-wine6-stable 6.0.0.62-1 amd64 WINE Is Not An Emulator - runs MS Windows programs Wine is a program which allows running Microsoft Windows programs (including DOS, Windows 3.x and Win32 executables) on Unix. . This package contains the files needed to support 64-bit Windows programs.
ii libdeepin-kwineffects13 4:5.25.11-kwin.5.24.3 amd64 KDE window manager effects library
root@suozhang-PC:~# dpkg -l |grep weixin
ii com.qq.weixin.deepin:i386 3.9.5.80deepin10 i386 Tencent WeChat Client on Deepin Wine6

下载与微信相关的软件包并移动到vboxsf01文件夹中
root@suozhang-PC:~# apt download deepin-wine-helper
root@suozhang-PC:~# apt download deepin-wine-runtime
root@suozhang-PC:~# apt download deepin-wine6-stable
root@suozhang-PC:~# apt download com.qq.weixin.deepin
root@suozhang-PC:~# apt download fonts-noto-cjk
root@suozhang-PC:~# ls
com.qq.weixin.deepin_3.9.5.80deepin10_i386.deb 大小为198MB
deepin-wine6-stable_6.0.0.62-1_amd64.deb 大小为51MB
deepin-wine-helper_5.2.31-1_amd64.deb 大小为668KB
deepin-wine-runtime_0.1.6_amd64.deb 大小为135MB
fonts-noto-cjk_1%3a20201206-cjk+repack1-1_all.deb 大小为53MB
root@suozhang-PC:~# mv *.deb /mnt/vboxsf01/

七、在opensuse15.5中安装deepin-wine-6.0.0.62和微信3.9.5
ruhong@localhost:~> su -
密码:
localhost:~ # cd /home/ruhong/opensuse15.5/
localhost:/home/ruhong/opensuse15.5 # ls
20231217.txt
com.qq.weixin.deepin_3.9.5.80deepin10_i386.deb
deepin-wine-helper_5.2.31-1_amd64.deb
deepin-wine-runtime_0.1.6_amd64.deb
deepin-wine6-stable-6.0.0.62-2.x86_64.rpm
deepin-wine6-stable_6.0.0.62-1_amd64.deb
fonts-noto-cjk_1%3a20201206-cjk+repack1-1_all.deb
localhost:/home/ruhong/opensuse15.5 # dpkg --install *.deb
最后因为缺少依赖未能装上deepin-wine6-stable_6.0.0.62-1_amd64.deb,只能强制安装了
localhost:/home/ruhong/deepin-wine-6.0.0.62 # dpkg --install --force-depends deepin-wine6-stable_6.0.0.62-1_amd64.deb

也可以使用alien命令将deb格式转换为rpm格式,但是耗时比较长,如果个人时间允许,最好还是转换为rpm格式最好,使用zypper能够补上缺少的依赖软件包
localhost:~ # date ; alien --to-rpm /home/ruhong/deepin-wine-6.0.0.62/deepin-wine6-stable_6.0.0.62-1_amd64.deb ; date
Mon Dec 18 23:15:56 CST 2023
deepin-wine6-stable-6.0.0.62-2.x86_64.rpm generated
Mon Dec 18 23:53:03 CST 2023
处理51MB的deb软件包就耗时38分钟

八、启动微信3.9.5
localhost:~ # dpkg -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
++±=---==========================================
iU com.51dzt.deepin:i386 22057.12012.0dee i386 TypeEasy Client on Deepin Wine6
ii com.alibabainc.dingtalk 7.0.40.30829 amd64 钉钉
iU com.cchess2010.deepin:i 1.31.2010deepin1 i386 Chinese Chess on Deepin Wine
iU com.qq.weixin.deepin:i3 3.9.5.80deepin10 i386 Tencent WeChat Client on Deepin Wine6
iU deepin-wine-helper 5.2.31-1 amd64 Deepin Wine Helper
iU deepin-wine-runtime 0.1.6 amd64 Deepin Wine runtime
ii deepin-wine6-stable 6.0.0.62-1 amd64 WINE Is Not An Emulator - runs MS Windows programs W
ii fonts-noto-cjk 1:20201206-cjk+r all “No Tofu” font families with large Unicode coverage
localhost:~ # dpkg -L com.qq.weixin.deepin
/.
/opt
/opt/appscom.qq.weixin.deepin:i3 3.9.5.80deepin10 i386 Tencent WeChat Client on Deepin Wine6
iU deepin-wine-helper 5.2.31-1 amd64 Deepin Wine Helper
iU deepin-wine-runtime 0.1.6 amd64 Deepin Wine runtime
ii deepin-wine6-stable 6.0.0.62-1 amd64 WINE Is Not An Emulator - runs MS Windows programs W
ii fonts-noto-cjk
/opt/apps/com.qq.weixin.deepin
/opt/apps/com.qq.weixin.deepin/entries
/opt/apps/com.qq.weixin.deepin/entries/applications
/opt/apps/com.qq.weixin.deepin/entries/applications/com.qq.weixin.deepin.desktop
/opt/apps/com.qq.weixin.deepin/entries/icons
/opt/apps/com.qq.weixin.deepin/entries/icons/hicolor
/opt/apps/com.qq.weixin.deepin/entries/icons/hicolor/48x48
/opt/apps/com.qq.weixin.deepin/entries/icons/hicolor/48x48/apps
/opt/apps/com.qq.weixin.deepin/entries/icons/hicolor/48x48/apps/com.qq.weixin.deepin.svg

localhost:~ # cat /opt/apps/com.qq.weixin.deepin/entries/applications/com.qq.weixin.deepin.desktop
#!/usr/bin/env xdg-open

[Desktop Entry]
Encoding=UTF-8
Type=Application
X-Created-By=Deepin WINE Team
Categories=chat;
Icon=com.qq.weixin.deepin
Exec=“/opt/apps/com.qq.weixin.deepin/files/run.sh” -f %f
Name=WeChat
Name[zh_CN]=微信
Comment=Tencent WeChat Client on Deepin Wine6
StartupWMClass=WeChat.exe
MimeType=

要以普通用户ruhong运行/opt/apps/com.qq.weixin.deepin/files/run.sh启动微信,跳出二维吗,使用手机微信扫描登录
ruhong@localhost:~> /opt/apps/com.qq.weixin.deepin/files/run.sh

localhost:~ # cp /opt/apps/com.qq.weixin.deepin/entries/applications/com.qq.weixin.deepin.desktop /usr/share/applications/
localhost:~ # vim /usr/share/applications/com.qq.weixin.deepin.desktop
将这行
Icon=com.qq.weixin.deepin
改为
Icon=/opt/apps/com.qq.weixin.deepin/entries/icons/hicolor/48x48/apps/com.qq.weixin.deepin.svg

应用程序——其它——微信——手机扫码登录——左下角三根横线——设置——通用设置——勾选使用系统默认浏览器打开网页

九、卸载deepin-wine-6.0.0.62和微信3.9.5
localhost:~ # dpkg --purge com.qq.weixin.deepin
localhost:~ # dpkg --purge deepin-wine-helper
localhost:~ # dpkg --purge deepin-wine-runtime
localhost:~ # dpkg --purge deepin-wine6-stable
localhost:~ # dpkg --purge fonts-noto-cjk

十、已经出现的问题
报错——could not LoadLibrary: msmpeg2vdec.dll: 找不到模块。
不能播放微信中的视频
在这里插入图片描述

这篇关于在openSUSE-Leap-15.5-DVD-x86_64中使用deepin-wine-6.0.0.62再使用微信3.9.5的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/511729

相关文章

Java Spring 中 @PostConstruct 注解使用原理及常见场景

《JavaSpring中@PostConstruct注解使用原理及常见场景》在JavaSpring中,@PostConstruct注解是一个非常实用的功能,它允许开发者在Spring容器完全初... 目录一、@PostConstruct 注解概述二、@PostConstruct 注解的基本使用2.1 基本代

C#使用StackExchange.Redis实现分布式锁的两种方式介绍

《C#使用StackExchange.Redis实现分布式锁的两种方式介绍》分布式锁在集群的架构中发挥着重要的作用,:本文主要介绍C#使用StackExchange.Redis实现分布式锁的... 目录自定义分布式锁获取锁释放锁自动续期StackExchange.Redis分布式锁获取锁释放锁自动续期分布式

springboot使用Scheduling实现动态增删启停定时任务教程

《springboot使用Scheduling实现动态增删启停定时任务教程》:本文主要介绍springboot使用Scheduling实现动态增删启停定时任务教程,具有很好的参考价值,希望对大家有... 目录1、配置定时任务需要的线程池2、创建ScheduledFuture的包装类3、注册定时任务,增加、删

使用Python实现矢量路径的压缩、解压与可视化

《使用Python实现矢量路径的压缩、解压与可视化》在图形设计和Web开发中,矢量路径数据的高效存储与传输至关重要,本文将通过一个Python示例,展示如何将复杂的矢量路径命令序列压缩为JSON格式,... 目录引言核心功能概述1. 路径命令解析2. 路径数据压缩3. 路径数据解压4. 可视化代码实现详解1

Pandas透视表(Pivot Table)的具体使用

《Pandas透视表(PivotTable)的具体使用》透视表用于在数据分析和处理过程中进行数据重塑和汇总,本文就来介绍一下Pandas透视表(PivotTable)的具体使用,感兴趣的可以了解一下... 目录前言什么是透视表?使用步骤1. 引入必要的库2. 读取数据3. 创建透视表4. 查看透视表总结前言

Python 交互式可视化的利器Bokeh的使用

《Python交互式可视化的利器Bokeh的使用》Bokeh是一个专注于Web端交互式数据可视化的Python库,本文主要介绍了Python交互式可视化的利器Bokeh的使用,具有一定的参考价值,感... 目录1. Bokeh 简介1.1 为什么选择 Bokeh1.2 安装与环境配置2. Bokeh 基础2

Android使用ImageView.ScaleType实现图片的缩放与裁剪功能

《Android使用ImageView.ScaleType实现图片的缩放与裁剪功能》ImageView是最常用的控件之一,它用于展示各种类型的图片,为了能够根据需求调整图片的显示效果,Android提... 目录什么是 ImageView.ScaleType?FIT_XYFIT_STARTFIT_CENTE

Java学习手册之Filter和Listener使用方法

《Java学习手册之Filter和Listener使用方法》:本文主要介绍Java学习手册之Filter和Listener使用方法的相关资料,Filter是一种拦截器,可以在请求到达Servl... 目录一、Filter(过滤器)1. Filter 的工作原理2. Filter 的配置与使用二、Listen

Pandas使用AdaBoost进行分类的实现

《Pandas使用AdaBoost进行分类的实现》Pandas和AdaBoost分类算法,可以高效地进行数据预处理和分类任务,本文主要介绍了Pandas使用AdaBoost进行分类的实现,具有一定的参... 目录什么是 AdaBoost?使用 AdaBoost 的步骤安装必要的库步骤一:数据准备步骤二:模型

使用Pandas进行均值填充的实现

《使用Pandas进行均值填充的实现》缺失数据(NaN值)是一个常见的问题,我们可以通过多种方法来处理缺失数据,其中一种常用的方法是均值填充,本文主要介绍了使用Pandas进行均值填充的实现,感兴趣的... 目录什么是均值填充?为什么选择均值填充?均值填充的步骤实际代码示例总结在数据分析和处理过程中,缺失数