
7-Zip is a free and open-source file archiver, a utility used to place groups of files within compressed containers known as “archives”. It is developed by Igor Pavlov and was first released in 1999. 7-Zip has its own archive format called 7z, but can read and write several others.


Do not do both methods. Pick one that works for you.
Method 1
$ sudo apt update
$ sudo snap install p7zip-desktop
Method 2
$ sudo add-apt-repository universe
$ sudo apt update
$ sudo apt install p7zip-full p7zip-rar