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星外之神,下载链接为:
- https://gitee.com/wszqkzqk/deepin-wine-for-ubuntu.git
解压后进入目录】 - ./install.sh
安装微信
从下面链接下载微信 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字体
创建如下文件
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 虚拟机) :
ubuntu 20.04新版更换apt源 :
https://zhuanlan.zhihu.com/p/142014944
希望能一辈子学习,希望能学习一辈子。
(^ _ ^)