Ubuntu 20.04 安装 OpenFOAM-v1712
- 
							
							
							
							
@李东岳 谢谢李老师,不过命令报错了
chengan@chengan-MS-7C80:~/OpenFOAM/OpenFOAM-2.4.0$ find src applications -name "*.L" -type f | xargs sed -i -e 's=(YY_FLEX_SUBMINOR_VERSION)=YY_FLEX_MINOR_VERSION < 6 && \1=' sed: -e expression #1, char 61: invalid reference \1 on `s' command's RHS - 
							
							
							
							
 - 
							
							
							
							
@chengan-wang 没关系,主要是其中做foamQuad网格的,这个用得少
 - 
							
							
							
							
@chengan-wang 为什么要用openfoam2.4.?
 - 
	
李 李东岳 被引用 于这个主题 
	
	
 - 
	
李 李东岳 被引用 于这个主题 
	
	
 - 
							
							
							
							
你的
/etc/apt/sources.list文件,添加这个了么:deb http://mirrors.aliyun.com/ubuntu/ trusty main
deb-src http://mirrors.aliyun.com/ubuntu/ trusty universe 
			
 ,还是可以将就着用?




 老师您好,我在之前已经添加过了,依然会发生这种问题