DropVPS Team
Writer: John hens
how to install 7zip on Ubuntu 25.04

Table of Contents
What you will read?
7-Zip is a free, open-source archiver that supports a wide range of formats and offers high compression efficiency. On Ubuntu 25.04, you can install it easily using the package manager and then use it to compress, extract, and manage archives from the terminal
Step 1: Update System Packages
Keeping your system updated ensures smooth installation and the latest security patches are applied:
sudo apt update && sudo apt upgrade -y
Step 2: Install the 7-Zip Package
Ubuntu provides 7-Zip through the p7zip-full package, which includes all essential features for compression and extraction:
sudo apt install p7zip-full -y
You can also install optional RAR support:
sudo apt install p7zip-rar -y
Step 3: Verify the Installation
After installation, it is a good idea to check that 7-Zip is correctly installed and available on your system:
7z --version
Once installed, you can start compressing files or extracting archives directly from the terminal:
7z a archive.7z file1 file2
You can also extract an existing archive:
7z x archive.7z