鱼香ROS社区
    • 版块
    • 最新
    • 未解决
    • 已解决
    • 群组
    • 注册
    • 登录
    紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
    提问前必看的发帖注意事项: 社区问答规则(小鱼个人)更新 | 高质量帖子发布指南

    ROS安装没有ROS1选项

    已定时 已固定 已锁定 已移动 未解决
    一键安装
    ros1安装 apt-get报错
    3
    3
    619
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • 2
      Sunflower
      最后由 编辑

      xingshen001@ugv:~$ wget http://fishros.com/install -O fishros && . fishros
      --2024-05-07 17:00:32-- http://fishros.com/install
      Resolving fishros.com (fishros.com)... 47.119.165.169
      Connecting to fishros.com (fishros.com)|47.119.165.169|:80... connected.
      HTTP request sent, awaiting response... 301 Moved Permanently
      Location: http://fishros.com/install/ [following]
      --2024-05-07 17:00:32-- http://fishros.com/install/
      Reusing existing connection to fishros.com:80.
      HTTP request sent, awaiting response... 200 OK
      Length: 579 [application/octet-stream]
      Saving to: ‘fishros’

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

      2024-05-07 17:00:32 (20.8 MB/s) - ‘fishros’ saved [579/579]

      [sudo] password for xingshen001:
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      python3-yaml is already the newest version (3.12-1build2).
      python3-distro is already the newest version (1.0.1-2).
      The following packages were automatically installed and are no longer required:
      fltk1.3-doc fluid fonts-lato fonts-lyx gazebo9 gazebo9-common
      gazebo9-plugin-base gir1.2-geocodeglib-1.0 gir1.2-gtk-2.0 google-mock
      googletest hddtemp libapr1-dev libaprutil1 libaprutil1-dev libassimp-dev
      libassimp4 libassuan-dev libatk1.0-dev libavdevice-dev libavdevice57
      libavfilter-dev libbullet-dev libbullet2.87 libbz2-dev
      libcairo-script-interpreter2 libcairo2-dev libccd-dev libccd2
      libconsole-bridge-dev libconsole-bridge0.4 libfltk-cairo1.3 libfltk-forms1.3
      libfltk-gl1.3 libfltk-images1.3 libfltk1.3 libfltk1.3-dev libfreeimage-dev
      libfreeimage3 libgazebo9 libgazebo9-dev libgdk-pixbuf2.0-dev
      libgpg-error-dev libgpgme-dev libgraphviz-dev libgtest-dev libgtk2.0-dev
      libgts-dev libgvc6-plugins-gtk libignition-cmake-dev libignition-common
      libignition-common-dev libignition-fuel-tools1-1 libignition-fuel-tools1-dev
      libignition-math4 libignition-math4-dev libignition-msgs
      libignition-msgs-dev libignition-transport4 libignition-transport4-dev
      libjs-jquery-ui libjxr0 liblog4cxx-dev liblog4cxx10v5 liblz4-dev
      libogre-1.9-dev libogre-1.9.0v5 libopenal-dev libpango1.0-dev
      libpixman-1-dev libpoco-dev libpococrypto50 libpocodata50 libpocodatamysql50
      libpocodataodbc50 libpocodatasqlite50 libpocofoundation50 libpocojson50
      libpocomongodb50 libpoconet50 libpoconetssl50 libpocoredis50 libpocoutil50
      libpocoxml50 libpocozip50 libpostproc-dev libprotobuf-dev libprotoc-dev
      libprotoc10 libqtpropertybrowser4 libqwt-headers libqwt-qt5-6 libqwt-qt5-dev
      libruby2.5 libsctp-dev libsctp1 libsdformat6 libsdformat6-dev libsdl2-2.0-0
      libsimbody-dev libsimbody3.5v5 libspnav0 libtar-dev libtar0 libtinyxml-dev
      libtinyxml2-6 libtinyxml2-dev libturbojpeg libturbojpeg0-dev liburdfdom-dev
      liburdfdom-headers-dev liburdfdom-model liburdfdom-model-state
      liburdfdom-sensor liburdfdom-world libxcb-shm0-dev libxcomposite-dev
      libxcursor-dev libxdot4 libxinerama-dev libxml2-utils libyaml-cpp-dev
      libyaml-cpp0.5v5 libyaml-dev libzip-dev libzip4 libzmq3-dev libzzip-0-13
      protobuf-compiler pyqt5-dev python-backports.functools-lru-cache
      python-cycler python-defusedxml python-empy python-gnupg python-matplotlib
      python-matplotlib-data python-netifaces python-opengl python-paramiko
      python-psutil python-pycryptodome python-pydot python-pyqt5
      python-pyqt5.qtopengl python-pyqt5.qtsvg python-pyqt5.qtwebkit python-rospkg
      python-sip python-sip-dev python-subprocess32 python-tz python-wxtools rake
      ruby ruby-did-you-mean ruby-minitest ruby-net-telnet ruby-power-assert
      ruby-test-unit ruby2.5 rubygems-integration sbcl sdformat-sdf sip-dev
      ttf-dejavu-core x11proto-composite-dev x11proto-xinerama-dev
      Use 'sudo apt autoremove' to remove them.
      0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
      --2024-05-07 17:00:38-- http://mirror.fishros.com/install/tools/base.py
      Resolving mirror.fishros.com (mirror.fishros.com)... 47.119.165.169
      Connecting to mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 44656 (44K) [application/octet-stream]
      Saving to: ‘/tmp/fishinstall/tools/base.py’

      /tmp/fishinstall/to 100%[===================>] 43.61K 205KB/s in 0.2s

      2024-05-07 17:00:38 (205 KB/s) - ‘/tmp/fishinstall/tools/base.py’ saved [44656/44656]

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

      Run CMD Task:[wget https://fishros.org.cn/forum/topic/1733 -O /tmp/t1733 -q && rm -rf /tmp/t1733]
      [-]Result:success

      基础检查通过...

      ======欢迎使用一键安装工具,人生苦短,三省吾身,省时省力省心!=======
      ======一键安装已开源,请放心使用:https://github.com/fishros/install =======

                          .-~~~~~~~~~-._       _.-~~~~~~~~~-.
                      __.'              ~.   .~              `.__
                  .'//     开卷有益        \./     书山有路     \ `.
                  .'// 可以多看看小鱼的文章   |    关注公众号鱼香ROS  \ `.
              .'// .-~~~~~~~~~~~~~~-._     |     _,-~~~~~~~~~~~. \`.
              .'//.-"                 `-.  |  .-'                 "-.\`.
          .'//______.============-..   \ | /   ..-============.______\`.
          .'______________________________\|/______________________________`
          ----------------------------------------------------------------------
      

      RUN Choose Task:[请输入括号内的数字]
      ---众多工具,等君来用---
      ROS相关:
      [1]:一键安装(推荐):ROS(支持ROS/ROS2,树莓派Jetson)
      [3]:一键安装:rosdep(小鱼的rosdepc,又快又好用)
      [4]:一键配置:ROS环境(快速更新ROS环境设置,自动生成环境选择)
      [9]:一键安装:Cartographer(18 20测试通过,16未测. updateTime 20240125)
      [11]:一键安装:ROS Docker版(支持所有版本ROS/ROS2)
      [16]:一键安装:系统自带ROS (!!警告!!仅供特殊情况下使用)

      常用软件:
      [2]:一键安装:github桌面版(小鱼常用的github客户端)
      [6]:一键安装:NodeJS环境
      [7]:一键安装:VsCode开发工具
      [8]:一键安装:Docker
      [10]:一键安装:微信(可以在Linux上使用的微信)
      [12]:一键安装:PlateformIO MicroROS开发环境(支持Fishbot)
      [14]:一键安装:科学上网代理工具
      [15]:一键安装:QQ for Linux

      配置工具:
      [5]:一键配置:系统源(更换系统源,支持全版本Ubuntu系统)
      [13]:一键配置:python国内源

      请输入[]内的数字以选择:1
      --2024-05-07 17:00:44-- http://mirror.fishros.com/install/tools/tool_install_ros.py
      Resolving mirror.fishros.com (mirror.fishros.com)... 47.119.165.169
      Connecting to mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 19539 (19K) [application/octet-stream]
      Saving to: ‘/tmp/fishinstall/tools/tool_install_ros.py’

      /tmp/fishinstall/to 100%[===================>] 19.08K --.-KB/s in 0.02s

      2024-05-07 17:00:44 (956 KB/s) - ‘/tmp/fishinstall/tools/tool_install_ros.py’ saved [19539/19539]

      --2024-05-07 17:00:44-- http://mirror.fishros.com/install/tools/tool_config_rosenv.py
      Resolving mirror.fishros.com (mirror.fishros.com)... 47.119.165.169
      Connecting to mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 2455 (2.4K) [application/octet-stream]
      Saving to: ‘/tmp/fishinstall/tools/tool_config_rosenv.py’

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

      2024-05-07 17:00:44 (117 MB/s) - ‘/tmp/fishinstall/tools/tool_config_rosenv.py’ saved [2455/2455]

      --2024-05-07 17:00:44-- http://mirror.fishros.com/install/tools/tool_config_system_source.py
      Resolving mirror.fishros.com (mirror.fishros.com)... 47.119.165.169
      Connecting to mirror.fishros.com (mirror.fishros.com)|47.119.165.169|:80... connected.
      HTTP request sent, awaiting response... 200 OK
      Length: 7738 (7.6K) [application/octet-stream]
      Saving to: ‘/tmp/fishinstall/tools/tool_config_system_source.py’

      /tmp/fishinstall/to 100%[===================>] 7.56K --.-KB/s in 0s

      2024-05-07 17:00:44 (14.9 MB/s) - ‘/tmp/fishinstall/tools/tool_config_system_source.py’ saved [7738/7738]

      欢迎使用一键安装ROS和ROS2,支持树莓派Jetson,本工具由作者小鱼提供
      欢迎使用ROS开箱子工具,本工具由[鱼香ROS]小鱼贡献..
      小鱼:检测当前系统ubuntu18.04:bionic 支持一键安装ROS
      =========接下来这一步很很很很重要,如果不知道怎么选请选择1========
      RUN Choose Task:[请输入括号内的数字]
      新手或首次安装一定要一定要一定要换源并清理三方源,换源!!!系统默认国外源容易失败!!
      [1]:更换系统源再继续安装
      [2]:不更换继续安装
      0:quit
      请输入[]内的数字以选择:1
      欢迎使用一键换源工具,本工具由[鱼香ROS]小鱼贡献..
      RUN Choose Task:[请输入括号内的数字]
      请选择换源方式,如果不知道选什么请选2
      [1]:仅更换系统源
      [2]:更换系统源并清理第三方源
      0:quit
      请输入[]内的数字以选择:2
      Run CMD Task:[sudo rm -rf /etc/apt/sources.list]
      [-]Result:success

      删除一个资源文件
      Run CMD Task:[sudo rm -rf /etc/apt/sources.list.d]
      [-]Result:success

      Run CMD Task:[sudo mkdir -p /etc/apt/sources.list.d]
      [-]Result:success

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

      检测到当前系统架构为[arm64:bionic],正在为你更换对应源..
      创建文件:/etc/apt/sources.list
      替换完成,尝试第一次更新....
      Run CMD Task:[sudo apt update]
      [-]Result:success t --upgradable' to see them.asee

      搞定了,不信你看,累死宝宝了,还不快去给小鱼点个赞~
      ['Hit:1 https://mirrors.ustc.edu.cn/ubuntu-ports bionic InRelease', 'Hit:2 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-updates InRelease', 'Hit:3 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-backports InRelease', 'Hit:4 https://mirrors.ustc.edu.cn/ubuntu-ports bionic-security InRelease', 'Reading package lists...', 'Building dependency tree...', 'Reading state information...', "14 packages can be upgraded. Run 'apt list --upgradable' to see them."]
      镜像修复完成.....
      Run CMD Task:[sudo apt update]
      [-]Result:success t --upgradable' to see them.asee

      Run CMD Task:[sudo apt-cache search curl ]
      [/]libcurl3-gnutls - easy-to-use client-side URL transfer library (GnuTLS flavou[/]libcurl4-gnutls-dev - development files and documentation for libcurl (GnuTLS[]libcurl4-nss-dev - development files and documentation for libcurl (NSS flavo[|]libcurl4-openssl-dev - development files and documentation for libcurl (OpenS[/]libstrongswan-extra-plugins - strongSwan utility and crypto library (extra pl[|]cl-curry-compose-reader-macros - Reader macros for function partial applicati[|]flickcurl-doc - utilities to call the Flickr API from command line - document[-]gnupg1 - GNU privacy guard - a PGP implementation (deprecated "classic" versi[]golang-github-moul-http2curl-dev - Go package for convert Golang's http.Reque[]kubuntu-wallpapers-bionic - Selection of classic KDE wallpapers for Bionic Be[|]libcupt4-2-downloadmethod-curl - flexible package manager -- libcurl download[]libcurl-openssl1.0-dev - development files and documentation for libcurl (Ope[-]libflickcurl0-dbg - C library for accessing the Flickr API - debugging symbol[]libghc-curl-doc - Documentation for the libcurl Haskell bindings; documentati[|]libghc-curl-prof - Profiling libraries for the libcurl Haskell bindings; prof[-]libghc-hxt-doc - collection of tools for processing XML with Haskell; documen[]libghc-hxt-http-doc - Interface to native Haskell HTTP package HTTP; document[|]libghc-hxt-http-prof - Interface to native Haskell HTTP package HTTP; profili[-]libghc-hxt-prof - collection of tools for processing XML with Haskell; profil[/]libresource-retriever-dev - Robot OS resource_retriever library - development[]libwsman-curl-client-transport1 - Open Web Services Manager run-time librarie[-]Result:success age - all developer toolsnt filesMPD

      Run CMD Task:[sudo apt install curl -y]
      []The following packages were automatically installed and are no longer require[/] libconsole-bridge-dev libconsole-bridge0.4 libfltk-cairo1.3 libfltk-forms1.[] libignition-common-dev libignition-fuel-tools1-1 libignition-fuel-tools1-de[|] libpixman-1-dev libpoco-dev libpococrypto50 libpocodata50 libpocodatamysql5[|] libprotoc10 libqtpropertybrowser4 libqwt-headers libqwt-qt5-6 libqwt-qt5-de[|] python-pyqt5.qtopengl python-pyqt5.qtsvg python-pyqt5.qtwebkit python-rospk[-]Result:success e and 14 not upgraded. sip-devt rake

      Run CMD Task:[sudo apt-cache search gnupg2 ]
      [|]gnupg2 - GNU privacy guard - a free PGP replacement (dummy transitional packa[-]Result:success

      Run CMD Task:[sudo apt install gnupg2 -y]
      []The following packages were automatically installed and are no longer require[/] libconsole-bridge-dev libconsole-bridge0.4 libfltk-cairo1.3 libfltk-forms1.[] libignition-common-dev libignition-fuel-tools1-1 libignition-fuel-tools1-de[|] libpixman-1-dev libpoco-dev libpococrypto50 libpocodata50 libpocodatamysql5[|] libprotoc10 libqtpropertybrowser4 libqwt-headers libqwt-qt5-6 libqwt-qt5-de[|] python-pyqt5.qtopengl python-pyqt5.qtsvg python-pyqt5.qtwebkit python-rospk[-]Result:success e and 14 not upgraded. sip-devt rake

      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

      根据您的系统,为您推荐安装源为['http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/', 'http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu/']
      创建文件:/etc/apt/sources.list.d/ros-fish.list
      Run CMD Task:[sudo apt update]
      [/]Get:3 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic InRelease [4,680[/]Get:7 http://mirrors.tuna.tsinghua.edu.cn/ros2/ubuntu bionic/main arm64 Packa[-]Result:code:100

      apt更新失败,后续程序可能会继续尝试...,['\n', 'WARNING: apt does not have a stable CLI interface. Use with caution in scripts.\n', '\n', 'E: Failed to fetch http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu/dists/bionic/InRelease 403 Forbidden [IP: 101.6.15.130 80]\n', "E: The repository 'http://mirrors.tuna.tsinghua.edu.cn/ros/ubuntu bionic InRelease' is not signed.\n"]
      Run CMD Task:[sudo apt-cache search ros-base ]
      [/]ros-bouncy-ros-base - A package which extends 'ros_core' and includes other b[]ros-crystal-ros-base - A package which extends 'ros_core' and includes other [|]ros-dashing-ros-base - A package which extends 'ros_core' and includes other [-]ros-eloquent-ros-base - A package which extends 'ros_core' and includes other[-]Result:success

      恭喜,成功添加ROS源,接下来可以使用apt安装ROS或者使用[1]一键安装ROS安装!
      Run CMD Task:[sudo apt-cache search ros-base ]
      [/]ros-bouncy-ros-base - A package which extends 'ros_core' and includes other b[]ros-crystal-ros-base - A package which extends 'ros_core' and includes other [|]ros-dashing-ros-base - A package which extends 'ros_core' and includes other [-]ros-eloquent-ros-base - A package which extends 'ros_core' and includes other[-]Result:success

      RUN Choose Task:[请输入括号内的数字]
      请选择你要安装的ROS版本名称(请注意ROS1和ROS2区别):
      [1]:bouncy(ROS2)
      [2]:crystal(ROS2)
      [3]:dashing(ROS2)
      [4]:eloquent(ROS2)
      0:quit
      请输入[]内的数字以选择:

      7850457117 1 2 条回复 最后回复 回复 引用 0
      • 7850457117
        Combustible ice @2058742260
        最后由 编辑

        @2058742260 小鱼的一键安装提供的选项随着ubuntu版本不同而不同。只有一些老版本才有ros1吧

        1 条回复 最后回复 回复 引用 0
        • 1
          等待修复 @2058742260
          最后由 编辑

          @2058742260 企业微信截图_17165126834490.png

          如果你要装ROS,不装ROS2,那就不用他的一键安装,自己手动装。不过建议一键安装ROS2,方便

          1 条回复 最后回复 回复 引用 0
          • 第一个帖子
            最后一个帖子
          皖ICP备16016415号-7
          Powered by NodeBB | 鱼香ROS