For this purpose, the following command can be used: $unrar -p Uninstallation of UnRAR software You can extract a password-protected RAR file. For this purpose, use the following command: $unrar -f Extracting a password-protected file While extracting a file, the destination may have some older files present. For this purpose, use the following command: $unrar -extract-newer The –f flag for overwriting an existing file While extracting a file, you should pull only new files in the archive. You can also specify the destination folder where you want to extract the file as follows: $unrar -x /path/you/want/to/extract/to/ Pulling only new files while extracting Extract a file to a specified destination using UnRAR software In the above command, -x stands for extract, and file-name.rar is the file name you want to extract. To extract a file, use the UnRAR –x command as follows: $unrar -x Using the UnRAR utility, you can extract or open a RAR file present in the current folder. Type the following command on your Terminal to see the list of files present in the archive: $unrar -t Extract a file to the current directory using UnRAR For this purpose, we can use the –t flag. The first step while using a RAR archive is to see the contents or files in the RAR file. Usage of UnRAR softwareīefore moving on to the next part, we will discuss the primary uses of the UnRAR command. It will take a while to install the UnRAR utility on your system. To install UnRAR, type the following command on your Terminal: $sudo apt install unrar-free –y Then, type the following command on the Terminal to update your system packages: $sudo apt update -y & sudo apt upgrade –y Install UnRAR Click on the System Menu and then select Terminal to open it. The very first step is to update your system packages. How to Install and Use UnRAR on Ubuntu 22.04 using the APT Package Managerįollow the steps below to install the UnRAR utility. Second, you should have a root account or an account with sudo privileges. First, you must have an Ubuntu operating system (OS) installed. For following the steps ahead, some prerequisites must be met. We will now discuss the installation of the UnRAR utility on Ubuntu. When you try to open a RAR file in Ubuntu, you will see the following message appearing:įor opening files in Ubuntu, the UnRAR utility can be used. But unfortunately, the Ubuntu operating system doesn’t support extracting or creating RAR files. RAR is one of the most widely used archive formats. They can be used to split a file into multiple files, which can then be combined later on.Besides data compression, it also supports error correction and file spanning.It was developed in 1993 by Eugene Roshal.These are compressed archives similar to other formats, such as. The Roshal Archive (RAR) is a file format for storing compressed data files. Along with some of UnRAR’s common commands like extracting or listing down a RAR file’s contents, opening a password-protected file, and more. We will also discuss the basic features of a RAR file and provide an introduction to the UnRARunrar utility.įurthermore, we shall discuss the installation instructions for the UnRAR utility. So for this article, we are going to start with a brief discussion on what a RAR file is and the other standard compressed file formats. While RAR is a free utility for handling compressed files under Windows operating systems, sadly, it is not pre-installed on Linux computers. UnRAR is a command-line utility for extracting RAR files. Every regular Linux user must know how to install and use UnRAR on Ubuntu 20.04 OS.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |