How to Install and Uninstall redis Package on Ubuntu 20.04 LTS (Focal Fossa)

Last updated: May 02,2024

1. Install "redis" package

This tutorial shows how to install redis on Ubuntu 20.04 LTS (Focal Fossa)

$ sudo apt update $ sudo apt install redis

2. Uninstall "redis" package

Learn how to uninstall redis on Ubuntu 20.04 LTS (Focal Fossa):

$ sudo apt remove redis $ sudo apt autoclean && sudo apt autoremove

3. Information about the redis package on Ubuntu 20.04 LTS (Focal Fossa)

Package: redis
Architecture: all
Version: 5:5.0.7-2ubuntu0.1
Priority: optional
Section: universe/database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Chris Lamb
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 62
Depends: redis-server (<< 5:5.0.7-2ubuntu0.1.1~), redis-server (>= 5:5.0.7-2ubuntu0.1)
Filename: pool/universe/r/redis/redis_5.0.7-2ubuntu0.1_all.deb
Size: 3064
MD5sum: 9d6b7b4472e373b4f53a265cd1c3763a
SHA1: 7e56fad929171d25eea5c485a4d6b91d822831ed
SHA256: 31e1523d7a88502f301ce54b8234b8353aad7fa9b31948562c4531fa375efbe7
SHA512: a469477dd8919ec8e593db9f702a8ef813164b13bf9a85cb75b4f23bf970dda7bdc79a5f533437ed493c237000ad50df9891a10ef0b482183043c2bf3593026c
Homepage: https://redis.io/
Description: Persistent key-value database with network interface (metapackage)
Description-md5: 1f71827385593ea66e6e88a41b6c85b5

Package: redis
Architecture: all
Version: 5:5.0.7-2
Priority: optional
Section: universe/database
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Chris Lamb
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 62
Depends: redis-server (<< 5:5.0.7-2.1~), redis-server (>= 5:5.0.7-2)
Filename: pool/universe/r/redis/redis_5.0.7-2_all.deb
Size: 3048
MD5sum: 79c59dc4e01b126763ed6a9fa44a5867
SHA1: fa20a81af3534d574dffd74fc451cd444431f70f
SHA256: fd205fc8011f051fdbb2443cb3ca67cccb8c2ebf561474dd4046bd2d71c7ab1a
Homepage: https://redis.io/
Description: Persistent key-value database with network interface (metapackage)
Description-md5: 1f71827385593ea66e6e88a41b6c85b5