Arch Linux BasedManjaro

How To Install 7-Zip on Manjaro

Install 7-Zip on Manjaro

In this tutorial, we will show you how to install 7-Zip on Manjaro. 7-Zip is a powerful and versatile open-source file archiver that offers high compression ratios and supports a wide range of formats, including 7z, ZIP, RAR, and more. As a Manjaro Linux user, you may find yourself in need of a reliable file compression tool like 7-Zip.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the 7-Zip open-source file archiver on a Manjaro Linux.

Prerequisites

  • A server or desktop running one of the following operating systems: Manjaro, and other Arch-based distributions.
  • Basic familiarity with the command line interface (CLI).
  • SSH access to the server (or just open Terminal if you’re on a desktop).
  • A stable internet connection is crucial for downloading and installing packages. Verify your connection before proceeding.
  • Access to a Manjaro Linux system with a non-root sudo user or root user.

Install 7-Zip on Manjaro

Step 1. Update Your System.

Before diving into the installation process, ensure your Manjaro system is ready. Start by updating your system to the latest version to avoid any compatibility issues. Open your terminal and execute:

sudo pacman -Syu

This command will synchronize the package databases and upgrade any outdated packages to their latest versions.

Step 2. Installing 7-Zip on Manjaro.

Manjaro Linux offers several methods to install 7-Zip, catering to users with different preferences and skill levels. In this section, we’ll cover three popular installation methods: using Pacman, Pamac (GUI), and Snap.

  • Installing 7-Zip Using Pacman

Pacman is the command-line package manager for Manjaro and other Arch-based Linux distributions. To install 7-Zip using Pacman, follow these steps:

sudo pacman -Sy

Install the p7zip package with the following command:

sudo pacman -S p7zip

Once the installation is complete, you can verify it by running:

7z
  • Installing 7-Zip Using Pamac (GUI)

Pamac is the graphical package manager for Manjaro, providing a user-friendly interface for installing and managing software. To install 7-Zip using Pamac, follow these steps:

    1. Open Pamac (Add/Remove Software) from your application menu.
    2. In the search bar, type “p7zip” and press Enter.
    3. Locate the p7zip package in the search results and click the “Install” button next to it.
    4. Click “Apply” to begin the installation process.

Once the installation is complete, you can verify it by opening a terminal and running:

7z
  • Installing 7-Zip Using Snap

Snap is a universal package manager developed by Canonical, the company behind Ubuntu. It allows users to install and run applications in a sandboxed environment, ensuring better security and compatibility across different Linux distributions. To install 7-Zip using Snap on Manjaro, follow these steps:

sudo pacman -S snapd

Enable the Snapd systemd unit:

sudo systemctl enable --now snapd.socket

Install 7-Zip using the following command:

sudo snap install p7zip-desktop

Once the installation is complete, you can verify it by opening a terminal and running:

7z

Step 3. Using 7-Zip on Manjaro.

Now that you have 7-Zip installed on your Manjaro system, let’s explore some basic usage examples for compressing and extracting files.

To compress files using 7-Zip, use the following command:

7z a archive_name file_name

To extract files from a 7-Zip archive, use the following command:

7z x archive_name

7-Zip also offers advanced features, such as password protection and splitting archives into smaller parts. To create a password-protected archive, use the following command:

7z a -p{password} archive_name file_name

To split an archive into smaller parts, use the following command:

7z a -v{size} archive_name file_name

Replace {size} with the desired size for each part (e.g., 100M for 100 MB parts), archive_name with the name of the compressed file, and file_name with the name of the file or directory you want to compress.

Congratulations! You have successfully installed 7-Zip. Thanks for using this tutorial to install the latest version of the 7-Zip file archiver on the Manjaro system. For additional help or useful information, we recommend you check the official 7-Zip website.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

r00t

r00t is an experienced Linux enthusiast and technical writer with a passion for open-source software. With years of hands-on experience in various Linux distributions, r00t has developed a deep understanding of the Linux ecosystem and its powerful tools. He holds certifications in SCE and has contributed to several open-source projects. r00t is dedicated to sharing her knowledge and expertise through well-researched and informative articles, helping others navigate the world of Linux with confidence.
Back to top button