How To Install rb_libtorrent-examples on CentOS 8

rb_libtorrent-examples is Example clients using rb_libtorrent

Introduction

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

What is rb_libtorrent-examples

The rb_libtorrent-examples package contains example clients which intend to show how to make use of its various features. (Due to potential namespace conflicts, a couple of the examples had to be renamed. See the included documentation for more details.)

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

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

sudo dnf -y install rb_libtorrent-examples

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

sudo yum -y install rb_libtorrent-examples

How To Uninstall rb_libtorrent-examples on CentOS 8

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

sudo dnf remove rb_libtorrent-examples

rb_libtorrent-examples Package Contents on CentOS 8

/usr/bin/bt_get
/usr/bin/bt_get2
/usr/bin/connection_tester
/usr/bin/custom_storage
/usr/bin/dht_put
/usr/bin/dump_torrent
/usr/bin/make_torrent
/usr/bin/session_log_alerts
/usr/bin/simple_torrent_client
/usr/bin/stats_counters
/usr/bin/torrent_client_test
/usr/bin/upnp_test
/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/d7a3a8e515498875ae81ba8255dd244c53f373
/usr/lib/.build-id/76
/usr/lib/.build-id/76/3b03601112f574c1d6471bde23b230b26f83f6
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/f4badc88e501235b305bf16ede285c805b84da
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/66d5cf74a3cef4e9a5d816f12ea60fa0416f5d
/usr/lib/.build-id/ab
/usr/lib/.build-id/ab/a0a7755e2ee1f9f6276afd1d81e337dc524349
/usr/lib/.build-id/b4
/usr/lib/.build-id/b4/3f54c7fb260b9c006cdb1a9269f102b5f60285
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/400342aa4f6b317368d8f9792513f37e30505a
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/97ce88ed829bb253ac9ec59d6d4d015fa67d46
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/5348219496156a0760858914cf34c952175c6b
/usr/lib/.build-id/d6/ca13dcaaa0017d5b9e674ab033808708da8f6f
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/68be49409195af6cac33ef6bb0e1ee24094a21
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/3596a3d203cc3997c42ce3007d6070770ab5b1
/usr/share/doc/rb_libtorrent-examples
/usr/share/doc/rb_libtorrent-examples/README-renames.Fedora
/usr/share/licenses/rb_libtorrent-examples
/usr/share/licenses/rb_libtorrent-examples/COPYING

References

Summary

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