I am going to post the code that I used to get this to work. Hope that this saves you some time. Good luck everybody!
===> First install the RAR and UNRAR binaries
wget https://www.rarlab.com/rar/rarlinux-x64-5.5.0.tar.gz
tar -zxvf rarlinux-x64-5.5.0.tar.gz
cd rar
sudo cp -v rar unrar ../../../bin/
===> (Go to the directory where you have copied the *2017_Gauteng_Informal.rar* file.)
unrar e 2017_Gauteng_Informal.rar GP_Informal_settlement2017.shp
You should probably unrar the entire directory....Don't specify just the SHP file.
unrar e 2017_Gauteng_Informal.rar
Thank you for sharing! I bet 100+ participants are rejoicing that they don't have to spend time figuring this out - think of the person-hours you've saved :)
I can't find that winrar file , can you share the command please?
It is in the root directory (eohackathon-covid19) for the competition.
Use the same command you use to copy the TIF files from AWS s3 to copy the .RAR file (2017_Gauteng_Informal.rar) to your VM.
I hope this answers your question.
Thank you
That was really helpful. Thanks a lot.