Installing Solaris Studio 12.2 in Ubuntu

谁说胖子不能爱 提交于 2019-12-25 01:25:47

问题


I need help with installing Solaris Studio 12.2 on Ubuntu.

I looked at this question already and it didn't help: Installing Solaris Studio 12.2?

My problem with the solutions provided in that question is that I do not have a script to run when I extract the file I downloaded: SolarisStudio12.2-linux-x86-tar-ML.tar.bz2

To extract it I am just using the Ubuntu GUI, archive manager. Could this be my problem?

Also I already posted this on askUbuntu: Got no response.


回答1:


There is no installation script to run with the tarfile distribution. You just extract the archive somewhere and that's it, Solaris Studio is installed and ready to use. You just need to add its bin directory to your PATH.

I'm not familiar with Ubuntu GUI archive manager so here is how I proceed:

$ bunzip2 < SolarisStudio12.2-linux-x86-tar-ML.tar.bz2 | tar xf -
$ PATH=$PWD/SolarisStudio12.2-linux-x86-tar-ML/solstudio12.2/bin cc -V           
cc: Sun C 5.11 Linux_i386 2010/08/13
usage: cc [ options ] files.  Use 'cc -flags' for details


来源:https://stackoverflow.com/questions/5541309/installing-solaris-studio-12-2-in-ubuntu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!