查看: 151|回复: 0

Ubuntu安装微信,解决deepin“版本过低”或NO_PUBKEY问题

[复制链接]

4

主题

0

回帖

0

积分

热心网友

金币
0
阅读权限
220
精华
0
威望
0
贡献
0
在线时间
0 小时
注册时间
2012-6-15
发表于 2019-9-26 13:41:00 | 显示全部楼层 |阅读模式

在搜索引擎搜索Ubuntu安装微信,最多的结果是通过deepin安装

但是里面使用的deepin-for-ubuntu 安装之后微信扫码会提示版本过低

直接安装deepin.com.wechat_2.6.8.65deepin0_i386.deb版的微信,会提示以来的deepin-for-ubuntu版本低

解决方式是使用wine直接安装微信

现有的搜索结果很多提示 sudo apt-key add Release.key

后面会报错类似于Ubuntu:NO_PUBKEY(找不到公钥)

解决方式是参考wine官方文档https://wiki.winehq.org/Ubuntu

If your system is 64 bit, enable 32 bit architecture (if you haven't already):

sudo dpkg --add-architecture i386 

Download and add the repository key:

wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key

Add the repository:

For this version:Use this command:
Ubuntu 19.04 sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ disco main'
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'

Update packages:

sudo apt update

Then install one of the following 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 complains about missing dependencies, install them, then repeat the last two steps (update and install).

其中和大部分中文搜索结果不同的是

wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key

之后下载windows 安装文件,右键打开方式使用wine即可正常安装使用

然后有可能遇到一些问题,比如linux下使用wine安装微信后,发现聊天输入框无法显示光标与文字。参考https://www.cnblogs.com/makefile/p/6079451.html

但这里没有提到替换函数库到drive_c的位置,经过搜索,参考https://ubuntuforums.org/showthread.php?t=989924

位置应该是在 ~/.wine/ 文件夹下面



来源:https://www.cnblogs.com/browncrane/p/11590418.html
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

圆梦公社,专注于为全球华人提供纯粹技术交流的地方,请勿发布任何政治及违法的言论。如有相关侵权、举报、投诉及建议等,请发 E-mail:dzh188@hotmail.com

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部