安裝deepin
修改軟體源為阿里映象倉庫:
1) 備份原始檔案 sudo cp /etc/apt/sources.list /etc/apt/sources.list,bak
2) 修改檔案 通過sudo gedit /etc/apt/sources.list開啟檔案,將以下內容拷貝至檔案後儲存關閉
deb focal main restricted universe multiverse
deb-src focal main restricted universe multiverse
deb focal-security main restricted universe multiverse
deb-src focal-security main restricted universe multiverse
deb focal-updates main restricted universe multiverse
deb-src focal-updates main restricted universe multiverse
deb focal-proposed main restricted universe multiverse
deb-src focal-proposed main restricted universe multiverse
deb focal-backports main restricted universe multiverse
deb-src focal-backports main restricted universe multiverse
3)執行sudo apt-get update
4)新建乙個臨時資料夾,用來存放deepin-wine的安裝包
mkdir deepin-wine
cd deepin-wine
wget
wget
wget
wget
wget
wget
wget
wget
wget
wget
wget
wget
6)新增32位支援
sudo dpkg --add-architecture i386
sudo
apt-get update
7)開始安裝
sudo dpkg -i *.deb
8)修復依賴關係,若出現錯誤,請執行 sudo apt install -fy --fix-missing
sudo apt install -fy
wget
""wget
""
2)安裝軟體包
sudo dpkg -i deepin.com.wechat_2.6.8.65deepin0_i386.deb
sudo dpkg -i deepin.com.weixin.work_2.8.10.2010deepin0_i386.deb
中還有很多其他可使用軟體,安裝方法同上。
3. 解決中文顯示亂碼的問題 **(
1) 介面亂碼
使用以下命令開啟兩個檔案,將文中的wine_cmd="deepin-wine"替換為wine_cmd="lc_all=zh_cn.utf-8 deepin-wine"並儲存退出
sudo gedit /opt/deepinwine/tools/run.sh
sudo gedit /opt/deepinwine/tools/run_v2.sh
cp msyh.ttc ~/.deepinwine/deepin-wechat/drive_c/windows/fonts
cp msyh.ttc ~/.deepinwine/deepin-wxwork/drive_c/windows/fonts
iii:修改系統登錄檔
gedit ~/.deepinwine/deepin-wechat/system.reg
通過上述命令開啟檔案更改以下兩行內容為:
"ms shell dlg"
="msyh"
"ms shell dlg 2"
="msyh"
iiii:字型註冊
gedit msyh_config.reg
在檔案msyh_config.reg內新增如下內容:
regedit4
[hkey_local_machine\software\microsoft\windows nt\currentversion\fontlink\systemlink]
"lucida sans unicode"
="msyh.ttc"
"microsoft sans serif"
="msyh.ttc"
"ms sans serif"
="msyh.ttc"
"tahoma"
="msyh.ttc"
"tahoma bold"
="msyhbd.ttc"
"msyh"
="msyh.ttc"
"arial"
="msyh.ttc"
"arial black"
="msyh.ttc"
註冊
deepin-wine regedit msyh_config.reg
完成上述內容後,那麼恭喜你,你已經完成所有操作步驟了,開啟程式搜尋框搜尋程式盡情享用吧!!! 在Ubuntu20 04中搭建Python開發環境
ubuntu20.04 已經預設安裝了 python 3.8.2,我們可以不用安裝了 值得注意的是,python 2 已經退出了歷史的舞台,ubuntu20.04也順便 移除了 python 2 pip3 是乙個用來安裝 python 軟體包的工具。sudo apt get install pyth...
在 Ubuntu 20 04 上安裝 golang
wget c o sudo tar xz c usr local 調整環境變數 通過將 go 目錄新增到 path環境變數,系統將會知道在 可以找到 go 可執行檔案。這個可以通過新增下面的行到 etc profile檔案 系統範圍內安裝 或者 home profile檔案 當前使用者安裝 expo...
Ubuntu 20 04安裝使用Rime雙拼輸入法
安裝rime輸入法和雙拼方案 sudo apt install y ibus rime librime data double pinyin 新增使用者配置 vim config ibus rime default.custom.yaml default.custom.yaml配置內容如下 patc...