How To Install 7Zip (7z) Archive Tool In Ubuntu 18.04.1 LTS (Bionic Beaver)
In this article, we are going to learn How to install 7Zip (7z) archive tool in Ubuntu 18.04.1 LTS (Bionic Beaver). 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 18.04.1 LTS:
Before installing the 7Zip (7z) archive tool, update the packages and repositories in Ubuntu 18.04.1 LTS. Use the following command for this. (sudo apt-get update)
itsmarttricks@mangesh:~$ sudo apt-get update [sudo] password for itsmarttricks: Get:1 http://in.archive.ubuntu.com/ubuntu bionic InRelease [242 kB] Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB] Get:3 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:4 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [117 kB] Get:5 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [145 kB] Get:6 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Get:7 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [56.2 kB] Get:8 http://in.archive.ubuntu.com/ubuntu bionic/main i386 Packages [1,007 kB] Get:9 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [204 B] Get:10 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [50.3 kB]
After updating the packages and repositories ofUbuntu 18.04.1 LTS, 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: p7zip-rar The following NEW packages will be installed: p7zip-full 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 18.04.1 LTS. Check out the following commands and confirm. (sudo dpkg -l p7zip-full)
itsmarttricks@mangesh:~$ sudo dpkg -l p7zip-full Desired=Unknown/Install/Remove/Purge/Hold | 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
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: p7zip Use 'sudo apt autoremove' to remove it. The following packages will be REMOVED: p7zip-full 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 18.04.1 LTS (Bionic Beaver). 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-