蓝桥ROS中使用fishros一键安装

2022-08-10 15:12:33 浏览数 (1)

之前,提供如下方式解决更新问题:

ROS域名解析问题记录(蓝桥云课ros.asc)


口碑很赞的fishros一键安装是否可以呢?

试一试看:

先调整一下分辨率,如下: 


fishros:

mkdir -p /tmp/fishinstall/tools wget http://fishros.com/install/install1s/install.py -O /tmp/fishinstall/install.py 2>>/dev/null  source /etc/profile sudo rm /var/cache/apt/archives/lock sudo rm /var/lib/dpkg/lock sudo rm /var/lib/dpkg/lock-frontend sudo apt install python3-distro python3-yaml  -y if [ $UID -eq 0 ];then     apt-get install sudo  fi sudo python3 /tmp/fishinstall/install.py sudo rm -rf /tmp/fishinstall/ sudo rm fishros . ~/.bashrc 


试试看:

出错啦!

加权限:

chmod 777 fishros

然后再执行:

就一切顺利啦。

试一试安装如何,普通模式:

很顺利!

没有遇到任何问题,更新到:

ros-kinetic-ros-base_1.3.2-0xenial-20210503-151705-0800_amd64.deb 


试一试rosdep!

遇到了小问题…… 


试一试docker,安装最新版本ros2:



乱码记录:

代码语言:javascript复制
[6]:u4e00u952eu5b89u88c5:nodejs
[7]:u4e00u952eu5b89u88c5:VsCodeu5f00u53d1u5de5u5177
[8]:u4e00u952eu5b89u88c5:Docker
[9]:u4e00u952eu5b89u88c5:Cartographer(u5185u6d4bu7248v0.1)
[10]:u4e00u952eu5b89u88c5:u5faeu4fe1(u53efu4ee5u5728Linuxu4e0au4f7fu7528u7684u5faeu4fe1)
[11]:u4e00u952eu5b89u88c5:ROS Docker(u652fu6301u6240u6709u7248u672cROS/ROS2)
[77]:u6d4bu8bd5u6a21u5f0f:u8fd0u884cu81eau5b9au4e49u5de5u5177u6d4bu8bd5
u8bf7u8f93u5165[]u5185u7684u6570u5b57u4ee5u9009u62e9:0
u662fu89c9u5f97u6ca1u6709u5408u80c3u53e3u7684u83dcu5417uff1fu90a3u5febu8054u7cfbu7684u5c0fu9c7cu589eu52a0u83dcu5355u5427~
u6b22u8fceu52a0u5165u673au5668u4ebau5b66u4e60u4ea4u6d41QQu7fa4uff1a139707339(u5165u7fa4u53e3u4ee4uff1au4e00u952eu5b89u88c5)
u5982u5728u4f7fu7528u8fc7u7a0bu4e2du9047u5230u95eeu9898uff0cu8bf7u6253u5f00uff1ahttps://fishros.org.cn/forum u8fdbu884cu53cdu9988
shiyanlou:~/ $ ./fishros                                                                                                                                     [16:39:56]
zsh: u6ca1u6709u90a3u4e2au6587u4ef6u6216u76eeu5f55: ./fishros
shiyanlou:~/ $ ls                                                                                                                                            [16:41:01]
anaconda3  Code  Desktop
shiyanlou:~/ $ wget http://fishros.com/install -O fishros && . fishros                                                                                       [16:41:08]
--2022-07-07 16:41:19--  http://fishros.com/install
u6b63u5728u89e3u6790u4e3bu673a fishros.com (fishros.com)... 139.9.131.171
u6b63u5728u8fdeu63a5 fishros.com (fishros.com)|139.9.131.171|:80... u5df2u8fdeu63a5u3002
u5df2u53d1u51fa HTTP u8bf7u6c42uff0cu6b63u5728u7b49u5f85u56deu5e94... 301 Moved Permanently
u4f4du7f6euff1ahttp://fishros.com/install/ [u8ddfu968fu81f3u65b0u7684 URL]
--2022-07-07 16:41:19--  http://fishros.com/install/
u518du6b21u4f7fu7528u5b58u5728u7684u5230 fishros.com:80 u7684u8fdeu63a5u3002
u5df2u53d1u51fa HTTP u8bf7u6c42uff0cu6b63u5728u7b49u5f85u56deu5e94... 200 OK
u957fu5ea6uff1a 543 [application/octet-stream]
u6b63u5728u4fddu5b58u81f3: u201cfishrosu201d

fishros                                   100%[=====================================================================================>]     543  --.-KB/s    in 0s      

2022-07-07 16:41:19 (82.9 MB/s) - u5df2u4fddu5b58 u201cfishrosu201d [543/543])

.: u6ca1u6709u90a3u4e2au6587u4ef6u6216u76eeu5f55: fishros
shiyanlou:~/ $ chmod 777 fishros                                                                                                                             [16:41:19]
shiyanlou:~/ $ ./fishros                                                                                                                                     [16:41:24]
./fishros: 3: ./fishros: source: not found
rm: u65e0u6cd5u5220u9664'/var/cache/apt/archives/lock': u6ca1u6709u90a3u4e2au6587u4ef6u6216u76eeu5f55
rm: u65e0u6cd5u5220u9664'/var/lib/dpkg/lock-frontend': u6ca1u6709u90a3u4e2au6587u4ef6u6216u76eeu5f55
u6b63u5728u8bfbu53d6u8f6fu4ef6u5305u5217u8868... u5b8cu6210
u6b63u5728u5206u6790u8f6fu4ef6u5305u7684u4f9du8d56u5173u7cfbu6811       
u6b63u5728u8bfbu53d6u72b6u6001u4fe1u606f... u5b8cu6210       
u6ca1u6709u53efu7528u7684u8f6fu4ef6u5305 python3-distrouff0cu4f46u662fu5b83u88abu5176u5b83u7684u8f6fu4ef6u5305u5f15u7528u4e86u3002
u8fd9u53efu80fdu610fu5473u7740u8fd9u4e2au7f3au5931u7684u8f6fu4ef6u5305u53efu80fdu5df2u88abu5e9fu5f03uff0c
u6216u8005u53eau80fdu5728u5176u4ed6u53d1u5e03u6e90u4e2du627eu5230

E: u8f6fu4ef6u5305 python3-distro u6ca1u6709u53efu5b89u88c5u5019u9009
./fishros: 9: [: -eq: unexpected operator
--2022-07-07 16:41:28--  http://fishros.com/install/install1s/tools/base.py
u6b63u5728u89e3u6790u4e3bu673a fishros.com (fishros.com)... 139.9.131.171
u6b63u5728u8fdeu63a5 fishros.com (fishros.com)|139.9.131.171|:80... u5df2u8fdeu63a5u3002
u5df2u53d1u51fa HTTP u8bf7u6c42uff0cu6b63u5728u7b49u5f85u56deu5e94... 200 OK
u957fu5ea6uff1a 41998 (41K) [application/octet-stream]
u6b63u5728u4fddu5b58u81f3: u201c/tmp/fishinstall/tools/base.pyu201d

/tmp/fishinstall/tools/base.py            100%[=====================================================================================>]  41.01K  --.-KB/s    in 0.03s   

2022-07-07 16:41:28 (1.34 MB/s) - u5df2u4fddu5b58 u201c/tmp/fishinstall/tools/base.pyu201d [41998/41998])

Run CMD Task:[dpkg --print-architecture]
[-]Result:success                           

u57fau7840u68c0u67e5u901au8fc7...
===============================================================================
======u6b22u8fceu4f7fu7528u4e00u952eu5b89u88c5u5de5u5177uff0cu4ebau751fu82e6u77eduff0cu4e09u7701u543eu8eabuff0cu7701u65f6u7701u529bu7701u5fc3!=======
======u4e00u952eu5b89u88c5u5df2u5f00u6e90uff0cu8bf7u653eu5fc3u4f7fu7528uff1ahttps://github.com/fishros/install=======
===============================================================================
    

                        .-~~~~~~~~~-._       _.-~~~~~~~~~-.
                    __.'              ~.   .~              `.__
                .'//     u5f00u5377u6709u76ca        ./     u4e66u5c71u6709u8def      `.
                .'// u53efu4ee5u591au770bu770bu5c0fu9c7cu7684u6587u7ae0   |    u5173u6ce8u516cu4f17u53f7u9c7cu9999ROS   `.
            .'// .-~"~~~~-._     |     _,-~~~~"~-. `.
            .'//.-"                 `-.  |  .-'                 "-.`.
        .'//______.============-..    | /   ..-============.______`.
        .'______________________________|/______________________________`
        ----------------------------------------------------------------------
