How to extract a file.7z file on the public folder ?

Posted June 16, 2015 4.4k views
ApacheLinux Commands

I have uploaded my website to var/www/html in a compressed archive named file.7z but I don’t know how to extract .

Please tell me how to extract it .

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

You can use one of the following tools:

apt-get update
apt-get install p7zip-full
7z x PACKAGE.7z


apt-get update
apt-get install dtrx
dtrx archive.tar.7z

These commands assume you are using Ubuntu or Debian.