在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

相关文章

C#使用Spire.XLS快速生成多表格Excel文件

《C#使用Spire.XLS快速生成多表格Excel文件》在日常开发中,我们经常需要将业务数据导出为结构清晰的Excel文件,本文将手把手教你使用Spire.XLS这个强大的.NET组件,只需几行C#... 目录一、Spire.XLS核心优势清单1.1 性能碾压:从3秒到0.5秒的质变1.2 批量操作的优雅

Kotlin 枚举类使用举例

《Kotlin枚举类使用举例》枚举类(EnumClasses)是Kotlin中用于定义固定集合值的特殊类,它表示一组命名的常量,每个枚举常量都是该类的单例实例,接下来通过本文给大家介绍Kotl... 目录一、编程枚举类核心概念二、基础语法与特性1. 基本定义2. 带参数的枚举3. 实现接口4. 内置属性三、

Java List 使用举例(从入门到精通)

《JavaList使用举例(从入门到精通)》本文系统讲解JavaList,涵盖基础概念、核心特性、常用实现(如ArrayList、LinkedList)及性能对比,介绍创建、操作、遍历方法,结合实... 目录一、List 基础概念1.1 什么是 List?1.2 List 的核心特性1.3 List 家族成

Go语言使用Gin处理路由参数和查询参数

《Go语言使用Gin处理路由参数和查询参数》在WebAPI开发中,处理路由参数(PathParameter)和查询参数(QueryParameter)是非常常见的需求,下面我们就来看看Go语言... 目录一、路由参数 vs 查询参数二、Gin 获取路由参数和查询参数三、示例代码四、运行与测试1. 测试编程路

Python使用python-pptx自动化操作和生成PPT

《Python使用python-pptx自动化操作和生成PPT》这篇文章主要为大家详细介绍了如何使用python-pptx库实现PPT自动化,并提供实用的代码示例和应用场景,感兴趣的小伙伴可以跟随小编... 目录使用python-pptx操作PPT文档安装python-pptx基础概念创建新的PPT文档查看

C#和Unity中的中介者模式使用方式

《C#和Unity中的中介者模式使用方式》中介者模式通过中介者封装对象交互,降低耦合度,集中控制逻辑,适用于复杂系统组件交互场景,C#中可用事件、委托或MediatR实现,提升可维护性与灵活性... 目录C#中的中介者模式详解一、中介者模式的基本概念1. 定义2. 组成要素3. 模式结构二、中介者模式的特点

MySQL中优化CPU使用的详细指南

《MySQL中优化CPU使用的详细指南》优化MySQL的CPU使用可以显著提高数据库的性能和响应时间,本文为大家整理了一些优化CPU使用的方法,大家可以根据需要进行选择... 目录一、优化查询和索引1.1 优化查询语句1.2 创建和优化索引1.3 避免全表扫描二、调整mysql配置参数2.1 调整线程数2.

C#中SortedSet的具体使用

《C#中SortedSet的具体使用》SortedSet是.NETFramework4.0引入的一个泛型集合类,它实现了一个自动排序的集合,内部使用红黑树数据结构来维护元素的有序性,下面就来介绍一下如... 目录基础概念主要特性创建和初始化基本创建方式自定义比较器基本操作添加和删除元素查询操作范围查询集合运

C# Opacity 不透明度的具体使用

《C#Opacity不透明度的具体使用》本文主要介绍了C#Opacity不透明度的具体使用,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一... 目录WinFormsOpacity以下是一些使用Opacity属性的示例:设置窗体的透明度:设置按钮的透

Go语言使用net/http构建一个RESTful API的示例代码

《Go语言使用net/http构建一个RESTfulAPI的示例代码》Go的标准库net/http提供了构建Web服务所需的强大功能,虽然众多第三方框架(如Gin、Echo)已经封装了很多功能,但... 目录引言一、什么是 RESTful API?二、实战目标:用户信息管理 API三、代码实现1. 用户数据