Cannot write to ‘redis-stable.tar.gz’ (Permission denied).

July 02, 2018435
Share Tweet Pin it

By running or downloading the following 

wget http://download.redis.io/redis-stable.tar.gz

if you are getting response as follows

--2018-07-02 17:51:02--  http://download.redis.io/redis-stable.tar.gz
Resolving download.redis.io (download.redis.io)... 109.74.203.151
Connecting to download.redis.io (download.redis.io)|109.74.203.151|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1771641 (1.7M) [application/x-gzip]
redis-stable.tar.gz: Permission denied

Cannot write to ‘redis-stable.tar.gz’ (Permission denied).

Please use the following one instead the above command in ubuntu

sudo wget http://download.redis.io/redis-stable.tar.gz

Hope this will work with you. Thanks in advance. Good Luck