Package Details: mujoco-bin 2.00-3

Git Clone URL: https://aur.archlinux.org/mujoco-bin.git (read-only, click to copy)
Package Base: mujoco-bin
Description: A fast and accurate physics engine for research and development.
Upstream URL: https://www.roboti.us
Licenses: custom
Conflicts: mujoco
Provides: mujoco
Submitter: elanglois
Maintainer: elanglois
Last Packager: elanglois
Votes: 2
Popularity: 0.054907
First Submitted: 2020-04-07 23:12
Last Updated: 2020-04-09 03:10

Pinned Comments

elanglois commented on 2020-04-07 23:42

MuJoCo Requires a License
Libraries
  • It should be possible to use this entirely with the system GL/GLEW/GLFW/Mesa libraries.
  • MuJoCo's own copies of the libraries are installed in /opt/mujoco/bin if you prefer to use those, but doing so may require LD_LIBRARY_PATH hacks.
Mujoco-py

To use with mujoco-py you can either:

  • Install python-mujoco-py from the aur, which has been patched to hopefully work out of the box with the installed mujoco without any environment variables required.

or

  • Install the official mujoco-py from pip or elsewhere and set the regular environment variables required by mujoco-py when mujoco is not in $HOME/.mujoco:
    • LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/mujoco/bin (set this before installing mujoco-py)
    • MUJOCO_PY_PYTHON_PATH=/opt/mujoco
    • MUJOCO_PY_MJKEY_PATH=/usr/share/licenses/mujoco/mjkey.txt
    • LD_PRELOAD=/usr/lib/libGLEW.so (only if getting an error about missing GL version)

Latest Comments

elanglois commented on 2020-04-07 23:42

MuJoCo Requires a License
Libraries
  • It should be possible to use this entirely with the system GL/GLEW/GLFW/Mesa libraries.
  • MuJoCo's own copies of the libraries are installed in /opt/mujoco/bin if you prefer to use those, but doing so may require LD_LIBRARY_PATH hacks.
Mujoco-py

To use with mujoco-py you can either:

  • Install python-mujoco-py from the aur, which has been patched to hopefully work out of the box with the installed mujoco without any environment variables required.

or

  • Install the official mujoco-py from pip or elsewhere and set the regular environment variables required by mujoco-py when mujoco is not in $HOME/.mujoco:
    • LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/mujoco/bin (set this before installing mujoco-py)
    • MUJOCO_PY_PYTHON_PATH=/opt/mujoco
    • MUJOCO_PY_MJKEY_PATH=/usr/share/licenses/mujoco/mjkey.txt
    • LD_PRELOAD=/usr/lib/libGLEW.so (only if getting an error about missing GL version)