RUN Choose Task:[u8bf7u8f93u5165u62ecu53f7u5185u7684u6570u5b57]
---u4f17u591au5de5u5177uff0cu7b49u541bu6765u7528---
[0]:quit
[1]:u4e00u952eu5b89u88c5:ROS(u652fu6301ROSu548cROS2,u6811u8393u6d3eJetson)
[2]:u4e00u952eu5b89u88c5:githubu684cu9762u7248(u5c0fu9c7cu5e38u7528u7684githubu5ba2u6237u7aef)
[3]:u4e00u952eu914du7f6e:rosdep(u5c0fu9c7cu7684rosdepc,u53c8u5febu53c8u597du7528)
[4]:u4e00u952eu914du7f6e:ROSu73afu5883(u5febu901fu66f4u65b0ROSu73afu5883u8bbeu7f6e,u81eau52a8u751fu6210u73afu5883u9009u62e9)
[5]:u4e00u952eu914du7f6e:u7cfbu7edfu6e90(u66f4u6362u7cfbu7edfu6e90,u652fu6301u5168u7248u672cUbuntuu7cfbu7edf)
[6]:u4e00u952eu5b89u88c5:nodejs
[7]:u4e00u952eu5b89u88c5:VsCodeu5f00u53d1u5de5u5177
[8]:u4e00u952eu5b89u88c5:Docker
[9]:u4e00u952eu5b89u88c5:Cartographer(u5185u6d4bu7248v0.1)
[10]:u4e00u952eu5b89u88c5:u5faeu4fe1(u53efu4ee5u5728Linuxu4e0au4f7fu7528u7684u5faeu4fe1)
[11]:u4e00u952eu5b89u88c5:ROS Docker(u652fu6301u6240u6709u7248u672cROS/ROS2)
[77]:u6d4bu8bd5u6a21u5f0f:u8fd0u884cu81eau5b9au4e49u5de5u5177u6d4bu8bd5
u8bf7u8f93u5165[]u5185u7684u6570u5b57u4ee5u9009u62e9:1
--2022-07-07 16:41:35--  http://fishros.com/install/install1s/tools/tool_install_ros.py
u6b63u5728u89e3u6790u4e3bu673a fishros.com (fishros.com)... 139.9.131.171
u6b63u5728u8fdeu63a5 fishros.com (fishros.com)|139.9.131.171|:80... u5df2u8fdeu63a5u3002
u5df2u53d1u51fa HTTP u8bf7u6c42uff0cu6b63u5728u7b49u5f85u56deu5e94... 200 OK
u957fu5ea6uff1a 17822 (17K) [application/octet-stream]
u6b63u5728u4fddu5b58u81f3: u201c/tmp/fishinstall/tools/tool_install_ros.pyu201d

/tmp/fishinstall/tools/tool_install_ros.p 100%[=====================================================================================>]  17.40K  --.-KB/s    in 0.03s   

2022-07-07 16:41:35 (649 KB/s) - u5df2u4fddu5b58 u201c/tmp/fishinstall/tools/tool_install_ros.pyu201d [17822/17822])

--2022-07-07 16:41:35--  http://fishros.com/install/install1s/tools/tool_config_rosenv.py
u6b63u5728u89e3u6790u4e3bu673a fishros.com (fishros.com)... 139.9.131.171
u6b63u5728u8fdeu63a5 fishros.com (fishros.com)|139.9.131.171|:80... u5df2u8fdeu63a5u3002
u5df2u53d1u51fa HTTP u8bf7u6c42uff0cu6b63u5728u7b49u5f85u56deu5e94... 200 OK
u957fu5ea6uff1a 2457 (2.4K) [application/octet-stream]
u6b63u5728u4fddu5b58u81f3: u201c/tmp/fishinstall/tools/tool_config_rosenv.pyu201d

/tmp/fishinstall/tools/tool_config_rosenv 100%[=====================================================================================>]   2.40K  --.-KB/s    in 0s      

2022-07-07 16:41:35 (279 MB/s) - u5df2u4fddu5b58 u201c/tmp/fishinstall/tools/tool_config_rosenv.pyu201d [2457/2457])

--2022-07-07 16:41:35--  http://fishros.com/install/install1s/tools/tool_config_system_source.py
u6b63u5728u89e3u6790u4e3bu673a fishros.com (fishros.com)... 139.9.131.171
u6b63u5728u8fdeu63a5 fishros.com (fishros.com)|139.9.131.171|:80... u5df2u8fdeu63a5u3002
u5df2u53d1u51fa HTTP u8bf7u6c42uff0cu6b63u5728u7b49u5f85u56deu5e94... 200 OK
u957fu5ea6uff1a 7511 (7.3K) [application/octet-stream]
u6b63u5728u4fddu5b58u81f3: u201c/tmp/fishinstall/tools/tool_config_system_source.pyu201d

/tmp/fishinstall/tools/tool_config_system 100%[=====================================================================================>]   7.33K  --.-KB/s    in 0s      

2022-07-07 16:41:35 (583 MB/s) - u5df2u4fddu5b58 u201c/tmp/fishinstall/tools/tool_config_system_source.pyu201d [7511/7511])

u6b22u8fceu4f7fu7528u4e00u952eu5b89u88c5ROSu548cROS2,u652fu6301u6811u8393u6d3eJetson,u672cu5de5u5177u7531u4f5cu8005u5c0fu9c7cu63d0u4f9b
u6b22u8fceu4f7fu7528ROSu5f00u7bb1u5b50u5de5u5177uff0cu672cu5de5u5177u7531[u9c7cu9999ROS]u5c0fu9c7cu8d21u732e..
u5c0fu9c7c:u68c0u6d4bu5f53u524du7cfbu7edfubuntu16.04:xenial u652fu6301u4e00u952eu5b89u88c5ROS
=========u63a5u4e0bu6765u8fd9u4e00u6b65u5f88u91cdu8981uff0cu5982u679cu4e0du77e5u9053u600eu4e48u9009u8bf7u9009u62e91========
RUN Choose Task:[u8bf7u8f93u5165u62ecu53f7u5185u7684u6570u5b57]
u9996u6b21u5b89u88c5u4e00u5b9au8981u6362u6e90u5e76u6e05u7406u4e09u65b9u6e90uff0cu6362u6e90!!!u7cfbu7edfu9ed8u8ba4u56fdu5916u6e90u5bb9u6613u5931u8d25!!
[0]:quit
[1]:u66f4u6362u7cfbu7edfu6e90u518du7ee7u7eedu5b89u88c5
[2]:u4e0du66f4u6362u7ee7u7eedu5b89u88c5
u8bf7u8f93u5165[]u5185u7684u6570u5b57u4ee5u9009u62e9:2
Run CMD Task:[sudo apt update]
[-]Result:success                            --upgradableu2019 u6765u67e5u770bu5b83u4eecu3002B]rse amd64 Packages [984 kB]

Run CMD Task:[sudo apt-cache search curl ]
[-]Result:success                           age retrieves data from url-format files such as http://, ftp://, package:// file://, etc., and loads the data into memory..

Run CMD Task:[sudo apt install curl -y]
[-]Result:success                           u89e6u53d1u5668 ... ... (7.47.0-1ubuntu2.8) u4e0a ...gnutls amd64 7.47.0-1ubuntu2.19 [189 kB]

Run CMD Task:[sudo apt-cache search gnupg2 ]
[-]Result:success                           eplacement (new v2.x)

Run CMD Task:[sudo apt install gnupg2 -y]
[-]Result:success                           u5378u8f7d 0 u4e2au8f6fu4ef6u5305uff0cu6709 421 u4e2au8f6fu4ef6u5305u672au88abu5347u7ea7u3002

