How To Install Box2D-devel on Fedora 36

In this tutorial we learn how to install Box2D-devel in Fedora 36. Box2D-devel is Development files for Box2D

Introduction

In this tutorial we learn how to install Box2D-devel on Fedora 36.

What is Box2D-devel

Box2D is an open source C++ engine for simulating rigid bodies in 2D. Box2D is developed by Erin Catto and has the zlib license. While the zlib license does not require acknowledgement, we encourage you to give credit to Box2D in your product. These are the development files.

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

Install Box2D-devel 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 Box2D-devel using dnf by running the following command:

sudo dnf -y install Box2D-devel

Install Box2D-devel 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 Box2D-devel using yum by running the following command:

sudo yum -y install Box2D-devel

How To Uninstall Box2D-devel on Fedora 36

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

sudo dnf remove Box2D-devel

Box2D-devel Package Contents on Fedora 36

/usr/include/box2d
/usr/include/box2d/b2_api.h
/usr/include/box2d/b2_block_allocator.h
/usr/include/box2d/b2_body.h
/usr/include/box2d/b2_broad_phase.h
/usr/include/box2d/b2_chain_shape.h
/usr/include/box2d/b2_circle_shape.h
/usr/include/box2d/b2_collision.h
/usr/include/box2d/b2_common.h
/usr/include/box2d/b2_contact.h
/usr/include/box2d/b2_contact_manager.h
/usr/include/box2d/b2_distance.h
/usr/include/box2d/b2_distance_joint.h
/usr/include/box2d/b2_draw.h
/usr/include/box2d/b2_dynamic_tree.h
/usr/include/box2d/b2_edge_shape.h
/usr/include/box2d/b2_fixture.h
/usr/include/box2d/b2_friction_joint.h
/usr/include/box2d/b2_gear_joint.h
/usr/include/box2d/b2_growable_stack.h
/usr/include/box2d/b2_joint.h
/usr/include/box2d/b2_math.h
/usr/include/box2d/b2_motor_joint.h
/usr/include/box2d/b2_mouse_joint.h
/usr/include/box2d/b2_polygon_shape.h
/usr/include/box2d/b2_prismatic_joint.h
/usr/include/box2d/b2_pulley_joint.h
/usr/include/box2d/b2_revolute_joint.h
/usr/include/box2d/b2_rope.h
/usr/include/box2d/b2_settings.h
/usr/include/box2d/b2_shape.h
/usr/include/box2d/b2_stack_allocator.h
/usr/include/box2d/b2_time_of_impact.h
/usr/include/box2d/b2_time_step.h
/usr/include/box2d/b2_timer.h
/usr/include/box2d/b2_types.h
/usr/include/box2d/b2_weld_joint.h
/usr/include/box2d/b2_wheel_joint.h
/usr/include/box2d/b2_world.h
/usr/include/box2d/b2_world_callbacks.h
/usr/include/box2d/box2d.h
/usr/lib/cmake/box2d/box2dConfig-noconfig.cmake
/usr/lib/cmake/box2d/box2dConfig.cmake
/usr/lib/cmake/box2d/box2dConfigVersion.cmake
/usr/lib/libbox2d.so
/usr/share/doc/Box2D-devel
/usr/share/doc/Box2D-devel/README.md
/usr/share/doc/Box2D-devel/docs
/usr/share/doc/Box2D-devel/docs/CMakeLists.txt
/usr/share/doc/Box2D-devel/docs/Doxyfile.in
/usr/share/doc/Box2D-devel/docs/FAQ.md
/usr/share/doc/Box2D-devel/docs/collision.md
/usr/share/doc/Box2D-devel/docs/common.md
/usr/share/doc/Box2D-devel/docs/copycss.sh
/usr/share/doc/Box2D-devel/docs/dynamics.md
/usr/share/doc/Box2D-devel/docs/extra.css
/usr/share/doc/Box2D-devel/docs/hello.md
/usr/share/doc/Box2D-devel/docs/images
/usr/share/doc/Box2D-devel/docs/images/body_origin.gif
/usr/share/doc/Box2D-devel/docs/images/captured_toi.svg
/usr/share/doc/Box2D-devel/docs/images/chain_loop_inwards.svg
/usr/share/doc/Box2D-devel/docs/images/chain_loop_outwards.svg
/usr/share/doc/Box2D-devel/docs/images/chain_shape.svg
/usr/share/doc/Box2D-devel/docs/images/convex_concave.gif
/usr/share/doc/Box2D-devel/docs/images/debug_draw.png
/usr/share/doc/Box2D-devel/docs/images/distance.svg
/usr/share/doc/Box2D-devel/docs/images/distance_joint.gif
/usr/share/doc/Box2D-devel/docs/images/gear_joint.gif
/usr/share/doc/Box2D-devel/docs/images/ghost_collision.svg
/usr/share/doc/Box2D-devel/docs/images/ghost_vertices.svg
/usr/share/doc/Box2D-devel/docs/images/logo.svg
/usr/share/doc/Box2D-devel/docs/images/manifolds.svg
/usr/share/doc/Box2D-devel/docs/images/missed_toi.svg
/usr/share/doc/Box2D-devel/docs/images/modules.svg
/usr/share/doc/Box2D-devel/docs/images/overlap_test.svg
/usr/share/doc/Box2D-devel/docs/images/prismatic_joint.gif
/usr/share/doc/Box2D-devel/docs/images/pulley_joint.gif
/usr/share/doc/Box2D-devel/docs/images/raycast.svg
/usr/share/doc/Box2D-devel/docs/images/revolute_joint.gif
/usr/share/doc/Box2D-devel/docs/images/self_intersect.svg
/usr/share/doc/Box2D-devel/docs/images/skin_collision.svg
/usr/share/doc/Box2D-devel/docs/images/skinned_polygon.svg
/usr/share/doc/Box2D-devel/docs/images/testbed.png
/usr/share/doc/Box2D-devel/docs/images/tunneling1.svg
/usr/share/doc/Box2D-devel/docs/images/tunneling2.svg
/usr/share/doc/Box2D-devel/docs/images/wheel_joint.svg
/usr/share/doc/Box2D-devel/docs/images/winding.svg
/usr/share/doc/Box2D-devel/docs/loose_ends.md
/usr/share/doc/Box2D-devel/docs/overview.md
/usr/share/doc/Box2D-devel/docs/references.md
/usr/share/doc/Box2D-devel/docs/testbed.md
---

