How To Install 7Zip (7z) Archive Tool In Ubuntu

In this article, we are going to learn How to install 7Zip (7z) archive tool in Ubuntu. 7ZIP is an open-source archive tool and a compressor tool like gzip, bzip2. To make it easier to transfer large-sized files or folders, its size is less. The larger size files or the size of the folder at 7ZIP is quite minimal. p7zip is 7z.exe and 7za.exe is a part of the 7zip command line version. The 7Zip (7z) archive tool was developed by Igor Powolov and first released in 1999. 7-Zip uses its own 7z archive format but can read and write many other collection formats. 7Zip (7z) archive tool is available in 85+ languages and this application uses C ++ programming language.

Follow the below steps to install 7Zip (7z) Archive Tool in Ubuntu:

Before installing the 7Zip (7z) archive tool, update the packages and repositories in Ubuntu. Use the following command for this. (sudo apt-get update)

itsmarttricks@mangesh:~$ sudo apt-get update

[sudo] password for itsmarttricks:

Get:1 bionic InRelease [242 kB]

Get:2 bionic-security InRelease [83.2 kB]

Get:3 bionic-updates InRelease [88.7 kB]

Get:4 bionic-security/main i386 Packages [117 kB]

Get:5 bionic-security/main amd64 Packages [145 kB]

Get:6 bionic-backports InRelease [74.6 kB]

Get:7 bionic-security/main Translation-en [56.2 kB]

Get:8 bionic/main i386 Packages [1,007 kB]

Get:9 bionic-security/main amd64 DEP-11 Metadata [204 B]

Get:10 bionic-security/universe i386 Packages [50.3 kB]

After updating the packages and repositories of ubuntu, use the following command to install the 7zip (7z) archive tool. (sudo apt-get install p7zip-full)

itsmarttricks@mangesh:~$ sudo apt-get install p7zip-full
Reading package lists... Done
Building dependency tree 
Reading state information... Done
Suggested packages:
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 37 not upgraded.
Need to get 0 B/1,164 kB of archives.
After this operation, 4,759 kB of additional disk space will be used.
Selecting previously unselected package p7zip-full.
(Reading database ... 125845 files and directories currently installed.)
Preparing to unpack .../p7zip-full_16.02+dfsg-6_amd64.deb ...
Unpacking p7zip-full (16.02+dfsg-6) ...
Setting up p7zip-full (16.02+dfsg-6) ...
Processing triggers for man-db (2.8.3-2) ...

Now you can see 7zip archive tool is successfully installed on Ubuntu. Check out the following commands and confirm. (sudo dpkg -l p7zip-full)

itsmarttricks@mangesh:~$ sudo dpkg -l p7zip-full
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
ii p7zip-full 16.02+dfsg-6 amd64 7z and 7za file archivers with hi

Also Read – TAR Command Examples in Linux

Use the following command to remove or uninstall the 7ZIP (7Z) ARCHIVE TOOL. (sudo apt-get remove p7zip-full)

itsmarttricks@mangesh:~$ sudo apt-get remove p7zip-full
Reading package lists... Done
Building dependency tree 
Reading state information... Done
The following package was automatically installed and is no longer required:
Use 'sudo apt autoremove' to remove it.
The following packages will be REMOVED:
0 upgraded, 0 newly installed, 1 to remove and 37 not upgraded.
After this operation, 4,759 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 125931 files and directories currently installed.)
Removing p7zip-full (16.02+dfsg-6) ...
Processing triggers for man-db (2.8.3-2) ...

Also Read- Top Basic Linux Commands for Beginners.

This is how we can install 7zip (7z) archive tool in Ubuntu. If you found this article useful then Like us, Share this post, if you have something to say then feel free to comment on the comment box below.

7Zip Forum Links-

p7zip Public Forums
7zip Public Forums
7zip official webpage

That’s all, In this article, we have explained How To Install 7Zip (7z) Archive Tool In Ubuntu. I hope you enjoy this article. If you like this article, then just share it. If you have any questions about this article, please comment.

Share this:
WhatsApp Channel Join Now
Telegram Channel Join Now
Instagram Channel Join Now

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.