Run CMD Task:[curl -s https://gitee.com/ohhuo/rosdistro/raw/master/ros.asc | sudo apt-key add -]
[-]Result:success                           

Run CMD Task:[dpkg --print-architecture]
[-]Result:success                           

u6839u636eu60a8u7684u7cfbu7edfuff0cu4e3au60a8u63a8u8350u5b89u88c5u6e90u4e3a['http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/', 'http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/']
Run CMD Task:[sudo apt update]
[]u83b7u53d6:13 http://packages.ros.org/ros2/ubuntu xenial/main amd64 Packages [131 kB]es [854 kB]
[-]Result:success                            --upgradableu2019 u6765u67e5u770bu5b83u4eecu3002es [131 kB]

u606du559cuff0cu6210u529fu6dfbu52a0ROSu6e90uff0cu63a5u4e0bu6765u53efu4ee5u4f7fu7528aptu5b89u88c5ROSu6216u8005u4f7fu7528[1]u4e00u952eu5b89u88c5ROSu5b89u88c5uff01
Run CMD Task:[sudo apt-cache search ros-base ]
[-]Result:success                           ends 'ros_core' and includes other basic functionalities like tf2 and urdf.ynamic reconfigure, nodelets, and pluginlib.b.

RUN Choose Task:[u8bf7u8f93u5165u62ecu53f7u5185u7684u6570u5b57]
u8bf7u9009u62e9u4f60u8981u5b89u88c5u7684ROSu7248u672cu540du79f0(u8bf7u6ce8u610fROS1u548cROS2u533au522b):
[0]:quit
[1]:lunar(ROS2)
[2]:kinetic(ROS1)
[3]:ardent(ROS2)
u8bf7u8f93u5165[]u5185u7684u6570u5b57u4ee5u9009u62e9:u8bf7u8f93u5165[]u5185u7684u6570u5b57u4ee5u9009u62e9:2
RUN Choose Task:[u8bf7u8f93u5165u62ecu53f7u5185u7684u6570u5b57]
u8bf7u9009u62e9u5b89u88c5u7684u5177u4f53u7248u672c(u5982u679cu4e0du77e5u9053u600eu4e48u9009,u8bf7u90091u684cu9762u7248):
[0]:quit
[1]:kinetic(ROS1)u684cu9762u7248
[2]:kinetic(ROS1)u57fau7840u7248(u5c0f)
u8bf7u8f93u5165[]u5185u7684u6570u5b57u4ee5u9009u62e9:2
Run CMD Task:[sudo apt install  ros-kinetic-ros-base -y]
u6b63u5728u8bfbu53d6u8f6fu4ef6u5305u5217u8868... u5b8cu6210
u6b63u5728u5206u6790u8f6fu4ef6u5305u7684u4f9du8d56u5173u7cfbu6811       
u6b63u5728u8bfbu53d6u72b6u6001u4fe1u606f... u5b8cu6210       
u4e0bu5217u8f6fu4ef6u5305u5c06u88abu5347u7ea7uff1a
  ros-kinetic-ros-base
u5347u7ea7u4e86 1 u4e2au8f6fu4ef6u5305uff0cu65b0u5b89u88c5u4e86 0 u4e2au8f6fu4ef6u5305uff0cu8981u5378u8f7d 0 u4e2au8f6fu4ef6u5305uff0cu6709 695 u4e2au8f6fu4ef6u5305u672au88abu5347u7ea7u3002
u9700u8981u4e0bu8f7d 1,882 B u7684u5f52u6863u3002
u89e3u538bu7f29u540eu4f1au6d88u8017 0 B u7684u989du5916u7a7au95f4u3002
u83b7u53d6:1 http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu xenial/main amd64 ros-kinetic-ros-base amd64 1.3.2-0xenial-20210503-151705-0800 [1,882 B]
u5df2u4e0bu8f7d 1,882 Buff0cu8017u65f6 0u79d2 (9,223 B/s)             
(u6b63u5728u8bfbu53d6u6570u636eu5e93 ... u7cfbu7edfu5f53u524du5171u5b89u88c5u6709 185892 u4e2au6587u4ef6u548cu76eeu5f55u3002)
u6b63u51c6u5907u89e3u5305 .../ros-kinetic-ros-base_1.3.2-0xenial-20210503-151705-0800_amd64.deb  ...
u6b63u5728u5c06 ros-kinetic-ros-base (1.3.2-0xenial-20210503-151705-0800) u89e3u5305u5230 (1.3.2-0xenial-20181107-052337-0800) u4e0a ...
u6b63u5728u8bbeu7f6e ros-kinetic-ros-base (1.3.2-0xenial-20210503-151705-0800) ...
Run CMD Task:[sudo apt install  ros-kinetic-ros-base -y]
[-]Result:success                           u5378u8f7d 0 u4e2au8f6fu4ef6u5305uff0cu6709 695 u4e2au8f6fu4ef6u5305u672au88abu5347u7ea7u3002

Run CMD Task:[sudo apt-cache search python-catkin-tools ]
[-]Result:success                           for working with catkin.

Run CMD Task:[sudo apt install python-catkin-tools -y]
[-]Result:success                           ..all.deb  ....nial/main amd64 python-catkin-tools all 0.6.1-1 [314 kB]B]

Run CMD Task:[sudo apt-cache search python-rosdep ]
[-]Result:success                           nager abstraction tool for ROS

Run CMD Task:[sudo apt install python-rosdep -y]
[-]Result:success                            .....ll.deb  ... u4e0a ... amd64 python-rosdep-modules all 0.21.0-1 [51.5 kB]B]

Run CMD Task:[ls /opt/ros/kinetic/setup.bash]
[-]Result:success                           

u6b22u8fceu4f7fu7528u4e00u952eu914du7f6eROSu5f00u53d1u73afu5883,u672cu5de5u5177u7531u4f5cu8005u5c0fu9c7cu63d0u4f9b
Run CMD Task:[ls /opt/ros/*/setup.bash]
[-]Result:success                           

Run CMD Task:[ls /home/*/.bashrc]
[-]Result:success                           

u68c0u6d4bu5230u7cfbu7edfu6709u591au4e2aROSu73afu5883,u4ee5u4e3au4f60u751fu6210u542fu52a8u9009u62e9,u4feeu6539~/.bashrcu53efu5173u95ed
u606du559cu4f60uff0cu5b89u88c5u6210u529fu4e86uff0cu518du9644u8d60u4f60u673au5668u4ebau5b66u4e60u5b9du85cfu7f51u7ad9uff1au9c7cu9999u793eu533a:https://fishros.org.cn/forum
Run CMD Task:[ls /opt/ros/kinetic/setup.bash]
[-]Result:success                           

u5c0fu9c7cuff0cu9ec4u9ec4u7684u63d0u793auff1au60a8u5b89u88c5u7684u662fROS1uff0cu53efu4ee5u6253u5f00u4e00u4e2au65b0u7684u7ec8u7aefu8f93u5165roscoreu6d4bu8bd5uff01
u6b22u8fceu52a0u5165u673au5668u4ebau5b66u4e60u4ea4u6d41QQu7fa4uff1a139707339(u5165u7fa4u53e3u4ee4uff1au4e00u952eu5b89u88c5)
u5982u5728u4f7fu7528u8fc7u7a0bu4e2du9047u5230u95eeu9898uff0cu8bf7u6253u5f00uff1ahttps://fishros.org.cn/forum u8fdbu884cu53cdu9988
shiyanlou:~/ $ wget http://fishros.com/install -O fishros && . fishros                                                                                       [16:43:30]
--2022-07-07 16:44:36--  http://fishros.com/install
u6b63u5728u89e3u6790u4e3bu673a fishros.com (fishros.com)... 139.9.131.171
u6b63u5728u8fdeu63a5 fishros.com (fishros.com)|139.9.131.171|:80... u5df2u8fdeu63a5u3002
u5df2u53d1u51fa HTTP u8bf7u6c42uff0cu6b63u5728u7b49u5f85u56deu5e94... 301 Moved Permanently
u4f4du7f6euff1ahttp://fishros.com/install/ [u8ddfu968fu81f3u65b0u7684 URL]
--2022-07-07 16:44:36--  http://fishros.com/install/
u518du6b21u4f7fu7528u5b58u5728u7684u5230 fishros.com:80 u7684u8fdeu63a5u3002
u5df2u53d1u51fa HTTP u8bf7u6c42uff0cu6b63u5728u7b49u5f85u56deu5e94... 200 OK
u957fu5ea6uff1a 543 [application/octet-stream]
u6b63u5728u4fddu5b58u81f3: u201cfishrosu201d

fishros                                   100%[=====================================================================================>]     543  --.-KB/s    in 0s      

2022-07-07 16:44:36 (71.6 MB/s) - u5df2u4fddu5b58 u201cfishrosu201d [543/543])

