How To Install glm-devel on Rocky Linux 8

In this tutorial we learn how to install glm-devel on Rocky Linux 8. glm-devel is C++ mathematics library for graphics programming

Introduction

In this tutorial we learn how to install glm-devel on Rocky Linux 8.

What is glm-devel

GLM is a C++ library for doing mathematics operations required in many OpenGL based applications. Its interface has been designed to resemble the built-in matrix and vector types of the OpenGL shading language. glm-devel is only required for building software that uses the GLM library. Because GLM currently is a header-only library, there is no matching run time package.

We can use yum or dnf to install glm-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install glm-devel.

Install glm-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install glm-devel

Install glm-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install glm-devel using yum by running the following command:

sudo yum -y install glm-devel

How To Uninstall glm-devel on Rocky Linux 8

To uninstall only the glm-devel package we can use the following command:

sudo dnf remove glm-devel

glm-devel Package Contents on Rocky Linux 8

/usr/include/glm
/usr/include/glm/common.hpp
/usr/include/glm/detail
/usr/include/glm/detail/_features.hpp
/usr/include/glm/detail/_fixes.hpp
/usr/include/glm/detail/_noise.hpp
/usr/include/glm/detail/_swizzle.hpp
/usr/include/glm/detail/_swizzle_func.hpp
/usr/include/glm/detail/_vectorize.hpp
/usr/include/glm/detail/dummy.cpp
/usr/include/glm/detail/func_common.hpp
/usr/include/glm/detail/func_common.inl
/usr/include/glm/detail/func_common_simd.inl
/usr/include/glm/detail/func_exponential.hpp
/usr/include/glm/detail/func_exponential.inl
/usr/include/glm/detail/func_exponential_simd.inl
/usr/include/glm/detail/func_geometric.hpp
/usr/include/glm/detail/func_geometric.inl
/usr/include/glm/detail/func_geometric_simd.inl
/usr/include/glm/detail/func_integer.hpp
/usr/include/glm/detail/func_integer.inl
/usr/include/glm/detail/func_integer_simd.inl
/usr/include/glm/detail/func_matrix.hpp
/usr/include/glm/detail/func_matrix.inl
/usr/include/glm/detail/func_matrix_simd.inl
/usr/include/glm/detail/func_packing.hpp
/usr/include/glm/detail/func_packing.inl
/usr/include/glm/detail/func_packing_simd.inl
/usr/include/glm/detail/func_trigonometric.hpp
/usr/include/glm/detail/func_trigonometric.inl
/usr/include/glm/detail/func_trigonometric_simd.inl
/usr/include/glm/detail/func_vector_relational.hpp
/usr/include/glm/detail/func_vector_relational.inl
/usr/include/glm/detail/func_vector_relational_simd.inl
/usr/include/glm/detail/glm.cpp
/usr/include/glm/detail/precision.hpp
/usr/include/glm/detail/setup.hpp
/usr/include/glm/detail/type_float.hpp
/usr/include/glm/detail/type_gentype.hpp
/usr/include/glm/detail/type_gentype.inl
/usr/include/glm/detail/type_half.hpp
/usr/include/glm/detail/type_half.inl
/usr/include/glm/detail/type_int.hpp
/usr/include/glm/detail/type_mat.hpp
/usr/include/glm/detail/type_mat.inl
/usr/include/glm/detail/type_mat2x2.hpp
/usr/include/glm/detail/type_mat2x2.inl
/usr/include/glm/detail/type_mat2x3.hpp
/usr/include/glm/detail/type_mat2x3.inl
/usr/include/glm/detail/type_mat2x4.hpp
/usr/include/glm/detail/type_mat2x4.inl
/usr/include/glm/detail/type_mat3x2.hpp
/usr/include/glm/detail/type_mat3x2.inl
/usr/include/glm/detail/type_mat3x3.hpp
/usr/include/glm/detail/type_mat3x3.inl
/usr/include/glm/detail/type_mat3x4.hpp
/usr/include/glm/detail/type_mat3x4.inl
/usr/include/glm/detail/type_mat4x2.hpp
/usr/include/glm/detail/type_mat4x2.inl
/usr/include/glm/detail/type_mat4x3.hpp
/usr/include/glm/detail/type_mat4x3.inl
/usr/include/glm/detail/type_mat4x4.hpp
/usr/include/glm/detail/type_mat4x4.inl
/usr/include/glm/detail/type_mat4x4_simd.inl
/usr/include/glm/detail/type_vec.hpp
/usr/include/glm/detail/type_vec.inl
/usr/include/glm/detail/type_vec1.hpp
/usr/include/glm/detail/type_vec1.inl
/usr/include/glm/detail/type_vec2.hpp
/usr/include/glm/detail/type_vec2.inl
/usr/include/glm/detail/type_vec3.hpp
/usr/include/glm/detail/type_vec3.inl
/usr/include/glm/detail/type_vec4.hpp
/usr/include/glm/detail/type_vec4.inl
/usr/include/glm/detail/type_vec4_simd.inl
/usr/include/glm/exponential.hpp
/usr/include/glm/ext.hpp
/usr/include/glm/fwd.hpp
/usr/include/glm/geometric.hpp
/usr/include/glm/glm.hpp
/usr/include/glm/gtc
/usr/include/glm/gtc/bitfield.hpp
/usr/include/glm/gtc/bitfield.inl
/usr/include/glm/gtc/color_encoding.inl
/usr/include/glm/gtc/color_space.hpp
/usr/include/glm/gtc/color_space.inl
/usr/include/glm/gtc/constants.hpp
/usr/include/glm/gtc/constants.inl
/usr/include/glm/gtc/epsilon.hpp
/usr/include/glm/gtc/epsilon.inl
/usr/include/glm/gtc/functions.hpp
/usr/include/glm/gtc/functions.inl
/usr/include/glm/gtc/integer.hpp
/usr/include/glm/gtc/integer.inl
/usr/include/glm/gtc/matrix_access.hpp
/usr/include/glm/gtc/matrix_access.inl
/usr/include/glm/gtc/matrix_integer.hpp
/usr/include/glm/gtc/matrix_inverse.hpp
/usr/include/glm/gtc/matrix_inverse.inl
/usr/include/glm/gtc/matrix_transform.hpp
/usr/include/glm/gtc/matrix_transform.inl
/usr/include/glm/gtc/noise.hpp
/usr/include/glm/gtc/noise.inl
/usr/include/glm/gtc/packing.hpp
/usr/include/glm/gtc/packing.inl
/usr/include/glm/gtc/quaternion.hpp
/usr/include/glm/gtc/quaternion.inl
/usr/include/glm/gtc/quaternion_simd.inl
/usr/include/glm/gtc/random.hpp
/usr/include/glm/gtc/random.inl
/usr/include/glm/gtc/reciprocal.hpp
/usr/include/glm/gtc/reciprocal.inl
/usr/include/glm/gtc/round.hpp
/usr/include/glm/gtc/round.inl
/usr/include/glm/gtc/type_aligned.hpp
/usr/include/glm/gtc/type_precision.hpp
/usr/include/glm/gtc/type_precision.inl
/usr/include/glm/gtc/type_ptr.hpp
/usr/include/glm/gtc/type_ptr.inl
/usr/include/glm/gtc/ulp.hpp
/usr/include/glm/gtc/ulp.inl
/usr/include/glm/gtc/ulp.inl.ulp
/usr/include/glm/gtc/vec1.hpp
/usr/include/glm/gtc/vec1.inl
/usr/include/glm/gtx
/usr/include/glm/gtx/associated_min_max.hpp
/usr/include/glm/gtx/associated_min_max.inl
/usr/include/glm/gtx/bit.hpp
/usr/include/glm/gtx/bit.inl
/usr/include/glm/gtx/closest_point.hpp
/usr/include/glm/gtx/closest_point.inl
/usr/include/glm/gtx/color_space.hpp
/usr/include/glm/gtx/color_space.inl
/usr/include/glm/gtx/color_space_YCoCg.hpp
/usr/include/glm/gtx/color_space_YCoCg.inl
/usr/include/glm/gtx/common.hpp
/usr/include/glm/gtx/common.inl
/usr/include/glm/gtx/compatibility.hpp
/usr/include/glm/gtx/compatibility.inl
/usr/include/glm/gtx/component_wise.hpp
/usr/include/glm/gtx/component_wise.inl
/usr/include/glm/gtx/dual_quaternion.hpp
/usr/include/glm/gtx/dual_quaternion.inl
/usr/include/glm/gtx/euler_angles.hpp
/usr/include/glm/gtx/euler_angles.inl
/usr/include/glm/gtx/extend.hpp
/usr/include/glm/gtx/extend.inl
/usr/include/glm/gtx/extended_min_max.hpp
/usr/include/glm/gtx/extended_min_max.inl
/usr/include/glm/gtx/fast_exponential.hpp
/usr/include/glm/gtx/fast_exponential.inl
/usr/include/glm/gtx/fast_square_root.hpp
/usr/include/glm/gtx/fast_square_root.inl
/usr/include/glm/gtx/fast_trigonometry.hpp
/usr/include/glm/gtx/fast_trigonometry.inl
/usr/include/glm/gtx/float_notmalize.inl
/usr/include/glm/gtx/gradient_paint.hpp
/usr/include/glm/gtx/gradient_paint.inl
/usr/include/glm/gtx/handed_coordinate_space.hpp
/usr/include/glm/gtx/handed_coordinate_space.inl
/usr/include/glm/gtx/hash.hpp
/usr/include/glm/gtx/hash.inl
/usr/include/glm/gtx/integer.hpp
/usr/include/glm/gtx/integer.inl
/usr/include/glm/gtx/intersect.hpp
/usr/include/glm/gtx/intersect.inl
/usr/include/glm/gtx/io.hpp
/usr/include/glm/gtx/io.inl
/usr/include/glm/gtx/log_base.hpp
/usr/include/glm/gtx/log_base.inl
/usr/include/glm/gtx/matrix_cross_product.hpp
/usr/include/glm/gtx/matrix_cross_product.inl
/usr/include/glm/gtx/matrix_decompose.hpp
/usr/include/glm/gtx/matrix_decompose.inl
/usr/include/glm/gtx/matrix_interpolation.hpp
/usr/include/glm/gtx/matrix_interpolation.inl
/usr/include/glm/gtx/matrix_major_storage.hpp
/usr/include/glm/gtx/matrix_major_storage.inl
/usr/include/glm/gtx/matrix_operation.hpp
/usr/include/glm/gtx/matrix_operation.inl
/usr/include/glm/gtx/matrix_query.hpp
/usr/include/glm/gtx/matrix_query.inl
/usr/include/glm/gtx/matrix_transform_2d.hpp
/usr/include/glm/gtx/matrix_transform_2d.inl
/usr/include/glm/gtx/mixed_product.hpp
/usr/include/glm/gtx/mixed_product.inl
/usr/include/glm/gtx/norm.hpp
/usr/include/glm/gtx/norm.inl
/usr/include/glm/gtx/normal.hpp
/usr/include/glm/gtx/normal.inl
/usr/include/glm/gtx/normalize_dot.hpp
/usr/include/glm/gtx/normalize_dot.inl
/usr/include/glm/gtx/number_precision.hpp
/usr/include/glm/gtx/number_precision.inl
/usr/include/glm/gtx/optimum_pow.hpp
/usr/include/glm/gtx/optimum_pow.inl
/usr/include/glm/gtx/orthonormalize.hpp
/usr/include/glm/gtx/orthonormalize.inl
/usr/include/glm/gtx/perpendicular.hpp
/usr/include/glm/gtx/perpendicular.inl
/usr/include/glm/gtx/polar_coordinates.hpp
/usr/include/glm/gtx/polar_coordinates.inl
/usr/include/glm/gtx/projection.hpp
/usr/include/glm/gtx/projection.inl
/usr/include/glm/gtx/quaternion.hpp
/usr/include/glm/gtx/quaternion.inl
/usr/include/glm/gtx/range.hpp
/usr/include/glm/gtx/raw_data.hpp
/usr/include/glm/gtx/raw_data.inl
/usr/include/glm/gtx/rotate_normalized_axis.hpp
/usr/include/glm/gtx/rotate_normalized_axis.inl
/usr/include/glm/gtx/rotate_vector.hpp
/usr/include/glm/gtx/rotate_vector.inl
/usr/include/glm/gtx/scalar_multiplication.hpp
/usr/include/glm/gtx/scalar_relational.hpp
/usr/include/glm/gtx/scalar_relational.inl
/usr/include/glm/gtx/spline.hpp
/usr/include/glm/gtx/spline.inl
/usr/include/glm/gtx/std_based_type.hpp
/usr/include/glm/gtx/std_based_type.inl
/usr/include/glm/gtx/string_cast.hpp
/usr/include/glm/gtx/string_cast.inl
/usr/include/glm/gtx/transform.hpp
/usr/include/glm/gtx/transform.inl
/usr/include/glm/gtx/transform2.hpp
/usr/include/glm/gtx/transform2.inl
/usr/include/glm/gtx/type_aligned.hpp
/usr/include/glm/gtx/type_aligned.inl
/usr/include/glm/gtx/type_trait.hpp
/usr/include/glm/gtx/type_trait.inl
/usr/include/glm/gtx/vector_angle.hpp
/usr/include/glm/gtx/vector_angle.inl
/usr/include/glm/gtx/vector_query.hpp
/usr/include/glm/gtx/vector_query.inl
/usr/include/glm/gtx/wrap.hpp
/usr/include/glm/gtx/wrap.inl
/usr/include/glm/integer.hpp
/usr/include/glm/mat2x2.hpp
/usr/include/glm/mat2x3.hpp
/usr/include/glm/mat2x4.hpp
/usr/include/glm/mat3x2.hpp
/usr/include/glm/mat3x3.hpp
/usr/include/glm/mat3x4.hpp
/usr/include/glm/mat4x2.hpp
/usr/include/glm/mat4x3.hpp
/usr/include/glm/mat4x4.hpp
/usr/include/glm/matrix.hpp
/usr/include/glm/packing.hpp
/usr/include/glm/simd
/usr/include/glm/simd/common.h
/usr/include/glm/simd/exponential.h
/usr/include/glm/simd/geometric.h
/usr/include/glm/simd/integer.h
/usr/include/glm/simd/matrix.h
/usr/include/glm/simd/packing.h
/usr/include/glm/simd/platform.h
/usr/include/glm/simd/platform.h.compiler-list
/usr/include/glm/simd/trigonometric.h
/usr/include/glm/simd/vector_relational.h
/usr/include/glm/trigonometric.hpp
/usr/include/glm/vec2.hpp
/usr/include/glm/vec3.hpp
/usr/include/glm/vec4.hpp
/usr/include/glm/vector_relational.hpp
/usr/share/cmake
/usr/share/cmake/glm
/usr/share/cmake/glm/glmConfig.cmake
/usr/share/cmake/glm/glmConfigVersion.cmake
/usr/share/cmake/glm/glmTargets.cmake
/usr/share/doc/glm-devel
/usr/share/doc/glm-devel/copying.txt
/usr/share/doc/glm-devel/readme.md
/usr/share/pkgconfig
/usr/share/pkgconfig/glm.pc

References

Summary

In this tutorial we learn how to install glm-devel on Rocky Linux 8 using yum and dnf.