1 使用Wine安裝SourceInsight4
1.1 安裝Wine
$ sudo apt-get install wine
1.2 安裝SourceInsight
下載SourceInsight軟件並安裝。
$ wine ~/Desktop/Si4Setup.exe
按照步驟一步步安裝。安裝過程中,會創建一個目錄/.wine,其中/.wine/drive_c目錄下是window環境。
創建啟動腳步,放在~/.bashrc中。
alias startsi='wine "c:/Program Files (x86)/Source Insight 4.0/sourceinsight
啟動sourceinsight4
$ startsi
2 使用DeepIn-Wine安裝WeChat
這是目前最完美的方案,感謝前人貢獻。
1.1 安裝DeepIn-Wine
$ git clone https://github.com/wszqkzqk/deepin-wine-ubuntu.git
$ cd deepin-wine-ubuntu/
$ ./install.sh
1.2 下載WeChat並安裝
從這里下載WeChat包.
$ sudo dpkg -i deepin.com.wechat_2.6.2.31deepin0_i386.deb
安裝完deepin.com.***.deb之后,/usr/share/applications目錄里會出現相應的.desktop文件,因此會在系統菜單中顯示此應用。因此,可以從系統菜單中啟動WeChat。