Skip to content

Instantly share code, notes, and snippets.

@loganzartman
Last active January 19, 2021 00:53
Show Gist options
  • Save loganzartman/6cf437600525eeccb26423c510ceae83 to your computer and use it in GitHub Desktop.
Save loganzartman/6cf437600525eeccb26423c510ceae83 to your computer and use it in GitHub Desktop.
ROS installation/etc tricks on arch linux

no warranty express or implied

Install/Remove

  • install instructions
  • (bad practice) minimal install w/ trizen:
    trizen --noconfirm --sudo-autorepeat-at-runtime -Sy ros-melodic-ros-base
    • might need to set sudo_remove_timestamp => 0 in ~/.config/trizen/trizen.conf
  • remove all ROS packages:
    sudo pacman -Rs $(pacman -Qsq ros-melodic-)

Troubleshooting

  • rosout: error while loading shared libraries: libboost_thread.so.1.69
    1. try updating your LD_LIBRARY_PATH in .zshrc:
      export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"/opt/boost1.69/lib"
  • ImportError: No module named rospkg when running Python scripts:
    1. Make sure you're running python and not e.g. python2
    2. try installing rospkg:
      trizen -Sy --noconfirm python-rospkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment