How To Install libmemcached on Fedora 34
Introduction
In this tutorial we learn how to install libmemcached
on Fedora 34.
What is libmemcached
libmemcached is a C/C++ client library and tools for the memcached server (http usage, and provide full access to server side methods. It also implements several command line tools memaslap Load testing and benchmarking a server memcapable Checking a Memcached server capibilities and compatibility memcat Copy the value of a key to standard output memcp Copy data to a server memdump Dumping your server memerror Translate an error code to a string memexist Check for the existance of a key memflush Flush the contents of your servers memparse Parse an option string memping Test to see if a server is available. memrm Remove a key(s) from the server memslap Generate testing loads on a memcached cluster memstat Dump the stats of your servers to standard output memtouch Touches a key libmemcached 1.0.18 22.fc34 x86_64 134 k libmemcached-1.0.18-22.fc34.src.rpm fedora Client library and command line tools for memcached server http BSD libmemcached is a C/C++ client library and tools for the memcached server (http usage, and provide full access to server side methods. It also implements several command line tools memaslap Load testing and benchmarking a server memcapable Checking a Memcached server capibilities and compatibility memcat Copy the value of a key to standard output memcp Copy data to a server memdump Dumping your server memerror Translate an error code to a string memexist Check for the existance of a key memflush Flush the contents of your servers memparse Parse an option string memping Test to see if a server is available. memrm Remove a key(s) from the server memslap Generate testing loads on a memcached cluster memstat Dump the stats of your servers to standard output memtouch Touches a key
We can use yum
or dnf
to install libmemcached
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libmemcached.
Install libmemcached on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libmemcached
using dnf
by running the following command:
sudo dnf -y install libmemcached
Install libmemcached on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libmemcached
using yum
by running the following command:
sudo yum -y install libmemcached
How To Uninstall libmemcached on Fedora 34
To uninstall only the libmemcached
package we can use the following command:
sudo dnf remove libmemcached
libmemcached Package Contents on Fedora 34
/usr/bin/memaslap
/usr/bin/memcapable
/usr/bin/memcat
/usr/bin/memcp
/usr/bin/memdump
/usr/bin/memerror
/usr/bin/memexist
/usr/bin/memflush
/usr/bin/memparse
/usr/bin/memping
/usr/bin/memrm
/usr/bin/memslap
/usr/bin/memstat
/usr/bin/memtouch
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/347fc7c4e063296881b6cf203eba2bc04fa93b
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/5d31b5e4bf02cb6d537d4a22ea4ef0ee1f37dc
/usr/lib/.build-id/16
/usr/lib/.build-id/16/ce38b00020482b0555446492410b47a2cdfe34
/usr/lib/.build-id/3d
/usr/lib/.build-id/3d/5b96a492cb1bcbb767702ba2827a0898880638
/usr/lib/.build-id/75
/usr/lib/.build-id/75/481cfb5cb45a6c8b90dd3cf9608f8c156014d7
/usr/lib/.build-id/87
/usr/lib/.build-id/87/751ac38cc6d4d6d47257107ead9b4006da82ec
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/3c4ae0c4ae3e08c883dcf766083c3cfefeb5b5
/usr/lib/.build-id/98
/usr/lib/.build-id/98/2687a2651cd9f35d5bc422adedbd8ef2f11a3b
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/3ce2e3a82db081b4174359b36175ee09154400
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/90c8479448d6c33a978369755b83769511fcdb
/usr/lib/.build-id/b1
/usr/lib/.build-id/b1/ffc32a69f6461d80e896f64861335b89abf91c
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/989620fd788aa3d75fddd92ee18ff6a51fd236
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/334b67e0a901082230b36a90240fa7cd1e4209
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/8db73b522c7ea76c9ac7125ded896e4e6f08be
/usr/share/man/man1/memaslap.1.gz
/usr/share/man/man1/memcapable.1.gz
/usr/share/man/man1/memcat.1.gz
/usr/share/man/man1/memcp.1.gz
/usr/share/man/man1/memdump.1.gz
/usr/share/man/man1/memerror.1.gz
/usr/share/man/man1/memexist.1.gz
/usr/share/man/man1/memflush.1.gz
/usr/share/man/man1/memparse.1.gz
/usr/share/man/man1/memping.1.gz
/usr/share/man/man1/memrm.1.gz
/usr/share/man/man1/memslap.1.gz
/usr/share/man/man1/memstat.1.gz
/usr/share/man/man1/memtouch.1.gz
/usr/bin/memaslap
/usr/bin/memcapable
/usr/bin/memcat
/usr/bin/memcp
/usr/bin/memdump
/usr/bin/memerror
/usr/bin/memexist
/usr/bin/memflush
/usr/bin/memparse
/usr/bin/memping
/usr/bin/memrm
/usr/bin/memslap
/usr/bin/memstat
/usr/bin/memtouch
/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/b7ffc5cb46c8937b2fe0170e8dc56f105a5e1e
/usr/lib/.build-id/34
/usr/lib/.build-id/34/3b464088602881c24849f6c5dadce7ec3ebf81
/usr/lib/.build-id/36
/usr/lib/.build-id/36/222ef3f8d85df87ad97676c5c8d497f0f74c29
/usr/lib/.build-id/3c
/usr/lib/.build-id/3c/09c52501fd33088199d168dfca1430b28847e4
/usr/lib/.build-id/54
/usr/lib/.build-id/54/7d33e5b1da0e8cdda5cbd551c149dc2a3fc0a3
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/cb05de8c8ecbab864270b974b4e641bc0f8419
/usr/lib/.build-id/73
/usr/lib/.build-id/73/2ac993ae06afeb3dd755936982baabad940e0c
/usr/lib/.build-id/84
/usr/lib/.build-id/84/d1ff5c12931b10aceb3b1a0a9bebf737d7b4b5
/usr/lib/.build-id/85
/usr/lib/.build-id/85/3b4a66cac629cf459bf5a835ad55a494f909d7
/usr/lib/.build-id/94
/usr/lib/.build-id/94/7abc1d19e90b560e31a00681c37ab17ed66340
/usr/lib/.build-id/99
/usr/lib/.build-id/99/0abeabe261447a09b5d893afbf91af1a9a6a49
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/60c756c8866a0f69be778f891364d6b1c7f66d
/usr/lib/.build-id/cb
/usr/lib/.build-id/cb/8489a40bbe8e0dc47267f39b4211a44b7c0be5
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/4342919830c0f39c887b9a7aaf59deb8ad9844
/usr/share/man/man1/memaslap.1.gz
/usr/share/man/man1/memcapable.1.gz
/usr/share/man/man1/memcat.1.gz
/usr/share/man/man1/memcp.1.gz
/usr/share/man/man1/memdump.1.gz
/usr/share/man/man1/memerror.1.gz
/usr/share/man/man1/memexist.1.gz
/usr/share/man/man1/memflush.1.gz
/usr/share/man/man1/memparse.1.gz
/usr/share/man/man1/memping.1.gz
/usr/share/man/man1/memrm.1.gz
/usr/share/man/man1/memslap.1.gz
/usr/share/man/man1/memstat.1.gz
/usr/share/man/man1/memtouch.1.gz
References
- [libmemcached website](http://libmemcached.org/ http://libmemcached.org/)
Summary
In this tutorial we learn how to install libmemcached
on Fedora 34 using yum and dnf.