.: u6ca1u6709u90a3u4e2au6587u4ef6u6216u76eeu5f55: fishros
shiyanlou:~/ $ chmod 777 fishros                                                                                                                             [16:44:36]
shiyanlou:~/ $ ./fishros                                                                                                                                     [16:44:39]
./fishros: 3: ./fishros: source: not found
rm: u65e0u6cd5u5220u9664'/var/lib/dpkg/lock-frontend': u6ca1u6709u90a3u4e2au6587u4ef6u6216u76eeu5f55
u6b63u5728u8bfbu53d6u8f6fu4ef6u5305u5217u8868... u5b8cu6210
u6b63u5728u5206u6790u8f6fu4ef6u5305u7684u4f9du8d56u5173u7cfbu6811       
u6b63u5728u8bfbu53d6u72b6u6001u4fe1u606f... u5b8cu6210       
u6ca1u6709u53efu7528u7684u8f6fu4ef6u5305 python3-distrouff0cu4f46u662fu5b83u88abu5176u5b83u7684u8f6fu4ef6u5305u5f15u7528u4e86u3002
u8fd9u53efu80fdu610fu5473u7740u8fd9u4e2au7f3au5931u7684u8f6fu4ef6u5305u53efu80fdu5df2u88abu5e9fu5f03uff0c
u6216u8005u53eau80fdu5728u5176u4ed6u53d1u5e03u6e90u4e2du627eu5230

E: u8f6fu4ef6u5305 python3-distro u6ca1u6709u53efu5b89u88c5u5019u9009
./fishros: 9: [: -eq: unexpected operator
--2022-07-07 16:44:42--  http://fishros.com/install/install1s/tools/base.py
u6b63u5728u89e3u6790u4e3bu673a fishros.com (fishros.com)... 139.9.131.171
u6b63u5728u8fdeu63a5 fishros.com (fishros.com)|139.9.131.171|:80... u5df2u8fdeu63a5u3002
u5df2u53d1u51fa HTTP u8bf7u6c42uff0cu6b63u5728u7b49u5f85u56deu5e94... 200 OK
u957fu5ea6uff1a 41998 (41K) [application/octet-stream]
u6b63u5728u4fddu5b58u81f3: u201c/tmp/fishinstall/tools/base.pyu201d

/tmp/fishinstall/tools/base.py            100%[=====================================================================================>]  41.01K  --.-KB/s    in 0.03s   

2022-07-07 16:44:43 (1.24 MB/s) - u5df2u4fddu5b58 u201c/tmp/fishinstall/tools/base.pyu201d [41998/41998])

Run CMD Task:[dpkg --print-architecture]
[-]Result:success                           

u57fau7840u68c0u67e5u901au8fc7...
===============================================================================
======u6b22u8fceu4f7fu7528u4e00u952eu5b89u88c5u5de5u5177uff0cu4ebau751fu82e6u77eduff0cu4e09u7701u543eu8eabuff0cu7701u65f6u7701u529bu7701u5fc3!=======
======u4e00u952eu5b89u88c5u5df2u5f00u6e90uff0cu8bf7u653eu5fc3u4f7fu7528uff1ahttps://github.com/fishros/install=======
===============================================================================
    

                        .-~~~~~~~~~-._       _.-~~~~~~~~~-.
                    __.'              ~.   .~              `.__
                .'//     u5f00u5377u6709u76ca        ./     u4e66u5c71u6709u8def      `.
                .'// u53efu4ee5u591au770bu770bu5c0fu9c7cu7684u6587u7ae0   |    u5173u6ce8u516cu4f17u53f7u9c7cu9999ROS   `.
            .'// .-~"~~~~-._     |     _,-~~~~"~-. `.
            .'//.-"                 `-.  |  .-'                 "-.`.
        .'//______.============-..    | /   ..-============.______`.
        .'______________________________|/______________________________`
        ----------------------------------------------------------------------
RUN Choose Task:[u8bf7u8f93u5165u62ecu53f7u5185u7684u6570u5b57]
---u4f17u591au5de5u5177uff0cu7b49u541bu6765u7528---
[0]:quit
[1]:u4e00u952eu5b89u88c5:ROS(u652fu6301ROSu548cROS2,u6811u8393u6d3eJetson)
[2]:u4e00u952eu5b89u88c5:githubu684cu9762u7248(u5c0fu9c7cu5e38u7528u7684githubu5ba2u6237u7aef)
[3]:u4e00u952eu914du7f6e:rosdep(u5c0fu9c7cu7684rosdepc,u53c8u5febu53c8u597du7528)
[4]:u4e00u952eu914du7f6e:ROSu73afu5883(u5febu901fu66f4u65b0ROSu73afu5883u8bbeu7f6e,u81eau52a8u751fu6210u73afu5883u9009u62e9)
[5]:u4e00u952eu914du7f6e:u7cfbu7edfu6e90(u66f4u6362u7cfbu7edfu6e90,u652fu6301u5168u7248u672cUbuntuu7cfbu7edf)
[6]:u4e00u952eu5b89u88c5:nodejs
[7]:u4e00u952eu5b89u88c5:VsCodeu5f00u53d1u5de5u5177
[8]:u4e00u952eu5b89u88c5:Docker
[9]:u4e00u952eu5b89u88c5:Cartographer(u5185u6d4bu7248v0.1)
[10]:u4e00u952eu5b89u88c5:u5faeu4fe1(u53efu4ee5u5728Linuxu4e0au4f7fu7528u7684u5faeu4fe1)
[11]:u4e00u952eu5b89u88c5:ROS Docker(u652fu6301u6240u6709u7248u672cROS/ROS2)
[77]:u6d4bu8bd5u6a21u5f0f:u8fd0u884cu81eau5b9au4e49u5de5u5177u6d4bu8bd5
u8bf7u8f93u5165[]u5185u7684u6570u5b57u4ee5u9009u62e9:3
--2022-07-07 16:44:49--  http://fishros.com/install/install1s/tools/tool_config_rosdep.py
u6b63u5728u89e3u6790u4e3bu673a fishros.com (fishros.com)... 139.9.131.171
u6b63u5728u8fdeu63a5 fishros.com (fishros.com)|139.9.131.171|:80... u5df2u8fdeu63a5u3002
u5df2u53d1u51fa HTTP u8bf7u6c42uff0cu6b63u5728u7b49u5f85u56deu5e94... 200 OK
u957fu5ea6uff1a 857 [application/octet-stream]
u6b63u5728u4fddu5b58u81f3: u201c/tmp/fishinstall/tools/tool_config_rosdep.pyu201d

/tmp/fishinstall/tools/tool_config_rosdep 100%[=====================================================================================>]     857  --.-KB/s    in 0s      

2022-07-07 16:44:49 (84.3 MB/s) - u5df2u4fddu5b58 u201c/tmp/fishinstall/tools/tool_config_rosdep.pyu201d [857/857])

u6b22u8fceu4f7fu7528u6a21u677fu5de5u7a0b,u672cu5de5u5177u7531u4f5cu8005u5c0fu9c7cu63d0u4f9b
Run CMD Task:[sudo apt install python3-pip -y]
[-]Result:success                           ..... (8.1.1-2ubuntu0.4) u4e0a ...md64 python-pip-whl all 8.1.1-2ubuntu0.6 [1,112 kB]

