7-Zip is free and open source file archiver software for Windows, MacOS and Linux. It is under the GNU LGPL license some parts under the BSD 3-clause License. Some of its features are 7z format with LZMA and LZMA2 compression support, AES-256 encryption, Self-extracting capability and biuld-in File Manager.
Starting from 7-Zip 21.01 alpha version, it comes with native Linux command-line support. You can install this 7-Zip for Linux console version in your Ubuntu Linux system using below method.