ubuntu安装企业微信

最近公司由于业务转移,开始启用企业微信了.由于在ubuntu系统下,之前用的钉钉网页版.苦于企业微信没有网页版,所以找一个企业微信的解决方案.下面就是记录我企业微信的记录方案.

环境

先列出我的环境.

ubuntu 18.04 LTS
winehq-stable 4.0.1
wine-stable 4.0.1

环境安装

在linux中,对这种windows软件支持非常好的就只有wine. 系统只有deepin(深度). 考虑到深度的系统支持非常好. 所以我们得考虑深度的软件能否移植到ubuntu.恰巧github上正好有这样一个项目deepin-wine-ubuntu. 先执行以下语句.

wget -qO- https://raw.githubusercontent.com/wszqkzqk/deepin-wine-ubuntu/master/online_install.sh | bash -e

这样就能直接执行安装了.

软件包

既然有了环境.那我们得找一下软件仓库了. 索性deepin的软件是开源的.所以我们直接拿着软件仓库里面的软件来安装就行了.下面是我找到的软件仓库.

http://packages.deepin.com/deepin/pool/non-free/d/

官方仓库地址.其中常用软件如下

deepin.com.wechat 微信
deepin.com.weixin.work 企业微信
deepin.com.wechat.devtools 微信小程序开发工具

直接下载下来.

http://packages.deepin.com/deepin/pool/non-free/d/deepin.com.weixin.work/deepin.com.weixin.work_2.8.10.2010deepin0_i386.deb

安装

找到仓库过后,就直接安装就可以了.使用如下命令

sudo apt install ./deepin.com.weixin.work_2.8.10.2010deepin0_i386.deb

即可. 安装完成过后,在应用程序搜索wechat就能看到企业微信了.微信一样的原理.

其他问题

如果在安装过后,提示deepin-wine版本不支持,请先卸载对应的deepin-wine.再执行以下的安装命令,提高deepin-wine的版本. 至于网上说采用阿里云的源,我试过了,无效.还是使用官网的源.

#!/bin/bash
mkdir /tmp/deepintemp
cd /tmp/deepintemp
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine_2.18-22~rc0_all.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32_2.18-22~rc0_i386.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-wine32-preloader_2.18-22~rc0_i386.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-helper/deepin-wine-helper_1.2deepin8_i386.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-plugin/deepin-wine-plugin_1.0deepin2_amd64.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-plugin-virtual/deepin-wine-plugin-virtual_1.0deepin3_all.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine-uninstaller/deepin-wine-uninstaller_0.1deepin2_i386.deb
wget http://packages.deepin.com/deepin/pool/non-free/u/udis86/udis86_1.72-2_i386.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-fonts-wine_2.18-22~rc0_all.deb
wget http://packages.deepin.com/deepin/pool/non-free/d/deepin-wine/deepin-libwine_2.18-22~rc0_i386.deb
wget http://packages.deepin.com/deepin/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_amd64.deb
wget http://packages.deepin.com/deepin/pool/main/libj/libjpeg-turbo/libjpeg62-turbo_1.5.1-2_i386.deb

echo '准备添加32位支持'
sudo dpkg --add-architecture i386
echo '添加成功,准备刷新apt缓存信息...'
sudo apt update
echo '即将开始安装...'
sudo dpkg -i *.deb
echo '安装完成,正在自动安装依赖...'
sudo apt install -fy

rm -rf /tmp/deepintemp

最后

原文

你可能感兴趣的:(ubuntu微信企业微信)