Unzipping tar.7z files in google collab notebook


(Tabish Bashir) #1

If anyone is having problems in unzipping tar.7z files downloaded from the kaggle competitions in your google collab notebook follow this link https://www.quora.com/How-do-I-extract-a-7-Zip-file-using-the-7-Zip-portable-version
Check the first answer!


#2

@tabish Could you give more steps or some screenshots of how you unzipped tar.7z in google colab notebook? I tried following the quora answer but I’m getting error as Permission denied. Plz Help me out. Thank you!


(Arnav) #3

@Vivek10 This worked for me.

!apt-get install p7zip-full
!p7zip -d file_name.tar.7z
!tar -xvf file_name.tar