Centos 8 Linux 安装 微信(WeChat)
筆記本安裝了一個Centos8,想要安裝一個微信.查看網上教程都是Centos7的跟使用的Centos8還是有些差別,所以把安裝的過程記錄下來分享給大家。
使用瀏覽器打開這個網站:
鏈接: https://github.com/geeeeeeeeek/electronic-wechat/releases.
點擊下載名為:linux-x64.tar.gz 的微信安裝包。
也可使用以下命令下載到本地:
wget https://github.com/geeeeeeeeek/electronic-wechat/releases/download/V2.0/linux-x64.tar.gz下載到本地以后進行解壓。
tar -xzvf linux-x64.tar.gz [root@openstack_node1 electronic-wechat-linux-x64]# ll total 113380 -rw-r--r-- 1 501 games 56229 Feb 15 2017 blink_image_resources_200_percent.pak -rw-r--r-- 1 501 games 15 Feb 15 2017 content_resources_200_percent.pak -rw-r--r-- 1 501 games 9869701 Feb 15 2017 content_shell.pak -rwxr-xr-x 1 501 games 69190688 Feb 15 2017 electronic-wechat -rw-r--r-- 1 501 games 10127200 Feb 15 2017 icudtl.dat -rw-r--r-- 1 501 games 2574840 Feb 15 2017 libffmpeg.so -rwxr-xr-x 1 501 games 21491192 Feb 15 2017 libnode.so -rw-r--r-- 1 501 games 1060 Feb 15 2017 LICENSE -rw-r--r-- 1 501 games 1350485 Feb 15 2017 LICENSES.chromium.html drwxr-xr-x 2 501 games 4096 Aug 8 17:31 locales -rw-r--r-- 1 501 games 367250 Feb 15 2017 natives_blob.bin drwxr-xr-x 2 501 games 43 Aug 8 17:31 resources -rw-r--r-- 1 501 games 816252 Feb 15 2017 snapshot_blob.bin -rw-r--r-- 1 501 games 159764 Feb 15 2017 ui_resources_200_percent.pak -rw-r--r-- 1 501 games 7 Feb 15 2017 version -rw-r--r-- 1 501 games 60296 Feb 15 2017 views_resources_200_percent.pak解壓出來后直接運行程序:electronic-wechat,出現以下報錯。
[root@openstack_node1 electronic-wechat-linux-x64]# ./electronic-wechat ./electronic-wechat: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory這里需要安裝libXScrnSaver這個組件才能正常運行。
使用 sudo yum -y install libXScrnSaver 命令進行安裝。
安裝完成后微信正常運行,此時微信安裝就已經完成了,最后還需要創建一個快捷方式。
[root@openstack_node1 electronic-wechat-linux-x64]# ./electronic-wechat在 /usr/share/applications/目錄下創建一個名為 electronic-wechat.desktop 的快捷方式文件。
添加以下內容到該文件中。
其中Exec=/home/hanhan/Downloads/electronic-wechat-linux-x64/electronic-wechat,Exec后面的目錄是我們解壓后微信程序"electronic-wechat" 所在的路經,大家根據字節解壓的文件的路徑進行更改。
之后在usr/share/applications/路徑下搜索electronic-wechat,便可以看到一個快捷方式的圖標。
替換快捷方式圖標需要在root賬戶下進行操作。
我們將這個圖標替換成微信的圖標,微信圖標在網上隨便下載一個png格式的就可以。
這是我的微信圖標下載鏈接: https://img.sj33.cn/uploads/allimg/201402/7-140223103130591.png
還是剛剛的快捷方式,右鍵點擊選擇“屬性/Properties”在彈出的窗口點擊Name左邊的圖標再選擇已經下載好的圖標,最后點擊"open"就完成了圖標的替換。
總結
以上是生活随笔為你收集整理的Centos 8 Linux 安装 微信(WeChat)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【设计模式 01】简单工厂模式(Simp
- 下一篇: 帮助文件html打不开,chm帮助文件打