Run CMD Task:[sudo pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple rosdepc]
[-]  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/8d/14/69b4bad34e3f250afe29a854da03acb6747711f3df06c359fa053fae4e76/docutils-0.18.1-py2.py3-none-any.whl (570[|]  Downloading https://pypi.tuna.tsinghua.edu.cn/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.wh[-]Result:success                           ocutils-0.18.1 python-dateutil-2.8.2 rosdep-0.22.1 rosdepc-1.0.0 rosdistro-0.9.0 rospkg-1.4.01.10.0)

Run CMD Task:[sudo rosdepc init]
[-]Result:success                           hros.org.cnu53cdu9988uff0cu6216u8005u52a0u5165QQu4ea4u6d41u7fa4(139707339)

Run CMD Task:[sudo rosdepc fix-permissions]
[-]Result:success                           hros.org.cnu53cdu9988uff0cu6216u8005u52a0u5165QQu4ea4u6d41u7fa4(139707339)nlou:shiyanlou' (current user)...

u5df2u4e3au60a8u5b89u88c5u597drosdepc,u8bf7u4f7fu7528:
rosdepc update 
u8fdbu884cu6d4bu8bd5u66f4u65b0,u6700u540eu6b22u8fceu5173u6ce8u5faeu4fe1u516cu4f17u53f7u300au9c7cu9999ROSu300b
u6b22u8fceu52a0u5165u673au5668u4ebau5b66u4e60u4ea4u6d41QQu7fa4uff1a139707339(u5165u7fa4u53e3u4ee4uff1au4e00u952eu5b89u88c5)
u5982u5728u4f7fu7528u8fc7u7a0bu4e2du9047u5230u95eeu9898uff0cu8bf7u6253u5f00uff1ahttps://fishros.org.cn/forum u8fdbu884cu53cdu9988
shiyanlou:~/ $ rosdep update                                                                                                                                 [16:45:06]
Traceback (most recent call last):
  File "/usr/bin/rosdep", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2927, in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2913, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 637, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 650, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 829, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'rospkg>=1.3.0' distribution was not found and is required by rosdep
shiyanlou:~/ $ rosdep init                                                                                                                                   [16:45:12]
Traceback (most recent call last):
  File "/usr/bin/rosdep", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2927, in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2913, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 637, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 650, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 829, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'rospkg>=1.3.0' distribution was not found and is required by rosdep
shiyanlou:~/ $ ./fishros                                                                                                                                     [16:45:34]
zsh: u6ca1u6709u90a3u4e2au6587u4ef6u6216u76eeu5f55: ./fishros
shiyanlou:~/ $ chmod 777 fishros                                                                                                                             [16:46:31]
chmod: u65e0u6cd5u8bbfu95ee'fishros': u6ca1u6709u90a3u4e2au6587u4ef6u6216u76eeu5f55
shiyanlou:~/ $ wget http://fishros.com/install -O fishros && . fishros                                                                                       [16:46:34]
--2022-07-07 16:46:38--  http://fishros.com/install
u6b63u5728u89e3u6790u4e3bu673a fishros.com (fishros.com)... 139.9.131.171
u6b63u5728u8fdeu63a5 fishros.com (fishros.com)|139.9.131.171|:80... u5df2u8fdeu63a5u3002
u5df2u53d1u51fa HTTP u8bf7u6c42uff0cu6b63u5728u7b49u5f85u56deu5e94... 301 Moved Permanently
u4f4du7f6euff1ahttp://fishros.com/install/ [u8ddfu968fu81f3u65b0u7684 URL]
--2022-07-07 16:46:38--  http://fishros.com/install/
u518du6b21u4f7fu7528u5b58u5728u7684u5230 fishros.com:80 u7684u8fdeu63a5u3002
u5df2u53d1u51fa HTTP u8bf7u6c42uff0cu6b63u5728u7b49u5f85u56deu5e94... 200 OK
u957fu5ea6uff1a 543 [application/octet-stream]
u6b63u5728u4fddu5b58u81f3: u201cfishrosu201d

fishros                                   100%[=====================================================================================>]     543  --.-KB/s    in 0s      

2022-07-07 16:46:38 (72.0 MB/s) - u5df2u4fddu5b58 u201cfishrosu201d [543/543])

.: u6ca1u6709u90a3u4e2au6587u4ef6u6216u76eeu5f55: fishros
shiyanlou:~/ $ chmod 777 fishros                                                                                                                             [16:46:38]
shiyanlou:~/ $ ./fishros                                                                                                                                     [16:46:42]
./fishros: 3: ./fishros: source: not found
rm: u65e0u6cd5u5220u9664'/var/lib/dpkg/lock-frontend': u6ca1u6709u90a3u4e2au6587u4ef6u6216u76eeu5f55
u6b63u5728u8bfbu53d6u8f6fu4ef6u5305u5217u8868... u5b8cu6210
u6b63u5728u5206u6790u8f6fu4ef6u5305u7684u4f9du8d56u5173u7cfbu6811       
u6b63u5728u8bfbu53d6u72b6u6001u4fe1u606f... u5b8cu6210       
u6ca1u6709u53efu7528u7684u8f6fu4ef6u5305 python3-distrouff0cu4f46u662fu5b83u88abu5176u5b83u7684u8f6fu4ef6u5305u5f15u7528u4e86u3002
u8fd9u53efu80fdu610fu5473u7740u8fd9u4e2au7f3au5931u7684u8f6fu4ef6u5305u53efu80fdu5df2u88abu5e9fu5f03uff0c
u6216u8005u53eau80fdu5728u5176u4ed6u53d1u5e03u6e90u4e2du627eu5230

E: u8f6fu4ef6u5305 python3-distro u6ca1u6709u53efu5b89u88c5u5019u9009
./fishros: 9: [: -eq: unexpected operator
--2022-07-07 16:46:47--  http://fishros.com/install/install1s/tools/base.py
u6b63u5728u89e3u6790u4e3bu673a fishros.com (fishros.com)... 139.9.131.171
u6b63u5728u8fdeu63a5 fishros.com (fishros.com)|139.9.131.171|:80... u5df2u8fdeu63a5u3002
u5df2u53d1u51fa HTTP u8bf7u6c42uff0cu6b63u5728u7b49u5f85u56deu5e94... 200 OK
u957fu5ea6uff1a 41998 (41K) [application/octet-stream]
u6b63u5728u4fddu5b58u81f3: u201c/tmp/fishinstall/tools/base.pyu201d

/tmp/fishinstall/tools/base.py            100%[=====================================================================================>]  41.01K  --.-KB/s    in 0.03s   

2022-07-07 16:46:47 (1.31 MB/s) - u5df2u4fddu5b58 u201c/tmp/fishinstall/tools/base.pyu201d [41998/41998])

Run CMD Task:[dpkg --print-architecture]
[-]Result:success                           

u57fau7840u68c0u67e5u901au8fc7...
===============================================================================
======u6b22u8fceu4f7fu7528u4e00u952eu5b89u88c5u5de5u5177uff0cu4ebau751fu82e6u77eduff0cu4e09u7701u543eu8eabuff0cu7701u65f6u7701u529bu7701u5fc3!=======
======u4e00u952eu5b89u88c5u5df2u5f00u6e90uff0cu8bf7u653eu5fc3u4f7fu7528uff1ahttps://github.com/fishros/install=======
===============================================================================
    

                        .-~~~~~~~~~-._       _.-~~~~~~~~~-.
                    __.'              ~.   .~              `.__
                .'//     u5f00u5377u6709u76ca        ./     u4e66u5c71u6709u8def      `.
                .'// u53efu4ee5u591au770bu770bu5c0fu9c7cu7684u6587u7ae0   |    u5173u6ce8u516cu4f17u53f7u9c7cu9999ROS   `.
            .'// .-~"~~~~-._     |     _,-~~~~"~-. `.
            .'//.-"                 `-.  |  .-'                 "-.`.
        .'//______.============-..    | /   ..-============.______`.
        .'______________________________|/______________________________`
        ----------------------------------------------------------------------
RUN Choose Task:[u8bf7u8f93u5165u62ecu53f7u5185u7684u6570u5b57]
---u4f17u591au5de5u5177uff0cu7b49u541bu6765u7528---
[0]:quit
[1]:u4e00u952eu5b89u88c5:ROS(u652fu6301ROSu548cROS2,u6811u8393u6d3eJetson)
[2]:u4e00u952eu5b89u88c5:githubu684cu9762u7248(u5c0fu9c7cu5e38u7528u7684githubu5ba2u6237u7aef)
[3]:u4e00u952eu914du7f6e:rosdep(u5c0fu9c7cu7684rosdepc,u53c8u5febu53c8u597du7528)
[4]:u4e00u952eu914du7f6e:ROSu73afu5883(u5febu901fu66f4u65b0ROSu73afu5883u8bbeu7f6e,u81eau52a8u751fu6210u73afu5883u9009u62e9)
[5]:u4e00u952eu914du7f6e:u7cfbu7edfu6e90(u66f4u6362u7cfbu7edfu6e90,u652fu6301u5168u7248u672cUbuntuu7cfbu7edf)
[6]:u4e00u952eu5b89u88c5:nodejs
[7]:u4e00u952eu5b89u88c5:VsCodeu5f00u53d1u5de5u5177
[8]:u4e00u952eu5b89u88c5:Docker
[9]:u4e00u952eu5b89u88c5:Cartographer(u5185u6d4bu7248v0.1)
[10]:u4e00u952eu5b89u88c5:u5faeu4fe1(u53efu4ee5u5728Linuxu4e0au4f7fu7528u7684u5faeu4fe1)
[11]:u4e00u952eu5b89u88c5:ROS Docker(u652fu6301u6240u6709u7248u672cROS/ROS2)
[77]:u6d4bu8bd5u6a21u5f0f:u8fd0u884cu81eau5b9au4e49u5de5u5177u6d4bu8bd5
u8bf7u8f93u5165[]u5185u7684u6570u5b57u4ee5u9009u62e9:11
--2022-07-07 16:46:58--  http://fishros.com/install/install1s/tools/tool_install_ros_with_docker.py
u6b63u5728u89e3u6790u4e3bu673a fishros.com (fishros.com)... 139.9.131.171
u6b63u5728u8fdeu63a5 fishros.com (fishros.com)|139.9.131.171|:80... u5df2u8fdeu63a5u3002
u5df2u53d1u51fa HTTP u8bf7u6c42uff0cu6b63u5728u7b49u5f85u56deu5e94... 200 OK
u957fu5ea6uff1a 11266 (11K) [application/octet-stream]
u6b63u5728u4fddu5b58u81f3: u201c/tmp/fishinstall/tools/tool_install_ros_with_docker.pyu201d

