In this post, we are going to show that how to Install 7-Zip File Archiver on Ubuntu 18.04 | 20.04. If your are going to Install 7-Zip File Archiver on your Ubuntu system then this post is ideal for you.
7-Zip is a free, open-source and award-wining file archiver utility with a high compression ratio that is only built for Windows systems.
In the Linux, 7-Zip is only available in console mode(alpha release). You can download the alpha release of the Linux version from its download page.
If you are familiar with 7-Zip tool and want to use a GUI version of 7-Zip tool in your Linux including Ubuntu system then with the help of Wine 6, you can install it on your Ubuntu system.
How to Install 7-Zip File Archiver on Ubuntu
Simply follow below steps to install 7-Zip on your Ubuntu system:
Step 1 : Install Wine 6
Wine is a an open source software that is developed to allows Linux users to run Windows applications in Linux environment. Wine 6 is the latest and stable release of Wine that is available for installation and it contains a large number of improvements that are includes in latest release.
To install Wine, simply follow steps below:
1 : Prepare to Enable 32 bit architecture
Run the below commands to enable the 32-bit architecture:
sudo apt update
sudo dpkg --add-architecture i386
2 : Download and add Wine Repository
Run the below command to download Wine package repository and add repository key:
wget -qO - https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add -
After download and add repository key, Run the below command to add the Wine repository files:
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
3 : Install Wine
After add the repository, run the below commands to install Wine on Ubuntu:
sudo apt update
sudo apt install --install-recommends winehq-stable
Step 2 : Install 7-Zip
To install 7-Zip, First download 7-Zip package from its official site. Download the 32-bit version for 32-bit systems and 64-bit version for 64-bit systems.

As we know, all the downloaded files are saved in Downloads folder. So open your terminal and switch to the Downloads folder using command below :
cd ~/Downloads
Next, install 7-Zip by using command below:
wine 7z2101-x64.exe
Replace the version number according to your downloaded file.
The above command will open installation wizard, Follow instructions of installation wizard and continue.

That’s all
If you face any error and issue in above steps , please use comment box below to report.
If our tutorials helped you, please consider buying us a coffee. We appreciate your support!
Thank you for your support.