Ubuntu安裝微信,解決deepin「版本太低」或NO_PUBKEY問題

在搜索引擎搜索Ubuntu安裝微信,最多的結果是經過deepin安裝php

可是裏面使用的deepin-for-ubuntu 安裝以後微信掃碼會提示版本太低html

直接安裝deepin.com.wechat_2.6.8.65deepin0_i386.deb版的微信,會提示以來的deepin-for-ubuntu版本低linux

解決方式是使用wine直接安裝微信ubuntu

現有的搜索結果不少提示 sudo apt-key add Release.keywindows

後面會報錯相似於Ubuntu:NO_PUBKEY(找不到公鑰)微信

解決方式是參考wine官方文檔https://wiki.winehq.org/Ubuntuionic

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:ui

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

Add the repository:this

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/ 文件夾下面

相關文章
相關標籤/搜索