Tutorials

How to Install Raylib

How to install Raylib on Ubuntu from the command line:

  • sudo apt install g++ cmake git
  • sudo apt install libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev libwayland-dev libxkbcommon-dev
  • git clone --depth 1 https://github.com/raysan5/raylib.git raylib
  • cd raylib/src
  • make PLATFORM=PLATFORM_DESKTOP -j4
  • sudo make install

Options: