查看: 99|回覆: 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:qiongdian@foxmail.com

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

在本版发帖返回顶部