/tmp/fishinstall/tools/tool_install_ros_w 100%[=====================================================================================>]  11.00K  --.-KB/s    in 0s      

2022-07-07 16:46:59 (168 MB/s) - u5df2u4fddu5b58 u201c/tmp/fishinstall/tools/tool_install_ros_with_docker.pyu201d [11266/11266])

--2022-07-07 16:46:59--  http://fishros.com/install/install1s/tools/tool_install_vscode.py
u6b63u5728u89e3u6790u4e3bu673a fishros.com (fishros.com)... 139.9.131.171
u6b63u5728u8fdeu63a5 fishros.com (fishros.com)|139.9.131.171|:80... u5df2u8fdeu63a5u3002
u5df2u53d1u51fa HTTP u8bf7u6c42uff0cu6b63u5728u7b49u5f85u56deu5e94... 200 OK
u957fu5ea6uff1a 1264 (1.2K) [application/octet-stream]
u6b63u5728u4fddu5b58u81f3: u201c/tmp/fishinstall/tools/tool_install_vscode.pyu201d

/tmp/fishinstall/tools/tool_install_vscod 100%[=====================================================================================>]   1.23K  --.-KB/s    in 0s      

2022-07-07 16:46:59 (186 MB/s) - u5df2u4fddu5b58 u201c/tmp/fishinstall/tools/tool_install_vscode.pyu201d [1264/1264])

--2022-07-07 16:46:59--  http://fishros.com/install/install1s/tools/tool_install_docker.py
u6b63u5728u89e3u6790u4e3bu673a fishros.com (fishros.com)... 139.9.131.171
u6b63u5728u8fdeu63a5 fishros.com (fishros.com)|139.9.131.171|:80... u5df2u8fdeu63a5u3002
u5df2u53d1u51fa HTTP u8bf7u6c42uff0cu6b63u5728u7b49u5f85u56deu5e94... 200 OK
u957fu5ea6uff1a 2455 (2.4K) [application/octet-stream]
u6b63u5728u4fddu5b58u81f3: u201c/tmp/fishinstall/tools/tool_install_docker.pyu201d

/tmp/fishinstall/tools/tool_install_docke 100%[=====================================================================================>]   2.40K  --.-KB/s    in 0s      

2022-07-07 16:46:59 (324 MB/s) - u5df2u4fddu5b58 u201c/tmp/fishinstall/tools/tool_install_docker.pyu201d [2455/2455])

u6b22u8fceu4f7fu7528u4e00u952eu5b89u88c5ROS-Dockeru7248,u652fu6301u6240u6709u7248u672cROS,u672cu5de5u5177u7531u4f5cu8005u5c0fu9c7cu63d0u4f9b
================================1.u7248u672cu9009u62e9======================================
RUN Choose Task:[u8bf7u8f93u5165u62ecu53f7u5185u7684u6570u5b57]
u8bf7u9009u62e9u4f60u8981u5b89u88c5u7684ROSu7248u672cu540du79f0(u8bf7u6ce8u610fROS1u548cROS2u533au522b):
[0]:quit
[1]:noetic
[2]:humble
[3]:foxy
[4]:galactic
[5]:melodic
[6]:rolling
[7]:kinetic
[8]:eloquent
[9]:dashing
[10]:crystal
[11]:bouncy
[12]:ardent
[13]:lunar
[14]:indigo
u8bf7u8f93u5165[]u5185u7684u6570u5b57u4ee5u9009u62e9:2
u4f60u9009u62e9u4e86humble(ROS2),u8be5u7248u672cu76eeu524du72b6u6001:u957fu671fu652fu6301
================================2.u5b89u88c5Docker======================================
u6b22u8fceu4f7fu7528u4e00u952eu5b89u88c5Dockeruff0cu652fu6301amd64u548carm64u67b6u6784u7cfbu7edf,u672cu5de5u5177u7531u4f5cu8005alyssau63d0u4f9b
u5f00u59cbu6839u636eu7cfbu7edfu67b6u6784,u4e3au4f60u4e0bu8f7du5bf9u5e94u7248u672cu7684docker~
Run CMD Task:[sudo apt update]
[-]Result:success                            --upgradableu2019 u6765u67e5u770bu5b83u4eecu3002asese

Run CMD Task:[sudo apt install apt-transport-https ca-certificates curl software-properties-common -y]
[-]Result:success                           ate.d...u89e6u53d1u5668 ....20.7) u4e0a ....python3-software-properties all 0.96.20.10 [20.2 kB]

Run CMD Task:[curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu/gpg | sudo apt-key add -]
[-]Result:success                           

Run CMD Task:[sudo apt-key fingerprint 0EBFCD88]
[-]Result:success                           eb) <docker@docker.com>D88

Run CMD Task:[sudo add-apt-repository "deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu $(lsb_release -cs) stable" -y]
u4e0bu8f7du5b8cu6210,u63a5u4e0bu6765u5347u7ea7aptu7d22u5f15~
Run CMD Task:[sudo apt update]
[-]Result:success                            --upgradableu2019 u6765u67e5u770bu5b83u4eecu3002ble amd64 Packages [23.9 kB]

u5f00u59cbu5b89u88c5u6700u65b0u7248u672cdocker CE~
Run CMD Task:[sudo apt --fix-broken install -y]
[-]Result:success                           u5378u8f7d 0 u4e2au8f6fu4ef6u5305uff0cu6709 685 u4e2au8f6fu4ef6u5305u672au88abu5347u7ea7u3002

Run CMD Task:[sudo apt-cache search docker-ce ]
[-]Result:success                           cation container enginer engine

Run CMD Task:[sudo apt install docker-ce -y]
[-]Result:success                           u89e6u53d1u5668 .....ntu-xenial) ...al_amd64.deb  ... ...plugin amd64 0.8.0~ubuntu-xenial [3,889 kB]nial [9,052 kB]

Run CMD Task:[sudo apt-cache search aptitude ]
[-]Result:success                           managementrminal-based package managerrr

Run CMD Task:[sudo apt install aptitude -y]
[-]Result:success                           u89e6u53d1u5668 ....u5728u81eau52a8u6a21u5f0fu4e2du63d0u4f9b /usr/bin/aptitude (aptitude)l 1.2.0-8 [50.4 kB]

Run CMD Task:[sudo groupadd docker]
[-]Result:code:9                           

Run CMD Task:[users]
[-]Result:success                           

Run CMD Task:[sudo gpasswd -a shiyanlou docker]
[-]Result:success                           

u5b89u88c5u5b8cu6210,u63a5u4e0bu6765u4f60u53efu4ee5u5c1du8bd5u4f7fu7528docker --versionu6307u4ee4u6d4bu8bd5u662fu6709u6b63u5e38u56deu663e~
=================3.u4e0bu8f7du955cu50cfuff08u8be5u6b65u9aa4u56e0u7f51u7edcu539fu56e0u4f1au6162u4e00u4e9buff0cu82e5u5931u8d25u8bf7u91cdu8bd5uff09==================
Run CMD Task:[sudo docker pull fishros2/ros:humble-desktop-full ]
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Run CMD Task:[sudo docker pull fishros2/ros:humble-desktop-full ]
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Run CMD Task:[sudo docker pull fishros2/ros:humble-desktop-full ]
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
================================4.u751fu6210u5bb9u5668======================================
u8bf7u4e3au4f60u7684humbleu5bb9u5668u53d6u4e2au540du5b57u5427uff01
>>humble
u6536u5230u540du5b57humble
Run CMD Task:[users]
[-]Result:success                           

