How to Install 7zip on Ubuntu 18.04 LTS (Bionic Beaver)

Sooner or later you’ll download or will be sent something archived with the ever popular 7zip file compression software.

Given it’s popularity, probably to do with being completely free and open source (under the GNU LGPL license), as well as cross-platform, it’s probably a good idea to ensure it’s installed on your Ubuntu system, as it doesn’t come with it pre-installed out of the box.

Ubuntu 7zip Install

sudo apt-get update
sudo apt install p7zip-full

7zip is included in Ubuntu’s default repositories (the ones your system is configured to use out of the box), so you should see output like this:

[email protected]:~$ sudo apt install p7zip-full
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
The following NEW packages will be installed
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 1,164 kB of archives.
After this operation, 4,759 kB of additional disk space will be used.
Get:1 bionic/universe amd64 p7zip-full amd64 16.02+dfsg-6 [1,164 kB]
Fetched 1,164 kB in 0s (4,918 kB/s)  
Selecting previously unselected package p7zip-full.
(Reading database ... 240944 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-2ubuntu0.1) ...
[email protected]:~$ 

That’s it!

You should be able to manage 7zip archives via the file browser, or via the command line.

You can confirm the version of 7zip that’s been installed too by running the following:

[email protected]:~$ 7z

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=en_GB.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (806EA),ASM,AES-NI)

Thanks for you using this short tutorial, if you found it useful be sure to check out some of my ot guides suggested in the sidebar or below.

Leave a Reply

Your email address will not be published. Required fields are marked *

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