Ubuntu安裝微信,解決deepin“版本過低”或NO_PUBKEY問題


在搜索引擎搜索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/ 文件夾下面


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM