ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Install ROS on Arch Linux on Raspberry Pi

asked 2012-10-07 02:39:06 -0600

Kevin gravatar image

updated 2014-01-28 17:13:51 -0600

ngrennan gravatar image

Has anyone successfully installed ROS Arch Linux on Raspberry Pi? I saw @MarkyMark2012 got ROS going on Debian and RPi here.

I tried following the Arch Linux instructions but they don't work. There appears to be no tool called "packer" either installed by default or found using pacman (their package installer). Also the work around for python didn't work at all for me ... I just got lots of errors.

Before I waste a lot of time figuring out my issues with python ... just wondering if anyone has already solved this and documented it somewhere? Or is there an SD Card image available I could just download?


edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2012-10-29 02:53:04 -0600

Kevin gravatar image

I gave up on ROS on Arch Linux because of the Python 3 issues. I ran into too many issues getting ROS to work with what it likes (python 2) and what Arch likes (python 3).

edit flag offensive delete link more

answered 2012-10-07 23:51:45 -0600

Lorenz gravatar image

First of all, I never tried that. But I think building at lest the core ROS components shoudl work.

You can get packer from the AUR database.

The python issue is a little tricky. The first approach that is mentioned on the wiki page is to change the link /usr/bin/python to point to python2. You shouldn't do that because there is the great risk that you break half of the system by doing that. The second approach, i.e. replacing all #! python lines to explicitly call python2 can be quite tedious because you might still need manual fixes. However, rosinstall/rosws should work with python3 already. I suggest to install them using pip or pip2 if you want to use python2. If you can edit your original post and add some of the error messages you get, I might be able to help.

I wrapped a few ROS Electric packages into AUR files and I'm still working on getting clean packages for Fuerte. You can find what I have so far on github.

edit flag offensive delete link more

answered 2014-02-26 02:13:39 -0600

bchr gravatar image

updated 2014-04-09 01:28:32 -0600

To make a quick update on @Lorenz's answer, there are now AUR packages for Groovy and Hydro (based on the work previously done by @Lorenz). Python2/3 errors are automatically fixed when building them, so all you need to do is follow the instructions available in the ROS wiki. If you use yaourt, you just need to type:

$ yaourt ros-hydro

and choose the packages that you need. Note that Hydro has more support than Groovy.

Since only i686 and x86_64 are currently tested for AUR packages, the easiest way is probably to fork the GitHub project that contains the PKGBUILDs, and run makepkg -Acsi (in hydro/roscore for instance) to build the packages that you want while ignoring architecture checks

edit flag offensive delete link more

Question Tools


Asked: 2012-10-07 02:39:06 -0600

Seen: 1,622 times

Last updated: Apr 09 '14