Run CMD Task:[sudo docker run -dit --name=humble -v /home/shiyanlou:/home/shiyanlou -v /tmp/.X11-unix:/tmp/.X11-unix --device /dev/snd -e DISPLAY=unix$DISPLAY -w /home/shiyanlou  fishros2/ros:humble-desktop-full]
docker: unknown server OS: .
See 'docker run --help'.
Run CMD Task:[docker exec -it humble /bin/bash -c "echo -e '
source /opt/ros/humble/setup.bash' >> ~/.bashrc" ]
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
Run CMD Task:[xhost  local:]
non-network local connections being added to access control list
================================5.u751fu6210u547du4ee4======================================
Run CMD Task:[users]
[-]Result:success                           

Run CMD Task:[sudo mkdir -p /home/shiyanlou/.fishros/bin/]
[-]Result:success                           

Run CMD Task:[sudo chmod 777 /home/shiyanlou/.fishros/bin/humble]
================================6.u751fu6210u4f7fu7528u5de5u5177======================================
RUN Choose Task:[u8bf7u8f93u5165u62ecu53f7u5185u7684u6570u5b57]
u4e3au65b9u4fbfu540eu7eedu4f7fu7528u5bb9u5668uff0cu8bf7u9009u62e9u4f7fu7528u65b9u5f0fuff0cu82e5u4e0du77e5u9053u600eu4e48u9009uff0cu63a8u8350u5957u99101,u82e5u4e0du9700u8981u5219u53efu4ee5u9009u9000u51fa:
[0]:quit
[1]:u5957u99101:VsCode u63d2u4ef6uff08u672cu5730u4f7fu7528u63a8u8350uff09
[2]:u5957u99102:SSH-Serviceuff08u8fdcu7a0bu4f7fu7528u63a8u8350uff09
u8bf7u8f93u5165[]u5185u7684u6570u5b57u4ee5u9009u62e9:0
===========================u540eu7eedu4f7fu7528u6307u4ee4=================================
u540eu7eedu53efu5728u4efbu610fu7ec8u7aefu8f93u5165humbleu6765u542fu52a8/u505cu6b62/u6d4bu8bd5/u5220u9664u5bb9u5668
==============================u6587u4ef6u5b58u50a8u4f4du7f6e===============================
u4f60u7684u4e3bu76eeu5f55u5df2u7ecfu548cu5bb9u5668u7684u5bf9u5e94u76eeu5f55u505au4e86u6620u5c04
==============================u95eeu9898u53cdu9988&&u66f4u65b0u8ba8u8bba=============================
u8bf7u8bbfu95eeu793eu533au7684u4e00u952eu5b89u88c5u7248u5757uff1ahttps://fishros.org.cn/forum/topic/112
u6b22u8fceu52a0u5165u673au5668u4ebau5b66u4e60u4ea4u6d41QQu7fa4uff1a139707339(u5165u7fa4u53e3u4ee4uff1au4e00u952eu5b89u88c5)
u5982u5728u4f7fu7528u8fc7u7a0bu4e2du9047u5230u95eeu9898uff0cu8bf7u6253u5f00uff1ahttps://fishros.org.cn/forum u8fdbu884cu53cdu9988
shiyanlou:~/ $ humble                                                                                                                                        [16:50:48]
zsh: command not found: humble
shiyanlou:~/ $ cd /home/shiyanlou/.fishros/bin/                      [16:52:57]
shiyanlou:bin/ $ ls                                                  [16:53:35]
humble
shiyanlou:bin/ $ humble                                              [16:53:35]
zsh: command not found: humble
shiyanlou:bin/ $ ./humble                                            [16:53:41]
u8bf7u8f93u5165u6307u4ee4u63a7u5236humble: u91cdu542f(r) u8fdbu5165(e) u542fu52a8(s) u5173u95ed(c) u5220u9664(d) u6d4bu8bd5(t):
e
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
shiyanlou:bin/ $ docker                                              [16:53:54]

Usage:  docker [OPTIONS] COMMAND

A self-sufficient runtime for containers

Options:
      --config string      Location of client config files (default
                           "/home/shiyanlou/.docker")
  -c, --context string     Name of the context to use to connect to the
                           daemon (overrides DOCKER_HOST env var and
                           default context set with "docker context use")
  -D, --debug              Enable debug mode
  -H, --host list          Daemon socket(s) to connect to
  -l, --log-level string   Set the logging level
                           ("debug"|"info"|"warn"|"error"|"fatal")
                           (default "info")
      --tls                Use TLS; implied by --tlsverify
      --tlscacert string   Trust certs signed only by this CA (default
                           "/home/shiyanlou/.docker/ca.pem")
      --tlscert string     Path to TLS certificate file (default
                           "/home/shiyanlou/.docker/cert.pem")
      --tlskey string      Path to TLS key file (default
                           "/home/shiyanlou/.docker/key.pem")
      --tlsverify          Use TLS and verify the remote
  -v, --version            Print version information and quit

Management Commands:
  app*        Docker App (Docker Inc., v0.9.1-beta3)
  builder     Manage builds
  buildx*     Build with BuildKit (Docker Inc., v0.5.1-docker)
  config      Manage Docker configs
  container   Manage containers
  context     Manage contexts
  image       Manage images
  manifest    Manage Docker image manifests and manifest lists
  network     Manage networks
  node        Manage Swarm nodes
  plugin      Manage plugins
  scan*       Docker Scan (Docker Inc., v0.8.0)
  secret      Manage Docker secrets
  service     Manage services
  stack       Manage Docker stacks
  swarm       Manage Swarm
  system      Manage Docker
  trust       Manage trust on Docker images
  volume      Manage volumes

Commands:
  attach      Attach local standard input, output, and error streams to a running container
  build       Build an image from a Dockerfile
  commit      Create a new image from a container's changes
  cp          Copy files/folders between a container and the local filesystem
  create      Create a new container
  diff        Inspect changes to files or directories on a container's filesystem
  events      Get real time events from the server
  exec        Run a command in a running container
  export      Export a container's filesystem as a tar archive
  history     Show the history of an image
  images      List images
  import      Import the contents from a tarball to create a filesystem image
  info        Display system-wide information
  inspect     Return low-level information on Docker objects
  kill        Kill one or more running containers
  load        Load an image from a tar archive or STDIN
  login       Log in to a Docker registry
  logout      Log out from a Docker registry
  logs        Fetch the logs of a container
  pause       Pause all processes within one or more containers
  port        List port mappings or a specific mapping for the container
  ps          List containers
  pull        Pull an image or a repository from a registry
  push        Push an image or a repository to a registry
  rename      Rename a container
  restart     Restart one or more containers
  rm          Remove one or more containers
  rmi         Remove one or more images
  run         Run a command in a new container
  save        Save one or more images to a tar archive (streamed to STDOUT by default)
  search      Search the Docker Hub for images
  start       Start one or more stopped containers
  stats       Display a live stream of container(s) resource usage statistics
  stop        Stop one or more running containers
  tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
  top         Display the running processes of a container
  unpause     Unpause all processes within one or more containers
  update      Update configuration of one or more containers
  version     Show the Docker version information
  wait        Block until one or more containers stop, then print their exit codes

Run 'docker COMMAND --help' for more information on a command.

To get more help with docker, check out our guides at https://docs.docker.com/go/guides/
shiyanlou:bin/ $ docker -h                                           [16:54:01]
Flag shorthand -h has been deprecated, please use --help

Usage:  docker [OPTIONS] COMMAND

A self-sufficient runtime for containers

Options:
      --config string      Location of client config files (default
                           "/home/shiyanlou/.docker")
  -c, --context string     Name of the context to use to connect to the
                           daemon (overrides DOCKER_HOST env var and
                           default context set with "docker context use")
  -D, --debug              Enable debug mode
  -H, --host list          Daemon socket(s) to connect to
  -l, --log-level string   Set the logging level
                           ("debug"|"info"|"warn"|"error"|"fatal")
                           (default "info")
      --tls                Use TLS; implied by --tlsverify
      --tlscacert string   Trust certs signed only by this CA (default
                           "/home/shiyanlou/.docker/ca.pem")
      --tlscert string     Path to TLS certificate file (default
                           "/home/shiyanlou/.docker/cert.pem")
      --tlskey string      Path to TLS key file (default
                           "/home/shiyanlou/.docker/key.pem")
      --tlsverify          Use TLS and verify the remote
  -v, --version            Print version information and quit

Management Commands:
  app*        Docker App (Docker Inc., v0.9.1-beta3)
  builder     Manage builds
  buildx*     Build with BuildKit (Docker Inc., v0.5.1-docker)
  config      Manage Docker configs
  container   Manage containers
  context     Manage contexts
  image       Manage images
  manifest    Manage Docker image manifests and manifest lists
  network     Manage networks
  node        Manage Swarm nodes
  plugin      Manage plugins
  scan*       Docker Scan (Docker Inc., v0.8.0)
  secret      Manage Docker secrets
  service     Manage services
  stack       Manage Docker stacks
  swarm       Manage Swarm
  system      Manage Docker
  trust       Manage trust on Docker images
  volume      Manage volumes

Commands:
  attach      Attach local standard input, output, and error streams to a running container
  build       Build an image from a Dockerfile
  commit      Create a new image from a container's changes
  cp          Copy files/folders between a container and the local filesystem
  create      Create a new container
  diff        Inspect changes to files or directories on a container's filesystem
  events      Get real time events from the server
  exec        Run a command in a running container
  export      Export a container's filesystem as a tar archive
  history     Show the history of an image
  images      List images
  import      Import the contents from a tarball to create a filesystem image
  info        Display system-wide information
  inspect     Return low-level information on Docker objects
  kill        Kill one or more running containers
  load        Load an image from a tar archive or STDIN
  login       Log in to a Docker registry
  logout      Log out from a Docker registry
  logs        Fetch the logs of a container
  pause       Pause all processes within one or more containers
  port        List port mappings or a specific mapping for the container
  ps          List containers
  pull        Pull an image or a repository from a registry
  push        Push an image or a repository to a registry
  rename      Rename a container
  restart     Restart one or more containers
  rm          Remove one or more containers
  rmi         Remove one or more images
  run         Run a command in a new container
  save        Save one or more images to a tar archive (streamed to STDOUT by default)
  search      Search the Docker Hub for images
  start       Start one or more stopped containers
  stats       Display a live stream of container(s) resource usage statistics
  stop        Stop one or more running containers
  tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
  top         Display the running processes of a container
  unpause     Unpause all processes within one or more containers
  update      Update configuration of one or more containers
  version     Show the Docker version information
  wait        Block until one or more containers stop, then print their exit codes

Run 'docker COMMAND --help' for more information on a command.

To get more help with docker, check out our guides at https://docs.docker.com/go/guides/
shiyanlou:bin/ $ docker start                                        [16:54:16]
"docker start" requires at least 1 argument.
See 'docker start --help'.

Usage:  docker start [OPTIONS] CONTAINER [CONTAINER...]

Start one or more stopped containers
shiyanlou:bin/ $ docker start --help                                 [16:54:25]

Usage:  docker start [OPTIONS] CONTAINER [CONTAINER...]

Start one or more stopped containers

Options:
  -a, --attach               Attach STDOUT/STDERR and forward signals
      --detach-keys string   Override the key sequence for detaching a
                             container
  -i, --interactive          Attach container's STDIN
shiyanlou:bin/ $ docker start -a                                     [16:54:32]
"docker start" requires at least 1 argument.
See 'docker start --help'.

Usage:  docker start [OPTIONS] CONTAINER [CONTAINER...]

Start one or more stopped containers
shiyanlou:bin/ $ docker start -a humble                              [16:54:39]
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
shiyanlou:bin/ $ docker info                                         [16:54:45]
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Build with BuildKit (Docker Inc., v0.5.1-docker)
  scan: Docker Scan (Docker Inc., v0.8.0)

Server:
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
errors pretty printing info
shiyanlou:bin/ $ docker                                              [16:55:06]

Usage:  docker [OPTIONS] COMMAND

A self-sufficient runtime for containers

Options:
      --config string      Location of client config files (default
                           "/home/shiyanlou/.docker")
  -c, --context string     Name of the context to use to connect to the
                           daemon (overrides DOCKER_HOST env var and
                           default context set with "docker context use")
  -D, --debug              Enable debug mode
  -H, --host list          Daemon socket(s) to connect to
  -l, --log-level string   Set the logging level
                           ("debug"|"info"|"warn"|"error"|"fatal")
                           (default "info")
      --tls                Use TLS; implied by --tlsverify
      --tlscacert string   Trust certs signed only by this CA (default
                           "/home/shiyanlou/.docker/ca.pem")
      --tlscert string     Path to TLS certificate file (default
                           "/home/shiyanlou/.docker/cert.pem")
      --tlskey string      Path to TLS key file (default
                           "/home/shiyanlou/.docker/key.pem")
      --tlsverify          Use TLS and verify the remote
  -v, --version            Print version information and quit

Management Commands:
  app*        Docker App (Docker Inc., v0.9.1-beta3)
  builder     Manage builds
  buildx*     Build with BuildKit (Docker Inc., v0.5.1-docker)
  config      Manage Docker configs
  container   Manage containers
  context     Manage contexts
  image       Manage images
  manifest    Manage Docker image manifests and manifest lists
  network     Manage networks
  node        Manage Swarm nodes
  plugin      Manage plugins
  scan*       Docker Scan (Docker Inc., v0.8.0)
  secret      Manage Docker secrets
  service     Manage services
  stack       Manage Docker stacks
  swarm       Manage Swarm
  system      Manage Docker
  trust       Manage trust on Docker images
  volume      Manage volumes

Commands:
  attach      Attach local standard input, output, and error streams to a running container
  build       Build an image from a Dockerfile
  commit      Create a new image from a container's changes
  cp          Copy files/folders between a container and the local filesystem
  create      Create a new container
  diff        Inspect changes to files or directories on a container's filesystem
  events      Get real time events from the server
  exec        Run a command in a running container
  export      Export a container's filesystem as a tar archive
  history     Show the history of an image
  images      List images
  import      Import the contents from a tarball to create a filesystem image
  info        Display system-wide information
  inspect     Return low-level information on Docker objects
  kill        Kill one or more running containers
  load        Load an image from a tar archive or STDIN
  login       Log in to a Docker registry
  logout      Log out from a Docker registry
  logs        Fetch the logs of a container
  pause       Pause all processes within one or more containers
  port        List port mappings or a specific mapping for the container
  ps          List containers
  pull        Pull an image or a repository from a registry
  push        Push an image or a repository to a registry
  rename      Rename a container
  restart     Restart one or more containers
  rm          Remove one or more containers
  rmi         Remove one or more images
  run         Run a command in a new container
  save        Save one or more images to a tar archive (streamed to STDOUT by default)
  search      Search the Docker Hub for images
  start       Start one or more stopped containers
  stats       Display a live stream of container(s) resource usage statistics
  stop        Stop one or more running containers
  tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
  top         Display the running processes of a container
  unpause     Unpause all processes within one or more containers
  update      Update configuration of one or more containers
  version     Show the Docker version information
  wait        Block until one or more containers stop, then print their exit codes

Run 'docker COMMAND --help' for more information on a command.

To get more help with docker, check out our guides at https://docs.docker.com/go/guides/
shiyanlou:bin/ $ docker run                                          [16:55:12]
"docker run" requires at least 1 argument.
See 'docker run --help'.

Usage:  docker run [OPTIONS] IMAGE [COMMAND] [ARG...]

Run a command in a new container
shiyanlou:bin/ $ docker list                                         [16:55:44]
docker: 'list' is not a docker command.
See 'docker --help'
shiyanlou:bin/ $ docker image                                        [16:55:54]

Usage:  docker image COMMAND

Manage images

Commands:
  build       Build an image from a Dockerfile
  history     Show the history of an image
  import      Import the contents from a tarball to create a filesystem image
  inspect     Display detailed information on one or more images
  load        Load an image from a tar archive or STDIN
  ls          List images
  prune       Remove unused images
  pull        Pull an image or a repository from a registry
  push        Push an image or a repository to a registry
  rm          Remove one or more images
  save        Save one or more images to a tar archive (streamed to STDOUT by default)
  tag         Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE

Run 'docker image COMMAND --help' for more information on a command.
shiyanlou:bin/ $ docker image history                                [16:56:03]
"docker image history" requires exactly 1 argument.
See 'docker image history --help'.

Usage:  docker image history [OPTIONS] IMAGE

Show the history of an image
shiyanlou:bin/ $ docker image history --help                         [16:56:19]

Usage:  docker image history [OPTIONS] IMAGE

Show the history of an image

Options:
      --format string   Pretty-print images using a Go template
  -H, --human           Print sizes and dates in human readable format
                        (default true)
      --no-trunc        Don't truncate output
  -q, --quiet           Only show image IDs
shiyanlou:bin/ $ docker image history -q                             [16:56:26]
"docker image history" requires exactly 1 argument.
See 'docker image history --help'.

Usage:  docker image history [OPTIONS] IMAGE

Show the history of an image
shiyanlou:bin/ $                                                     [16:56:37]

0 人点赞