Installation of version Ros-indigo on Ubuntu

Source: Internet
Author: User

Ubuntu Install of ROS Indigo

We are building Debian packages for several Ubuntu platforms, listed below. These packages is more efficient than source-based builds and is our preferred installation method for Ubuntu.

If you need to install from source (notrecommended), please see Source (download-and-compile) Installation instr Uctions.

If You rely the these packages, please support OSRF.

These packages is built and hosted on infrastructure maintained and paid for by the Open Source Robotics Foundation, a 5 (c) (3) non-profit organization. If OSRF were to receive one penny for each downloaded package for just and months, we could cover our annual costs to MA   Nage, update, and host all of our online services. Consider donating to OSRF today.

Directory

    1. Ubuntu Install of ROS Indigo

      1. Configure your Ubuntu repositories

      2. Setup your Sources.list

      3. Set up your keys

      4. Installation

      5. Initialize ROSDEP

      6. Environment Setup

      7. Getting Rosinstall

      8. Build Farm Status

      9. Installation

      10. Tutorials

    InstallationConfigure your Ubuntu repositories

    Configure your Ubuntu repositories to allow "restricted," "universe," and "Multiverse." You can follow the Ubuntu guide for instructions on doing.

    Setup your Sources.list

    Setup your computer to accept software from packages.ros.org. ROS Indigo only supports saucy (13.10) and trusty (14.04) for Debian packages.

      • sudo sh-c ' echo ' Deb Http://packages.ros.org/ros/ubuntu $ (LSB_RELEASE-SC) main ">/etc/apt/sources.list.d/ Ros-latest.list '

    Mirrors

    Set up your keys
      • wget Https://raw.githubusercontent.com/ros/rosdistro/master/ros.key-O-| sudo apt-key add-
    Installation

    First, make sure your the Debian package index is up-to-date:

    •  sudo apt-get update 

      For more information on the issue see this answers.ros.org the thread or this Launchpad Issue

        • do not install these packages if is using 14.04, it'll destroy your X server :

          sudo apt-get install xserver-xorg-dev-lts-utopic mesa-common-dev-lts-utopic  libxatracker-dev-lts-utopic libopenvg1-mesa-dev-lts-utopic libgles2-mesa-dev-lts-utopic  libgles1-mesa-dev-lts-utopic libgl1-mesa-dev-lts-utopic libgbm-dev-lts-utopic  Libegl1-mesa-dev-lts-utopic

          do not install the above packages if is using 14.04, it'll destroy you R X Server

        •  sudo apt-get install libgl1-mesa-dev-lts-utopic 
        • If you are using Ubuntu trusty 14.04.2 and experience dependency issues during the ROS Installatio N, you could have the to install some additional system dependencies.

          Alternatively, try installing just this to fix dependency issues:

    There is many different libraries and tools in ROS.  We provided four default configurations to get started. You can also install ROS packages individually.

    • desktop-full Install: (Recommended) : ROS, RQT, Rviz, robot-generic libraries, 2d/3d simulators, navigation and 2 D/3d perception

      Indigo uses Gazebo 2 which is the default version of Gazebo on Trusty and is recommended. If you need to upgrade to Gazebo 3 See these instructions about what to upgrade the simulator.

      Desktop Install: ROS, RQT, Rviz, and robot-generic libraries

      ros-base: (Bare Bones) ROS package, build, and communication libraries. No GUI Tools.

      Individual Package: You can also install a specific ROS package (replace underscores with dashes of the package name):

        • sudo apt-get install Ros-indigo-package

          e.g.

          sudo apt-get install ros-indigo-slam-gmapping
        • sudo apt-get install Ros-indigo-ros-base

          or click here

        • sudo apt-get install Ros-indigo-desktop

          or click here

        • sudo apt-get install Ros-indigo-desktop-full

          or click here

    To find available packages, use:

    Apt-cache Search Ros-indigo
    Initialize ROSDEP

    Before can use ROS and you'll need to initialize ROSDEP. ROSDEP enables you-easily install system dependencies for source, want to compile and are required to run some core Components in ROS.

    sudo rosdep init rosdep update
    Environment Setup

    It ' s convenient if the ROS environment variables is automatically added to your bash session every time a new shell is Launched:

    echo "Source/opt/ros/indigo/setup.bash" >> ~/.BASHRC source ~/.BASHRC

    If you had more than than one ROS distribution installed, ~/.BASHRC must only source the Setup.bash for the version of you AR e currently using.

    If you just want to change the environment of your current shell, you can type:

    Source/opt/ros/indigo/setup.bash
    Getting Rosinstall

    Rosinstall is a frequently used command-line tool in ROS it is distributed separately. It enables easily download many source trees for ROS packages with one command.

    To install the tool on Ubuntu, run:

    sudo apt-get install Python-rosinstall
    Build Farm Status

    The packages-installed were built by ROS build farm. You can check the status of individual packages here.

    Tutorials

    Now, to test your installation, please proceed to the ROS tutorials.


    Installation of version Ros-indigo on Ubuntu

    Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.