docs: add "apt-get build-dep" and "dnf buildep"

So much easier and faster than installing every dependency one by one.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31945>
This commit is contained in:
Marc Herbert 2024-11-01 15:01:43 -07:00 committed by Marge Bot
parent f18dee3618
commit 56081c0b22

View file

@ -46,6 +46,9 @@ Dependencies
++++++++++++
Following are the dependencies you would need to install on linux to build and install mesa main. You can install these packages using your linux distibutions' package manager.
On Debian, Ubuntu and similar, ``sudo apt-get build-dep mesa`` installs
most of these with just one command. On Fedora and similar, ``sudo dnf
builddep mesa`` does the same.
.. note::
All these dependencies are for latest linux distros and is tested on ubuntu-24 only for now.