title: “How To Install Box2D-devel on Fedora 36”

linkTitle: “Box2D-devel”

References

type: “docs”

description: “In this tutorial we learn how to install Box2D-devel in Fedora 36. Box2D-devel is Development files for Box2D”

lastmod: “2022-08-17”

Summary

#image: /images/fedora/36/Box2D-devel-featured.png

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

Introduction

In this tutorial we learn how to install Box2D-devel on Fedora 36.

What is Box2D-devel

Box2D is an open source C++ engine for simulating rigid bodies in 2D. Box2D is developed by Erin Catto and has the zlib license. While the zlib license does not require acknowledgement, we encourage you to give credit to Box2D in your product. These are the development files.

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

Install Box2D-devel 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 Box2D-devel using dnf by running the following command:

sudo dnf -y install Box2D-devel

Install Box2D-devel 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 Box2D-devel using yum by running the following command:

sudo yum -y install Box2D-devel

How To Uninstall Box2D-devel on Fedora 36

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

sudo dnf remove Box2D-devel

Box2D-devel Package Contents on Fedora 36

/usr/include/box2d
/usr/include/box2d/b2_api.h
/usr/include/box2d/b2_block_allocator.h
/usr/include/box2d/b2_body.h
/usr/include/box2d/b2_broad_phase.h
/usr/include/box2d/b2_chain_shape.h
/usr/include/box2d/b2_circle_shape.h
/usr/include/box2d/b2_collision.h
/usr/include/box2d/b2_common.h
/usr/include/box2d/b2_contact.h
/usr/include/box2d/b2_contact_manager.h
/usr/include/box2d/b2_distance.h
/usr/include/box2d/b2_distance_joint.h
/usr/include/box2d/b2_draw.h
/usr/include/box2d/b2_dynamic_tree.h
/usr/include/box2d/b2_edge_shape.h
/usr/include/box2d/b2_fixture.h
/usr/include/box2d/b2_friction_joint.h
/usr/include/box2d/b2_gear_joint.h
/usr/include/box2d/b2_growable_stack.h
/usr/include/box2d/b2_joint.h
/usr/include/box2d/b2_math.h
/usr/include/box2d/b2_motor_joint.h
/usr/include/box2d/b2_mouse_joint.h
/usr/include/box2d/b2_polygon_shape.h
/usr/include/box2d/b2_prismatic_joint.h
/usr/include/box2d/b2_pulley_joint.h
/usr/include/box2d/b2_revolute_joint.h
/usr/include/box2d/b2_rope.h
/usr/include/box2d/b2_settings.h
/usr/include/box2d/b2_shape.h
/usr/include/box2d/b2_stack_allocator.h
/usr/include/box2d/b2_time_of_impact.h
/usr/include/box2d/b2_time_step.h
/usr/include/box2d/b2_timer.h
/usr/include/box2d/b2_types.h
/usr/include/box2d/b2_weld_joint.h
/usr/include/box2d/b2_wheel_joint.h
/usr/include/box2d/b2_world.h
/usr/include/box2d/b2_world_callbacks.h
/usr/include/box2d/box2d.h
/usr/lib64/cmake/box2d/box2dConfig-noconfig.cmake
/usr/lib64/cmake/box2d/box2dConfig.cmake
/usr/lib64/cmake/box2d/box2dConfigVersion.cmake
/usr/lib64/libbox2d.so
/usr/share/doc/Box2D-devel
/usr/share/doc/Box2D-devel/README.md
/usr/share/doc/Box2D-devel/docs
/usr/share/doc/Box2D-devel/docs/CMakeLists.txt
/usr/share/doc/Box2D-devel/docs/Doxyfile.in
/usr/share/doc/Box2D-devel/docs/FAQ.md
/usr/share/doc/Box2D-devel/docs/collision.md
/usr/share/doc/Box2D-devel/docs/common.md
/usr/share/doc/Box2D-devel/docs/copycss.sh
/usr/share/doc/Box2D-devel/docs/dynamics.md
/usr/share/doc/Box2D-devel/docs/extra.css
/usr/share/doc/Box2D-devel/docs/hello.md
/usr/share/doc/Box2D-devel/docs/images
/usr/share/doc/Box2D-devel/docs/images/body_origin.gif
/usr/share/doc/Box2D-devel/docs/images/captured_toi.svg
/usr/share/doc/Box2D-devel/docs/images/chain_loop_inwards.svg
/usr/share/doc/Box2D-devel/docs/images/chain_loop_outwards.svg
/usr/share/doc/Box2D-devel/docs/images/chain_shape.svg
/usr/share/doc/Box2D-devel/docs/images/convex_concave.gif
/usr/share/doc/Box2D-devel/docs/images/debug_draw.png
/usr/share/doc/Box2D-devel/docs/images/distance.svg
/usr/share/doc/Box2D-devel/docs/images/distance_joint.gif
/usr/share/doc/Box2D-devel/docs/images/gear_joint.gif
/usr/share/doc/Box2D-devel/docs/images/ghost_collision.svg
/usr/share/doc/Box2D-devel/docs/images/ghost_vertices.svg
/usr/share/doc/Box2D-devel/docs/images/logo.svg
/usr/share/doc/Box2D-devel/docs/images/manifolds.svg
/usr/share/doc/Box2D-devel/docs/images/missed_toi.svg
/usr/share/doc/Box2D-devel/docs/images/modules.svg
/usr/share/doc/Box2D-devel/docs/images/overlap_test.svg
/usr/share/doc/Box2D-devel/docs/images/prismatic_joint.gif
/usr/share/doc/Box2D-devel/docs/images/pulley_joint.gif
/usr/share/doc/Box2D-devel/docs/images/raycast.svg
/usr/share/doc/Box2D-devel/docs/images/revolute_joint.gif
/usr/share/doc/Box2D-devel/docs/images/self_intersect.svg
/usr/share/doc/Box2D-devel/docs/images/skin_collision.svg
/usr/share/doc/Box2D-devel/docs/images/skinned_polygon.svg
/usr/share/doc/Box2D-devel/docs/images/testbed.png
/usr/share/doc/Box2D-devel/docs/images/tunneling1.svg
/usr/share/doc/Box2D-devel/docs/images/tunneling2.svg
/usr/share/doc/Box2D-devel/docs/images/wheel_joint.svg
/usr/share/doc/Box2D-devel/docs/images/winding.svg
/usr/share/doc/Box2D-devel/docs/loose_ends.md
/usr/share/doc/Box2D-devel/docs/overview.md
/usr/share/doc/Box2D-devel/docs/references.md
/usr/share/doc/Box2D-devel/docs/testbed.md

References

Summary

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