How to Install 7zip in Ubuntu
Ubuntu support most of the compression file formats by default. But at times we need to add additional compression file format support on Ubuntu.
Many of you are familiar with 7-zip which is an open source software for archiving/compressing files and decompressing files. You can learn more about 7-zip at this link (http://www.7-zip.org/) on their official website.
7-zip can compress files in 7z format. Which has high compression ratio? In this tutorial we will learn how to install 7-zip compression utilities on Ubuntu.
This is a step-by-step tutorial on how to install 7-zip compression utilities on Ubuntu. To follow this tutorial, you need to have the following requirements:
- A computer with Ubuntu operating system installed.
- Good internet connection to download the required software packages from the internet.
- Basic knowledge of Ubuntu terminal. With basic I mean, how to open a terminal on Ubuntu and how to execute commands.
Let’s get started.
Step 1: First open the terminal of your Ubuntu operating system. You can open your terminal by pressing Control, Alt and T at the same time. You can also go to the Unity dashboard and search by the keyword “Terminal” and click on the terminal. Or you can right click on the Desktop and click on “Open Terminal”.
Step 2: Type in the following command and press enter.
“sudo apt-get update”
Type in your user password and press Enter. This command will update the repository database of your Ubuntu operating system. So you can have the latest software packages available on the official Ubuntu repository.
Now type in the following command and press Enter to install 7-zip on Ubuntu.
“sudo apt-get install p7zip-full”
It will take a while depending on your internet connection. Wait and let the installation finish.
Step 3: Once the installation finishes, you can now create and extract 7zip files.
Right click on a file you would like to compress using 7zip, and click on “Compress”
File compression window will appear. Click on the marked drop down menu as shown in the screenshot and select tar.7z.
Now click on “Create” to compress the file.
The compression will start.
Once the compression is complete. You will see the following window. Click on the “Cancel” button.
That’s how you compress file in 7zip format on Ubuntu.
Step 4: You can also decompress files created using 7zip utilities. To decompress the file, just right click on the file and select “Extract Here”.
A progress bar will appear indicating how much of the archive is extracted. Wait for it to finish. Once it’s done, you will see your decompressed files. That’s how you decompress a 7zip file on Ubuntu.
Step 5: You can choose to compress and extract any file format that is shown in the list of the file archiver drop down menu.
That’s how you use 7zip on Ubuntu to compress and decompress files on Ubuntu.