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

June 16, 2015 2.7k views
Apache Linux 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 .

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.

Have another answer? Share your knowledge.