Symptoms
An attempt to extract a compressed file with the RAR extension fails with the following error message:
Unable to extract /httpdocs/File.rar: To extract RAR archives, install UnRAR.
Cause
UnRAR is not installed in the system.
Resolution
Ubuntu/Debian
-
Connect to the server via SSH
-
Install UnRAR with the following command:
# apt install -y unrar
-
Reload package cache:
# plesk sbin packagemng -sdf
-
Log in to Plesk GUI > Domains > example.com > File Manager > Click on the RAR file to extract its content
CentOS/CloudLinux/RHEL
Note: Extracting archives using unar is possible starting from Obsidian 18.0.34.
-
Connect to the server via SSH
-
Add EPEL repository:
# yum install -y epel-release
-
Install Unar with the following command:
# yum install -y unar
-
Reload package cache:
# plesk sbin packagemng -sdf
-
Log in to Plesk GUI > Domains > example.com > File Manager > Click on the RAR file to extract its content