How To Install rb_libtorrent-devel on CentOS 8

rb_libtorrent-devel is Development files for rb_libtorrent

Introduction

In this tutorial we learn how to install rb_libtorrent-devel on CentOS 8.

What is rb_libtorrent-devel

The rb_libtorrent-devel package contains libraries and header files for developing applications that use rb_libtorrent. The various source and header files included in this package are licensed under the revised BSD, zlib/libpng, and Boost Public licenses. See the various COPYING files in the included documentation for the full text of these licenses, as well as the comments blocks in the source code for which license a given source or header file is released under.

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

Install rb_libtorrent-devel on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install rb_libtorrent-devel

Install rb_libtorrent-devel on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install rb_libtorrent-devel

How To Uninstall rb_libtorrent-devel on CentOS 8

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

sudo dnf remove rb_libtorrent-devel

rb_libtorrent-devel Package Contents on CentOS 8

/usr/include/libtorrent
/usr/include/libtorrent/ConvertUTF.h
/usr/include/libtorrent/add_torrent_params.hpp
/usr/include/libtorrent/address.hpp
/usr/include/libtorrent/alert.hpp
/usr/include/libtorrent/alert_manager.hpp
/usr/include/libtorrent/alert_types.hpp
/usr/include/libtorrent/announce_entry.hpp
/usr/include/libtorrent/assert.hpp
/usr/include/libtorrent/aux_
/usr/include/libtorrent/aux_/aligned_storage.hpp
/usr/include/libtorrent/aux_/aligned_union.hpp
/usr/include/libtorrent/aux_/alloca.hpp
/usr/include/libtorrent/aux_/allocating_handler.hpp
/usr/include/libtorrent/aux_/array.hpp
/usr/include/libtorrent/aux_/bind_to_device.hpp
/usr/include/libtorrent/aux_/block_cache_reference.hpp
/usr/include/libtorrent/aux_/byteswap.hpp
/usr/include/libtorrent/aux_/container_wrapper.hpp
/usr/include/libtorrent/aux_/cppint_import_export.hpp
/usr/include/libtorrent/aux_/cpuid.hpp
/usr/include/libtorrent/aux_/deferred_handler.hpp
/usr/include/libtorrent/aux_/deprecated.hpp
/usr/include/libtorrent/aux_/deque.hpp
/usr/include/libtorrent/aux_/dev_random.hpp
/usr/include/libtorrent/aux_/disable_warnings_pop.hpp
/usr/include/libtorrent/aux_/disable_warnings_push.hpp
/usr/include/libtorrent/aux_/disk_job_fence.hpp
/usr/include/libtorrent/aux_/escape_string.hpp
/usr/include/libtorrent/aux_/export.hpp
/usr/include/libtorrent/aux_/ffs.hpp
/usr/include/libtorrent/aux_/file_progress.hpp
/usr/include/libtorrent/aux_/generate_peer_id.hpp
/usr/include/libtorrent/aux_/has_block.hpp
/usr/include/libtorrent/aux_/instantiate_connection.hpp
/usr/include/libtorrent/aux_/io.hpp
/usr/include/libtorrent/aux_/ip_notifier.hpp
/usr/include/libtorrent/aux_/keepalive.hpp
/usr/include/libtorrent/aux_/listen_socket_handle.hpp
/usr/include/libtorrent/aux_/lsd.hpp
/usr/include/libtorrent/aux_/merkle.hpp
/usr/include/libtorrent/aux_/noexcept_movable.hpp
/usr/include/libtorrent/aux_/numeric_cast.hpp
/usr/include/libtorrent/aux_/openssl.hpp
/usr/include/libtorrent/aux_/path.hpp
/usr/include/libtorrent/aux_/portmap.hpp
/usr/include/libtorrent/aux_/proxy_settings.hpp
/usr/include/libtorrent/aux_/range.hpp
/usr/include/libtorrent/aux_/route.h
/usr/include/libtorrent/aux_/scope_end.hpp
/usr/include/libtorrent/aux_/session_call.hpp
/usr/include/libtorrent/aux_/session_impl.hpp
/usr/include/libtorrent/aux_/session_interface.hpp
/usr/include/libtorrent/aux_/session_settings.hpp
/usr/include/libtorrent/aux_/session_udp_sockets.hpp
/usr/include/libtorrent/aux_/set_socket_buffer.hpp
/usr/include/libtorrent/aux_/socket_type.hpp
/usr/include/libtorrent/aux_/storage_piece_set.hpp
/usr/include/libtorrent/aux_/storage_utils.hpp
/usr/include/libtorrent/aux_/string_ptr.hpp
/usr/include/libtorrent/aux_/suggest_piece.hpp
/usr/include/libtorrent/aux_/throw.hpp
/usr/include/libtorrent/aux_/time.hpp
/usr/include/libtorrent/aux_/torrent_impl.hpp
/usr/include/libtorrent/aux_/unique_ptr.hpp
/usr/include/libtorrent/aux_/vector.hpp
/usr/include/libtorrent/aux_/win_crypto_provider.hpp
/usr/include/libtorrent/aux_/win_util.hpp
/usr/include/libtorrent/aux_/windows.hpp
/usr/include/libtorrent/bandwidth_limit.hpp
/usr/include/libtorrent/bandwidth_manager.hpp
/usr/include/libtorrent/bandwidth_queue_entry.hpp
/usr/include/libtorrent/bandwidth_socket.hpp
/usr/include/libtorrent/bdecode.hpp
/usr/include/libtorrent/bencode.hpp
/usr/include/libtorrent/bitfield.hpp
/usr/include/libtorrent/block_cache.hpp
/usr/include/libtorrent/bloom_filter.hpp
/usr/include/libtorrent/broadcast_socket.hpp
/usr/include/libtorrent/bt_peer_connection.hpp
/usr/include/libtorrent/buffer.hpp
/usr/include/libtorrent/chained_buffer.hpp
/usr/include/libtorrent/choker.hpp
/usr/include/libtorrent/close_reason.hpp
/usr/include/libtorrent/config.hpp
/usr/include/libtorrent/copy_ptr.hpp
/usr/include/libtorrent/crc32c.hpp
/usr/include/libtorrent/create_torrent.hpp
/usr/include/libtorrent/deadline_timer.hpp
/usr/include/libtorrent/debug.hpp
/usr/include/libtorrent/disk_buffer_holder.hpp
/usr/include/libtorrent/disk_buffer_pool.hpp
/usr/include/libtorrent/disk_interface.hpp
/usr/include/libtorrent/disk_io_job.hpp
/usr/include/libtorrent/disk_io_thread.hpp
/usr/include/libtorrent/disk_io_thread_pool.hpp
/usr/include/libtorrent/disk_job_pool.hpp
/usr/include/libtorrent/disk_observer.hpp
/usr/include/libtorrent/download_priority.hpp
/usr/include/libtorrent/ed25519.hpp
/usr/include/libtorrent/entry.hpp
/usr/include/libtorrent/enum_net.hpp
/usr/include/libtorrent/error.hpp
/usr/include/libtorrent/error_code.hpp
/usr/include/libtorrent/extensions
/usr/include/libtorrent/extensions.hpp
/usr/include/libtorrent/extensions/smart_ban.hpp
/usr/include/libtorrent/extensions/ut_metadata.hpp
/usr/include/libtorrent/extensions/ut_pex.hpp
/usr/include/libtorrent/file.hpp
/usr/include/libtorrent/file_pool.hpp
/usr/include/libtorrent/file_storage.hpp
/usr/include/libtorrent/fingerprint.hpp
/usr/include/libtorrent/flags.hpp
/usr/include/libtorrent/fwd.hpp
/usr/include/libtorrent/gzip.hpp
/usr/include/libtorrent/hasher.hpp
/usr/include/libtorrent/hasher512.hpp
/usr/include/libtorrent/heterogeneous_queue.hpp
/usr/include/libtorrent/hex.hpp
/usr/include/libtorrent/http_connection.hpp
/usr/include/libtorrent/http_parser.hpp
/usr/include/libtorrent/http_seed_connection.hpp
/usr/include/libtorrent/http_stream.hpp
/usr/include/libtorrent/http_tracker_connection.hpp
/usr/include/libtorrent/i2p_stream.hpp
/usr/include/libtorrent/identify_client.hpp
/usr/include/libtorrent/index_range.hpp
/usr/include/libtorrent/invariant_check.hpp
/usr/include/libtorrent/io.hpp
/usr/include/libtorrent/io_service.hpp
/usr/include/libtorrent/io_service_fwd.hpp
/usr/include/libtorrent/ip_filter.hpp
/usr/include/libtorrent/ip_voter.hpp
/usr/include/libtorrent/kademlia
/usr/include/libtorrent/kademlia/announce_flags.hpp
/usr/include/libtorrent/kademlia/dht_observer.hpp
/usr/include/libtorrent/kademlia/dht_settings.hpp
/usr/include/libtorrent/kademlia/dht_state.hpp
/usr/include/libtorrent/kademlia/dht_storage.hpp
/usr/include/libtorrent/kademlia/dht_tracker.hpp
/usr/include/libtorrent/kademlia/direct_request.hpp
/usr/include/libtorrent/kademlia/dos_blocker.hpp
/usr/include/libtorrent/kademlia/ed25519.hpp
/usr/include/libtorrent/kademlia/find_data.hpp
/usr/include/libtorrent/kademlia/get_item.hpp
/usr/include/libtorrent/kademlia/get_peers.hpp
/usr/include/libtorrent/kademlia/io.hpp
/usr/include/libtorrent/kademlia/item.hpp
/usr/include/libtorrent/kademlia/msg.hpp
/usr/include/libtorrent/kademlia/node.hpp
/usr/include/libtorrent/kademlia/node_entry.hpp
/usr/include/libtorrent/kademlia/node_id.hpp
/usr/include/libtorrent/kademlia/observer.hpp
/usr/include/libtorrent/kademlia/put_data.hpp
/usr/include/libtorrent/kademlia/refresh.hpp
/usr/include/libtorrent/kademlia/routing_table.hpp
/usr/include/libtorrent/kademlia/rpc_manager.hpp
/usr/include/libtorrent/kademlia/sample_infohashes.hpp
/usr/include/libtorrent/kademlia/traversal_algorithm.hpp
/usr/include/libtorrent/kademlia/types.hpp
/usr/include/libtorrent/lazy_entry.hpp
/usr/include/libtorrent/link.hpp
/usr/include/libtorrent/linked_list.hpp
/usr/include/libtorrent/lsd.hpp
/usr/include/libtorrent/magnet_uri.hpp
/usr/include/libtorrent/natpmp.hpp
/usr/include/libtorrent/netlink.hpp
/usr/include/libtorrent/operations.hpp
/usr/include/libtorrent/optional.hpp
/usr/include/libtorrent/packet_buffer.hpp
/usr/include/libtorrent/packet_pool.hpp
/usr/include/libtorrent/parse_url.hpp
/usr/include/libtorrent/part_file.hpp
/usr/include/libtorrent/pe_crypto.hpp
/usr/include/libtorrent/peer.hpp
/usr/include/libtorrent/peer_class.hpp
/usr/include/libtorrent/peer_class_set.hpp
/usr/include/libtorrent/peer_class_type_filter.hpp
/usr/include/libtorrent/peer_connection.hpp
/usr/include/libtorrent/peer_connection_handle.hpp
/usr/include/libtorrent/peer_connection_interface.hpp
/usr/include/libtorrent/peer_id.hpp
/usr/include/libtorrent/peer_info.hpp
/usr/include/libtorrent/peer_list.hpp
/usr/include/libtorrent/peer_request.hpp
/usr/include/libtorrent/performance_counters.hpp
/usr/include/libtorrent/pex_flags.hpp
/usr/include/libtorrent/piece_block.hpp
/usr/include/libtorrent/piece_block_progress.hpp
/usr/include/libtorrent/piece_picker.hpp
/usr/include/libtorrent/platform_util.hpp
/usr/include/libtorrent/portmap.hpp
/usr/include/libtorrent/proxy_base.hpp
/usr/include/libtorrent/puff.hpp
/usr/include/libtorrent/random.hpp
/usr/include/libtorrent/read_resume_data.hpp
/usr/include/libtorrent/receive_buffer.hpp
/usr/include/libtorrent/request_blocks.hpp
/usr/include/libtorrent/resolve_links.hpp
/usr/include/libtorrent/resolver.hpp
/usr/include/libtorrent/resolver_interface.hpp
/usr/include/libtorrent/session.hpp
/usr/include/libtorrent/session_handle.hpp
/usr/include/libtorrent/session_settings.hpp
/usr/include/libtorrent/session_stats.hpp
/usr/include/libtorrent/session_status.hpp
/usr/include/libtorrent/session_types.hpp
/usr/include/libtorrent/settings_pack.hpp
/usr/include/libtorrent/sha1.hpp
/usr/include/libtorrent/sha1_hash.hpp
/usr/include/libtorrent/sha512.hpp
/usr/include/libtorrent/sliding_average.hpp
/usr/include/libtorrent/socket.hpp
/usr/include/libtorrent/socket_io.hpp
/usr/include/libtorrent/socks5_stream.hpp
/usr/include/libtorrent/span.hpp
/usr/include/libtorrent/ssl_stream.hpp
/usr/include/libtorrent/stack_allocator.hpp
/usr/include/libtorrent/stat.hpp
/usr/include/libtorrent/stat_cache.hpp
/usr/include/libtorrent/storage.hpp
/usr/include/libtorrent/storage_defs.hpp
/usr/include/libtorrent/string_util.hpp
/usr/include/libtorrent/string_view.hpp
/usr/include/libtorrent/tailqueue.hpp
/usr/include/libtorrent/time.hpp
/usr/include/libtorrent/timestamp_history.hpp
/usr/include/libtorrent/torrent.hpp
/usr/include/libtorrent/torrent_flags.hpp
/usr/include/libtorrent/torrent_handle.hpp
/usr/include/libtorrent/torrent_info.hpp
/usr/include/libtorrent/torrent_peer.hpp
/usr/include/libtorrent/torrent_peer_allocator.hpp
/usr/include/libtorrent/torrent_status.hpp
/usr/include/libtorrent/tracker_manager.hpp
/usr/include/libtorrent/udp_socket.hpp
/usr/include/libtorrent/udp_tracker_connection.hpp
/usr/include/libtorrent/union_endpoint.hpp
/usr/include/libtorrent/units.hpp
/usr/include/libtorrent/upnp.hpp
/usr/include/libtorrent/utf8.hpp
/usr/include/libtorrent/utp_socket_manager.hpp
/usr/include/libtorrent/utp_stream.hpp
/usr/include/libtorrent/vector_utils.hpp
/usr/include/libtorrent/version.hpp
/usr/include/libtorrent/web_connection_base.hpp
/usr/include/libtorrent/web_peer_connection.hpp
/usr/include/libtorrent/write_resume_data.hpp
/usr/include/libtorrent/xml_parse.hpp
/usr/lib64/libtorrent-rasterbar.so
/usr/lib64/pkgconfig/libtorrent-rasterbar.pc
/usr/share/doc/rb_libtorrent-devel
/usr/share/doc/rb_libtorrent-devel/docs
/usr/share/doc/rb_libtorrent-devel/docs/bitcoin.png
/usr/share/doc/rb_libtorrent-devel/docs/building.html
/usr/share/doc/rb_libtorrent-devel/docs/client_test.html
/usr/share/doc/rb_libtorrent-devel/docs/client_test.png
/usr/share/doc/rb_libtorrent-devel/docs/complete_bit_prefixes.png
/usr/share/doc/rb_libtorrent-devel/docs/contributing.html
/usr/share/doc/rb_libtorrent-devel/docs/cwnd.png
/usr/share/doc/rb_libtorrent-devel/docs/cwnd_thumb.png
/usr/share/doc/rb_libtorrent-devel/docs/delays.png
/usr/share/doc/rb_libtorrent-devel/docs/delays_thumb.png
/usr/share/doc/rb_libtorrent-devel/docs/dht_extensions.html
/usr/share/doc/rb_libtorrent-devel/docs/dht_rss.html
/usr/share/doc/rb_libtorrent-devel/docs/dht_sec.html
/usr/share/doc/rb_libtorrent-devel/docs/dht_store.html
/usr/share/doc/rb_libtorrent-devel/docs/disk_cache.diagram
/usr/share/doc/rb_libtorrent-devel/docs/disk_cache.png
/usr/share/doc/rb_libtorrent-devel/docs/examples.html
/usr/share/doc/rb_libtorrent-devel/docs/extension_protocol.html
/usr/share/doc/rb_libtorrent-devel/docs/features.html
/usr/share/doc/rb_libtorrent-devel/docs/fuzzing.html
/usr/share/doc/rb_libtorrent-devel/docs/hacking.diagram
/usr/share/doc/rb_libtorrent-devel/docs/hacking.html
/usr/share/doc/rb_libtorrent-devel/docs/hacking.png
/usr/share/doc/rb_libtorrent-devel/docs/hash_distribution.png
/usr/share/doc/rb_libtorrent-devel/docs/img
/usr/share/doc/rb_libtorrent-devel/docs/img/bg.png
/usr/share/doc/rb_libtorrent-devel/docs/img/blue_bottom.png
/usr/share/doc/rb_libtorrent-devel/docs/img/blue_top.png
/usr/share/doc/rb_libtorrent-devel/docs/img/dotline.gif
/usr/share/doc/rb_libtorrent-devel/docs/img/minus.gif
/usr/share/doc/rb_libtorrent-devel/docs/img/orange.png
/usr/share/doc/rb_libtorrent-devel/docs/index.html
/usr/share/doc/rb_libtorrent-devel/docs/ip_id_v4.png
/usr/share/doc/rb_libtorrent-devel/docs/ip_id_v6.png
/usr/share/doc/rb_libtorrent-devel/docs/manual-ref.html
/usr/share/doc/rb_libtorrent-devel/docs/merkle_tree.png
/usr/share/doc/rb_libtorrent-devel/docs/our_delay_base.png
/usr/share/doc/rb_libtorrent-devel/docs/our_delay_base_thumb.png
/usr/share/doc/rb_libtorrent-devel/docs/projects.html
/usr/share/doc/rb_libtorrent-devel/docs/python_binding.html
/usr/share/doc/rb_libtorrent-devel/docs/read_disk_buffers.diagram
/usr/share/doc/rb_libtorrent-devel/docs/read_disk_buffers.png
/usr/share/doc/rb_libtorrent-devel/docs/reference-Alerts.html
/usr/share/doc/rb_libtorrent-devel/docs/reference-Bdecoding.html
/usr/share/doc/rb_libtorrent-devel/docs/reference-Bencoding.html
/usr/share/doc/rb_libtorrent-devel/docs/reference-Core.html
/usr/share/doc/rb_libtorrent-devel/docs/reference-Create_Torrents.html
/usr/share/doc/rb_libtorrent-devel/docs/reference-Custom_Storage.html
/usr/share/doc/rb_libtorrent-devel/docs/reference-DHT.html
/usr/share/doc/rb_libtorrent-devel/docs/reference-Error_Codes.html
/usr/share/doc/rb_libtorrent-devel/docs/reference-Filter.html
/usr/share/doc/rb_libtorrent-devel/docs/reference-Plugins.html
/usr/share/doc/rb_libtorrent-devel/docs/reference-Session.html
/usr/share/doc/rb_libtorrent-devel/docs/reference-Settings.html
/usr/share/doc/rb_libtorrent-devel/docs/reference-Storage.html
/usr/share/doc/rb_libtorrent-devel/docs/reference-Utility.html
/usr/share/doc/rb_libtorrent-devel/docs/reference-ed25519.html
/usr/share/doc/rb_libtorrent-devel/docs/reference.html
/usr/share/doc/rb_libtorrent-devel/docs/rst.css
/usr/share/doc/rb_libtorrent-devel/docs/single-page-ref.html
/usr/share/doc/rb_libtorrent-devel/docs/storage.png
/usr/share/doc/rb_libtorrent-devel/docs/streaming.html
/usr/share/doc/rb_libtorrent-devel/docs/style.css
/usr/share/doc/rb_libtorrent-devel/docs/todo.html
/usr/share/doc/rb_libtorrent-devel/docs/troubleshooting.dot
/usr/share/doc/rb_libtorrent-devel/docs/troubleshooting.html
/usr/share/doc/rb_libtorrent-devel/docs/troubleshooting.png
/usr/share/doc/rb_libtorrent-devel/docs/troubleshooting_thumb.png
/usr/share/doc/rb_libtorrent-devel/docs/tuning.html
/usr/share/doc/rb_libtorrent-devel/docs/tutorial.html
/usr/share/doc/rb_libtorrent-devel/docs/udp_tracker_protocol.html
/usr/share/doc/rb_libtorrent-devel/docs/upgrade_to_1.2-ref.html
/usr/share/doc/rb_libtorrent-devel/docs/utp.html
/usr/share/doc/rb_libtorrent-devel/docs/utp_stack.diagram
/usr/share/doc/rb_libtorrent-devel/docs/utp_stack.png
/usr/share/doc/rb_libtorrent-devel/docs/write_disk_buffers.diagram
/usr/share/doc/rb_libtorrent-devel/docs/write_disk_buffers.png
/usr/share/licenses/rb_libtorrent-devel
/usr/share/licenses/rb_libtorrent-devel/COPYING.BSD
/usr/share/licenses/rb_libtorrent-devel/COPYING.Boost
/usr/share/licenses/rb_libtorrent-devel/COPYING.zlib

References

Summary

In this tutorial we learn how to install rb_libtorrent-devel on CentOS 8 using yum and dnf.