How To Install openxr on Fedora 36

In this tutorial we learn how to install openxr in Fedora 36. openxr is An API for writing VR and AR software

Introduction

In this tutorial we learn how to install openxr on Fedora 36.

What is openxr

OpenXR is an API specification for writing portable, cross-platform, virtual reality (VR) and augmented reality (AR) software.

We can use yum or dnf to install openxr on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install openxr.

Install openxr on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install openxr using dnf by running the following command:

sudo dnf -y install openxr

Install openxr on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install openxr using yum by running the following command:

sudo yum -y install openxr

How To Uninstall openxr on Fedora 36

To uninstall only the openxr package we can use the following command:

sudo dnf remove openxr

openxr Package Contents on Fedora 36

/usr/bin/hello_xr
/usr/bin/openxr_runtime_list
/usr/lib/.build-id
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/286a2033e65dcc2590f118dabbfd0642c55d45
/usr/lib/.build-id/70
/usr/lib/.build-id/70/2b56c5d3bb1587beb9074a5ef81cb767f51490
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/6e4d8cac0a85caeb5f65b1ad9db25e428653c7
/usr/lib/.build-id/b5
/usr/lib/.build-id/b5/7fcca05a85e974f0bbcc292ed99490889aae6c
/usr/lib64/libXrApiLayer_api_dump.so
/usr/lib64/libXrApiLayer_core_validation.so
/usr/lib64/libopenxr_loader.so
/usr/share/doc/openxr
/usr/share/doc/openxr/CHANGELOG.SDK.md
/usr/share/doc/openxr/LICENSE
/usr/share/doc/openxr/README.md
/usr/share/licenses/openxr
/usr/share/licenses/openxr/LICENSE
/usr/share/man/man1/hello_xr.1.gz
/usr/share/man/man1/openxr_runtime_list.1.gz
/usr/share/openxr
/usr/share/openxr/1
/usr/share/openxr/1/api_layers
/usr/share/openxr/1/api_layers/explicit.d
/usr/share/openxr/1/api_layers/explicit.d/XrApiLayer_api_dump.json
/usr/share/openxr/1/api_layers/explicit.d/XrApiLayer_core_validation.json

References

Summary

In this tutorial we learn how to install openxr on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).