发新话题
打印

【求助】找不到.bash_profile

【求助】找不到.bash_profile

在suse10.1下装intel frotran编译器,按说明需要在一般用户目录下修改.bash_profile文件,但是发现根本没有这个文件。以前在redhat9下面能找到的。这是和linux版本有关吗?在linuxfans上有人说可以自己建一个文件,但不知道可不可行。哪位请指点一下吧。谢谢      

TOP

只要在 /etc/profile 中加入 source /opt/intel/fc/9.0/bin/ifortvars.sh 一行即可。
的确没有/root/.bash_profile文件,这里也不需要。      

TOP

发新话题