ubuntu 安装wine和sourceinsight,及souceinsight导入源代码
1. 安裝wine:https://tipsonubuntu.com/2019/02/01/install-wine-4-0-ubuntu-18-10-16-04-14-04/
1)enable 32 bit architecture:
sudo dpkg --add-architecture i386
2)download and add the repository key
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
3)add the repository, for ubuntu 18.04
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/bionicmain'
For other releases, replacebionicin the code with:
cosmicfor Ubuntu 18.10.
xenialfor Ubuntu 16.04, and Linux Mint 18.x.
trustyfor Ubuntu 14.04.
4)check system package cache and install wine
sudo apt-get update
sudo apt-get install --install-recommends winehq-stable
5) generate configuration
winecfg
6) uninstall,卸載的時候用
sudo apt-get remove wine-stable winehq-stable
dpkg -l |grep -i wine 查看安裝的wine相關的包
2. 安裝sourceinsight,破解:https://www.jianshu.com/p/a4735cf9f334
1)官網下載安裝包,右鍵setup.exe文件,用wine打開,安裝。
2)下載wxHexEditor,16進制編輯器
sudo apt-get install wxhexeditor
wxHexEditor sourceinsight4.exe
搜索c800 0000 742a 83bc 2408,修改第二段中的74為eb。
3)修改si4.lic中的Expiration時間
cd .wine/drive_c
find . -name "si4.lic"
去指定位置修改。
3. sourceinsight導入源代碼:https://blog.csdn.net/MyLinChi/article/details/78459373
在./.wine/drive_c里新建一個mydata文件夾,存放sourceinsight項目,并將源代碼復制到該文件夾中;
打開sourceinsight,new一個新的project,新建完成后,點擊project->Add and Remove Project Files,選擇源文件的文件夾(./.wine/drive_c/mydata/xxx)進行導入。
總結
以上是生活随笔為你收集整理的ubuntu 安装wine和sourceinsight,及souceinsight导入源代码的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: const in c and cpp
- 下一篇: 分期乐大额借款靠谱吗?好不好用?