How To Install libtorrent-devel on Rocky Linux 8

In this tutorial we learn how to install libtorrent-devel on Rocky Linux 8. libtorrent-devel is Libtorrent development environment

Introduction

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

What is libtorrent-devel

Header and library definition files for developing applications with the libtorrent libraries.

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

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

sudo dnf -y install libtorrent-devel

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

sudo yum -y install libtorrent-devel

How To Uninstall libtorrent-devel on Rocky Linux 8

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

sudo dnf remove libtorrent-devel

libtorrent-devel Package Contents on Rocky Linux 8

/usr/include/torrent
/usr/include/torrent/bitfield.h
/usr/include/torrent/chunk_manager.h
/usr/include/torrent/common.h
/usr/include/torrent/connection_manager.h
/usr/include/torrent/data
/usr/include/torrent/data/block.h
/usr/include/torrent/data/block_list.h
/usr/include/torrent/data/block_transfer.h
/usr/include/torrent/data/chunk_utils.h
/usr/include/torrent/data/download_data.h
/usr/include/torrent/data/file.h
/usr/include/torrent/data/file_list.h
/usr/include/torrent/data/file_list_iterator.h
/usr/include/torrent/data/file_manager.h
/usr/include/torrent/data/file_utils.h
/usr/include/torrent/data/piece.h
/usr/include/torrent/data/transfer_list.h
/usr/include/torrent/dht_manager.h
/usr/include/torrent/download
/usr/include/torrent/download.h
/usr/include/torrent/download/choke_group.h
/usr/include/torrent/download/choke_queue.h
/usr/include/torrent/download/download_manager.h
/usr/include/torrent/download/group_entry.h
/usr/include/torrent/download/resource_manager.h
/usr/include/torrent/download_info.h
/usr/include/torrent/error.h
/usr/include/torrent/event.h
/usr/include/torrent/exceptions.h
/usr/include/torrent/hash_string.h
/usr/include/torrent/http.h
/usr/include/torrent/net
/usr/include/torrent/net/socket_address_key.h
/usr/include/torrent/object.h
/usr/include/torrent/object_raw_bencode.h
/usr/include/torrent/object_static_map.h
/usr/include/torrent/object_stream.h
/usr/include/torrent/path.h
/usr/include/torrent/peer
/usr/include/torrent/peer/choke_status.h
/usr/include/torrent/peer/client_info.h
/usr/include/torrent/peer/client_list.h
/usr/include/torrent/peer/connection_list.h
/usr/include/torrent/peer/peer.h
/usr/include/torrent/peer/peer_info.h
/usr/include/torrent/peer/peer_list.h
/usr/include/torrent/poll.h
/usr/include/torrent/poll_epoll.h
/usr/include/torrent/poll_kqueue.h
/usr/include/torrent/poll_select.h
/usr/include/torrent/rate.h
/usr/include/torrent/throttle.h
/usr/include/torrent/torrent.h
/usr/include/torrent/tracker.h
/usr/include/torrent/tracker_controller.h
/usr/include/torrent/tracker_list.h
/usr/include/torrent/utils
/usr/include/torrent/utils/directory_events.h
/usr/include/torrent/utils/extents.h
/usr/include/torrent/utils/log.h
/usr/include/torrent/utils/log_buffer.h
/usr/include/torrent/utils/net.h
/usr/include/torrent/utils/option_strings.h
/usr/include/torrent/utils/ranges.h
/usr/include/torrent/utils/resume.h
/usr/include/torrent/utils/signal_bitfield.h
/usr/include/torrent/utils/thread_base.h
/usr/include/torrent/utils/thread_interrupt.h
/usr/include/torrent/utils/uri_parser.h
/usr/lib64/libtorrent.so
/usr/lib64/pkgconfig/libtorrent.pc

References

Summary

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