You can install a specific version of Redis from the official Ubuntu repositories by running apt install redis-server=. Replace the number placeholder with the actual value. You can also download other releases by adding third-party repos or the Redis source code.