Arch Linux install of ROS Noetic

Arch Linux packages are available for the following architectures.

Version

amd64

i686

arm

armv6h

armv7h

aarch64

Arch Linux

X

X

X

X

X

X

Installation

Before you start

Since you'll be installing a lot of packages, it is recommended to use an AUR helper like paru. This tutorial will assume the use of paru as the AUR helper.

Installation

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

  • Desktop-Full Install: (Recommended) : ROS, rqt, rviz, robot-generic libraries, 2D/3D simulators, navigation and 2D/3D perception

    • paru -S ros-noetic-desktop-full

    Desktop Install: ROS, rqt, rviz, and robot-generic libraries

    • paru -S ros-noetic-desktop

    ROS-Base: (Bare Bones) ROS package, build, and communication libraries. No GUI tools.

    • paru -S ros-noetic-ros-base

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

    • paru -S ros-noetic-PACKAGE
      • e.g.
      paru -S ros-noetic-slam-gmapping

To find available packages, use:

paru -Ss ros-noetic

Initialize rosdep

Before you can use ROS, you will need to initialize rosdep. rosdep enables you to easily install system dependencies for source you want to compile and is required to run some core components in ROS.

sudo rosdep init
rosdep update

Environment setup

You must source this script in every bash terminal you use ROS in.

source /opt/ros/noetic/setup.bash

It can be convenient to automatically source this script every time a new shell is launched. These commands will do that for you.

Bash

If you have more than one ROS distribution installed, ~/.bashrc must only source the setup.bash for the version you are currently using.

echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
source ~/.bashrc

zsh

echo "source /opt/ros/noetic/setup.zsh" >> ~/.zshrc
source ~/.zshrc

Tutorials

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

Wiki: noetic/Installation/ArchLinux (last edited 2022-04-02 16:19:39 by acxz)