How To Install redis-doc on CentOS 8

redis-doc is Documentation for Redis including man pages

Introduction

In this tutorial we learn how to install redis-doc on CentOS 8.

What is redis-doc

Manual pages and detailed documentation for many aspects of Redis use, administration and development.

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

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

sudo dnf -y install redis-doc

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

sudo yum -y install redis-doc

How To Uninstall redis-doc on CentOS 8

To uninstall only the redis-doc package we can use the following command:

sudo dnf remove redis-doc

redis-doc Package Contents on CentOS 8

/usr/share/doc/redis
/usr/share/doc/redis/00-RELEASENOTES
/usr/share/doc/redis/BUGS
/usr/share/doc/redis/CONTRIBUTING
/usr/share/doc/redis/MANIFESTO
/usr/share/doc/redis/README.md
/usr/share/doc/redis/commands
/usr/share/doc/redis/commands/append.md
/usr/share/doc/redis/commands/auth.md
/usr/share/doc/redis/commands/bgrewriteaof.md
/usr/share/doc/redis/commands/bgsave.md
/usr/share/doc/redis/commands/bitcount.md
/usr/share/doc/redis/commands/bitfield.md
/usr/share/doc/redis/commands/bitop.md
/usr/share/doc/redis/commands/bitpos.md
/usr/share/doc/redis/commands/blpop.md
/usr/share/doc/redis/commands/brpop.md
/usr/share/doc/redis/commands/brpoplpush.md
/usr/share/doc/redis/commands/bzpopmax.md
/usr/share/doc/redis/commands/bzpopmin.md
/usr/share/doc/redis/commands/client-getname.md
/usr/share/doc/redis/commands/client-id.md
/usr/share/doc/redis/commands/client-kill.md
/usr/share/doc/redis/commands/client-list.md
/usr/share/doc/redis/commands/client-pause.md
/usr/share/doc/redis/commands/client-reply.md
/usr/share/doc/redis/commands/client-setname.md
/usr/share/doc/redis/commands/client-unblock.md
/usr/share/doc/redis/commands/cluster-addslots.md
/usr/share/doc/redis/commands/cluster-count-failure-reports.md
/usr/share/doc/redis/commands/cluster-countkeysinslot.md
/usr/share/doc/redis/commands/cluster-delslots.md
/usr/share/doc/redis/commands/cluster-failover.md
/usr/share/doc/redis/commands/cluster-forget.md
/usr/share/doc/redis/commands/cluster-getkeysinslot.md
/usr/share/doc/redis/commands/cluster-info.md
/usr/share/doc/redis/commands/cluster-keyslot.md
/usr/share/doc/redis/commands/cluster-meet.md
/usr/share/doc/redis/commands/cluster-nodes.md
/usr/share/doc/redis/commands/cluster-replicas.md
/usr/share/doc/redis/commands/cluster-replicate.md
/usr/share/doc/redis/commands/cluster-reset.md
/usr/share/doc/redis/commands/cluster-saveconfig.md
/usr/share/doc/redis/commands/cluster-set-config-epoch.md
/usr/share/doc/redis/commands/cluster-setslot.md
/usr/share/doc/redis/commands/cluster-slaves.md
/usr/share/doc/redis/commands/cluster-slots.md
/usr/share/doc/redis/commands/command-count.md
/usr/share/doc/redis/commands/command-getkeys.md
/usr/share/doc/redis/commands/command-info.md
/usr/share/doc/redis/commands/command.md
/usr/share/doc/redis/commands/config-get.md
/usr/share/doc/redis/commands/config-resetstat.md
/usr/share/doc/redis/commands/config-rewrite.md
/usr/share/doc/redis/commands/config-set.md
/usr/share/doc/redis/commands/dbsize.md
/usr/share/doc/redis/commands/debug-object.md
/usr/share/doc/redis/commands/debug-segfault.md
/usr/share/doc/redis/commands/decr.md
/usr/share/doc/redis/commands/decrby.md
/usr/share/doc/redis/commands/del.md
/usr/share/doc/redis/commands/discard.md
/usr/share/doc/redis/commands/dump.md
/usr/share/doc/redis/commands/echo.md
/usr/share/doc/redis/commands/eval.md
/usr/share/doc/redis/commands/evalsha.md
/usr/share/doc/redis/commands/exec.md
/usr/share/doc/redis/commands/exists.md
/usr/share/doc/redis/commands/expire.md
/usr/share/doc/redis/commands/expireat.md
/usr/share/doc/redis/commands/flushall.md
/usr/share/doc/redis/commands/flushdb.md
/usr/share/doc/redis/commands/geoadd.md
/usr/share/doc/redis/commands/geodecode.md
/usr/share/doc/redis/commands/geodist.md
/usr/share/doc/redis/commands/geoencode.md
/usr/share/doc/redis/commands/geohash.md
/usr/share/doc/redis/commands/geopos.md
/usr/share/doc/redis/commands/georadius.md
/usr/share/doc/redis/commands/georadiusbymember.md
/usr/share/doc/redis/commands/get.md
/usr/share/doc/redis/commands/getbit.md
/usr/share/doc/redis/commands/getrange.md
/usr/share/doc/redis/commands/getset.md
/usr/share/doc/redis/commands/hdel.md
/usr/share/doc/redis/commands/hexists.md
/usr/share/doc/redis/commands/hget.md
/usr/share/doc/redis/commands/hgetall.md
/usr/share/doc/redis/commands/hincrby.md
/usr/share/doc/redis/commands/hincrbyfloat.md
/usr/share/doc/redis/commands/hkeys.md
/usr/share/doc/redis/commands/hlen.md
/usr/share/doc/redis/commands/hmget.md
/usr/share/doc/redis/commands/hmset.md
/usr/share/doc/redis/commands/hscan.md
/usr/share/doc/redis/commands/hset.md
/usr/share/doc/redis/commands/hsetnx.md
/usr/share/doc/redis/commands/hstrlen.md
/usr/share/doc/redis/commands/hvals.md
/usr/share/doc/redis/commands/incr.md
/usr/share/doc/redis/commands/incrby.md
/usr/share/doc/redis/commands/incrbyfloat.md
/usr/share/doc/redis/commands/info.md
/usr/share/doc/redis/commands/keys.md
/usr/share/doc/redis/commands/lastsave.md
/usr/share/doc/redis/commands/lindex.md
/usr/share/doc/redis/commands/linsert.md
/usr/share/doc/redis/commands/llen.md
/usr/share/doc/redis/commands/lpop.md
/usr/share/doc/redis/commands/lpush.md
/usr/share/doc/redis/commands/lpushx.md
/usr/share/doc/redis/commands/lrange.md
/usr/share/doc/redis/commands/lrem.md
/usr/share/doc/redis/commands/lset.md
/usr/share/doc/redis/commands/ltrim.md
/usr/share/doc/redis/commands/memory-doctor.md
/usr/share/doc/redis/commands/memory-help.md
/usr/share/doc/redis/commands/memory-malloc-stats.md
/usr/share/doc/redis/commands/memory-purge.md
/usr/share/doc/redis/commands/memory-stats.md
/usr/share/doc/redis/commands/memory-usage.md
/usr/share/doc/redis/commands/mget.md
/usr/share/doc/redis/commands/migrate.md
/usr/share/doc/redis/commands/monitor.md
/usr/share/doc/redis/commands/move.md
/usr/share/doc/redis/commands/mset.md
/usr/share/doc/redis/commands/msetnx.md
/usr/share/doc/redis/commands/multi.md
/usr/share/doc/redis/commands/object.md
/usr/share/doc/redis/commands/persist.md
/usr/share/doc/redis/commands/pexpire.md
/usr/share/doc/redis/commands/pexpireat.md
/usr/share/doc/redis/commands/pfadd.md
/usr/share/doc/redis/commands/pfcount.md
/usr/share/doc/redis/commands/pfmerge.md
/usr/share/doc/redis/commands/ping.md
/usr/share/doc/redis/commands/psetex.md
/usr/share/doc/redis/commands/psubscribe.md
/usr/share/doc/redis/commands/pttl.md
/usr/share/doc/redis/commands/publish.md
/usr/share/doc/redis/commands/pubsub.md
/usr/share/doc/redis/commands/punsubscribe.md
/usr/share/doc/redis/commands/quit.md
/usr/share/doc/redis/commands/randomkey.md
/usr/share/doc/redis/commands/readonly.md
/usr/share/doc/redis/commands/readwrite.md
/usr/share/doc/redis/commands/rename.md
/usr/share/doc/redis/commands/renamenx.md
/usr/share/doc/redis/commands/replicaof.md
/usr/share/doc/redis/commands/restore.md
/usr/share/doc/redis/commands/role.md
/usr/share/doc/redis/commands/rpop.md
/usr/share/doc/redis/commands/rpoplpush.md
/usr/share/doc/redis/commands/rpush.md
/usr/share/doc/redis/commands/rpushx.md
/usr/share/doc/redis/commands/sadd.md
/usr/share/doc/redis/commands/save.md
/usr/share/doc/redis/commands/scan.md
/usr/share/doc/redis/commands/scard.md
/usr/share/doc/redis/commands/script-debug.md
/usr/share/doc/redis/commands/script-exists.md
/usr/share/doc/redis/commands/script-flush.md
/usr/share/doc/redis/commands/script-kill.md
/usr/share/doc/redis/commands/script-load.md
/usr/share/doc/redis/commands/sdiff.md
/usr/share/doc/redis/commands/sdiffstore.md
/usr/share/doc/redis/commands/select.md
/usr/share/doc/redis/commands/set.md
/usr/share/doc/redis/commands/setbit.md
/usr/share/doc/redis/commands/setex.md
/usr/share/doc/redis/commands/setnx.md
/usr/share/doc/redis/commands/setrange.md
/usr/share/doc/redis/commands/shutdown.md
/usr/share/doc/redis/commands/sinter.md
/usr/share/doc/redis/commands/sinterstore.md
/usr/share/doc/redis/commands/sismember.md
/usr/share/doc/redis/commands/slaveof.md
/usr/share/doc/redis/commands/slowlog.md
/usr/share/doc/redis/commands/smembers.md
/usr/share/doc/redis/commands/smove.md
/usr/share/doc/redis/commands/sort.md
/usr/share/doc/redis/commands/spop.md
/usr/share/doc/redis/commands/srandmember.md
/usr/share/doc/redis/commands/srem.md
/usr/share/doc/redis/commands/sscan.md
/usr/share/doc/redis/commands/strlen.md
/usr/share/doc/redis/commands/subscribe.md
/usr/share/doc/redis/commands/sunion.md
/usr/share/doc/redis/commands/sunionstore.md
/usr/share/doc/redis/commands/swapdb.md
/usr/share/doc/redis/commands/sync.md
/usr/share/doc/redis/commands/time.md
/usr/share/doc/redis/commands/touch.md
/usr/share/doc/redis/commands/ttl.md
/usr/share/doc/redis/commands/type.md
/usr/share/doc/redis/commands/unlink.md
/usr/share/doc/redis/commands/unsubscribe.md
/usr/share/doc/redis/commands/unwatch.md
/usr/share/doc/redis/commands/wait.md
/usr/share/doc/redis/commands/watch.md
/usr/share/doc/redis/commands/xack.md
/usr/share/doc/redis/commands/xadd.md
/usr/share/doc/redis/commands/xclaim.md
/usr/share/doc/redis/commands/xdel.md
/usr/share/doc/redis/commands/xgroup.md
/usr/share/doc/redis/commands/xinfo.md
/usr/share/doc/redis/commands/xlen.md
/usr/share/doc/redis/commands/xpending.md
/usr/share/doc/redis/commands/xrange.md
/usr/share/doc/redis/commands/xread.md
/usr/share/doc/redis/commands/xreadgroup.md
/usr/share/doc/redis/commands/xrevrange.md
/usr/share/doc/redis/commands/xtrim.md
/usr/share/doc/redis/commands/zadd.md
/usr/share/doc/redis/commands/zcard.md
/usr/share/doc/redis/commands/zcount.md
/usr/share/doc/redis/commands/zincrby.md
/usr/share/doc/redis/commands/zinterstore.md
/usr/share/doc/redis/commands/zlexcount.md
/usr/share/doc/redis/commands/zpopmax.md
/usr/share/doc/redis/commands/zpopmin.md
/usr/share/doc/redis/commands/zrange.md
/usr/share/doc/redis/commands/zrangebylex.md
/usr/share/doc/redis/commands/zrangebyscore.md
/usr/share/doc/redis/commands/zrank.md
/usr/share/doc/redis/commands/zrem.md
/usr/share/doc/redis/commands/zremrangebylex.md
/usr/share/doc/redis/commands/zremrangebyrank.md
/usr/share/doc/redis/commands/zremrangebyscore.md
/usr/share/doc/redis/commands/zrevrange.md
/usr/share/doc/redis/commands/zrevrangebylex.md
/usr/share/doc/redis/commands/zrevrangebyscore.md
/usr/share/doc/redis/commands/zrevrank.md
/usr/share/doc/redis/commands/zscan.md
/usr/share/doc/redis/commands/zscore.md
/usr/share/doc/redis/commands/zunionstore.md
/usr/share/doc/redis/topics
/usr/share/doc/redis/topics/ARM.md
/usr/share/doc/redis/topics/admin.md
/usr/share/doc/redis/topics/benchmarks.md
/usr/share/doc/redis/topics/clients.md
/usr/share/doc/redis/topics/cluster-spec.md
/usr/share/doc/redis/topics/cluster-tutorial.md
/usr/share/doc/redis/topics/config.md
/usr/share/doc/redis/topics/data-types-intro.md
/usr/share/doc/redis/topics/data-types.md
/usr/share/doc/redis/topics/debugging.md
/usr/share/doc/redis/topics/distlock.md
/usr/share/doc/redis/topics/encryption.md
/usr/share/doc/redis/topics/faq.md
/usr/share/doc/redis/topics/indexes.md
/usr/share/doc/redis/topics/internals-eventlib.md
/usr/share/doc/redis/topics/internals-rediseventlib.md
/usr/share/doc/redis/topics/internals-sds.md
/usr/share/doc/redis/topics/internals-vm.md
/usr/share/doc/redis/topics/internals.md
/usr/share/doc/redis/topics/introduction.md
/usr/share/doc/redis/topics/latency-monitor.md
/usr/share/doc/redis/topics/latency.md
/usr/share/doc/redis/topics/ldb.md
/usr/share/doc/redis/topics/license.md
/usr/share/doc/redis/topics/lru-cache.md
/usr/share/doc/redis/topics/mass-insert.md
/usr/share/doc/redis/topics/memory-optimization.md
/usr/share/doc/redis/topics/modules-api-ref.md
/usr/share/doc/redis/topics/modules-blocking-ops.md
/usr/share/doc/redis/topics/modules-intro.md
/usr/share/doc/redis/topics/modules-native-types.md
/usr/share/doc/redis/topics/notifications.md
/usr/share/doc/redis/topics/partitioning.md
/usr/share/doc/redis/topics/persistence.md
/usr/share/doc/redis/topics/pipelining.md
/usr/share/doc/redis/topics/problems.md
/usr/share/doc/redis/topics/protocol.md
/usr/share/doc/redis/topics/pubsub.md
/usr/share/doc/redis/topics/quickstart.md
/usr/share/doc/redis/topics/rdd-1.md
/usr/share/doc/redis/topics/rdd-2.md
/usr/share/doc/redis/topics/rdd.md
/usr/share/doc/redis/topics/rediscli.md
/usr/share/doc/redis/topics/releases.md
/usr/share/doc/redis/topics/replication.md
/usr/share/doc/redis/topics/security.md
/usr/share/doc/redis/topics/sentinel-clients.md
/usr/share/doc/redis/topics/sentinel-old.md
/usr/share/doc/redis/topics/sentinel-spec.md
/usr/share/doc/redis/topics/sentinel.md
/usr/share/doc/redis/topics/signals.md
/usr/share/doc/redis/topics/sponsors.md
/usr/share/doc/redis/topics/streams-intro.md
/usr/share/doc/redis/topics/trademark.md
/usr/share/doc/redis/topics/transactions.md
/usr/share/doc/redis/topics/twitter-clone.md
/usr/share/doc/redis/topics/virtual-memory.md
/usr/share/doc/redis/topics/whos-using-redis.md

References

Summary

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