fishros / install

一键安装程序,欢迎大家提交代码和小鱼一起一键安装停止浪费生命
https://fishros.github.io/install/
1.37k stars 187 forks source link

安装后无法在Terminal中使用`ros2`或`roscore`启动ros系统。 #39

Closed BonJohnLee closed 5 months ago

BonJohnLee commented 10 months ago

安装后无法在Terminal中使用ros2roscore启动ros系统。 反馈如下

bash: /home/leebj/.bashrc: No such file or directory

检查了自己home目录,自己在删除之前安装的ros版本的时候已经删除了.bashrc文件,但是在安装的时候提示中有:

检测到系统有1个ROS环境,已为你生成启动选择,修改~/.bashrc可关闭

我刚接触ros不久,目前推测是需要自行添加并写入一个.bashrc文件,但是我并不知道应该如何编写,也不知道应该这样会不会影响后期的系统稳定性。

请问应该如何解决?

fishros commented 9 months ago

建议从其他地方拷贝一个 bashrc 文件到相同目录