ubuntu 20.04 安装相关


安装Python2 并且 配置pip2

ubuntu 20.04默认是python3 要安装python2

sudo apt-get install python2.7
curl https://bootstrap.pypa.io/2.7/get-pip.py --output get-pip2.7.py
sudo python2 get-pip2.7.py (全局安装需要加sudo, 只为当前用户安装则可以省略)
pip2 --version (查看版本)

配置pip源(可自行更换地址),创建文件如下

~/.pip/pip.conf

[global]
index-url = http://pypi.douban.com/simple
[install]
trusted-host=pypi.douban.com


安装微信等windows工具,可以使用deepin和crossover(收费,或者使用国产优麒麟操作系统)

安装 deepin-wine

推荐gitee星外之神,下载链接为:

安装微信

从下面链接下载微信 deepin.com.wechat_2.6.2.31deepin0_i386.deb然后直接安装
http://packages.deepin.com/deepin/pool/non-free/d/deepin.com.wechat/

微信无法发送图片

sudo apt install libjpeg62:i386

如果打开应用出现乱码

sudo gedit /opt/deepinwine/tools/run.sh
WINE_CMD="deepin-wine"
改为WINE_CMD="LC_ALL=zh_CN.UTF-8 deepin-wine"

下载 simsun.ttc字体

https://github.com/sonatype/maven-guide-zh/blob/master/content-zh/src/main/resources/fonts/simsun.ttc

创建如下文件

REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"Arial"="simsun"
"Arial CE,238"="simsun"
"Arial CYR,204"="simsun"
"Arial Greek,161"="simsun"
"Arial TUR,162"="simsun"
"Courier New"="simsun"
"Courier New CE,238"="simsun"
"Courier New CYR,204"="simsun"
"Courier New Greek,161"="simsun"
"Courier New TUR,162"="simsun"
"FixedSys"="simsun"
"Helv"="simsun"
"Helvetica"="simsun"
"MS Sans Serif"="simsun"
"MS Shell Dlg"="simsun"
"MS Shell Dlg 2"="simsun"
"System"="simsun"
"Tahoma"="simsun"
"Times"="simsun"
"Times New Roman CE,238"="simsun"
"Times New Roman CYR,204"="simsun"
"Times New Roman Greek,161"="simsun"
"Times New Roman TUR,162"="simsun"
"Tms Rmn"="simsun"

然后执行
deepin-wine regedit zh.reg
即可



安装open-vm-tools(vmware 虚拟机) :

https://docs.vmware.com/cn/VMware-Tools/11.0.0/com.vmware.vsphere.vmwaretools.doc/GUID-C48E1F14-240D-4DD1-8D4C-25B6EBE4BB0F.html

ubuntu 20.04新版更换apt源 :

https://zhuanlan.zhihu.com/p/142014944


posted @ 2021-01-11 03:14  赝·goodfellow  阅读(134)  评论(0编辑  收藏  举报