ubuntu安装wine 和sourceinsght

ubuntu安装wine:

  1、sudo apt-get update

  2、sudo apt-get install wine

  安装完成后会在当前用户目录的的家目录下生成.wine目录,该目录就是wine的挂在目录,进入.wine目录:cd ~/.wine,其中driver_c目录就相当于Windows的C盘,软件将默认安装在该目录。

ubuntu安装souceinsight:

  1、先安装wine;

  2、在网上下载破解版的sourceinsight软件,可以先在windows上安装一下,确认软件可用。

  3、将安装包拷贝到ubuntu下某个目录,解压,进入解压目录,使用sudo wine sourceinsight_setup.exe启动安装,参照windows安装过程,建议安装在c盘的user目录下,因为默认安装目录路劲在Ubuntu下有很多特殊符号,不方便设置启动路劲。本人在~/.wine/driver_c/user下mkdir sourceinsight目录,并将软件安装在这儿。

  4、修改/etc/profile文件,将sourceinsight安装目录添加入PATH环境变量:在etc/profile文件末尾添加export PATH=$PATH:/home/qie/.wine/driver_c/user/sourceinsight/

  5、执行source /etc/profile

  6、安装完成,可以通过wine sourceinsightxxx.exe启动。我安装的4.0版本,使用wine sourceinsight4.0.exe启动。

年纪大了,记忆力下降,以上作为备忘用。

原文地址:https://www.cnblogs.com/llxbl/p/9235842.html