![]() ![]() Display detailed files info present inside the RAR archiveĭisplays detailed information about the files contained in the RAR archive including file attributes, file size, compression ratio, date time, checksum, and file name. List of the files inside a RAR archiveĭisplays a list of the files contained in the RAR archive but without extracting them. If you have the RAR file that is password protected then use the -p switch with the regular x option to extract the file: unrar x p myfile.rar 4. The “ x” option stands for “ extract with full path” will be used. To extracts all files and directories from the RAR archive let’s say, a file name – “ myfile.rar” while preserving the original directory structure. Also, if you don’t want to extract all the files in your current folder but instead inside a folder then go for the next command. ![]() Note: Replace myfile.rar with your filename. Then the command will be: unrar e myfile.rar Suppose you have a file name “ myfile.rar” and you want to extract its all files from the RAR archive into the current directory. Extract files without archived paths using UNRAR Note: Unrar only extracts the archive, if you want to create a RAR-based archive then you have to install ‘ rar‘ tool using sudo apt install rar. Once you have the UNRAR installed on your Ubuntu Linux, here are the commands that we can use to extract, decompress, or manage RAR-based archives. Once the installation is completed you can check the unrar version on Linux to confirm its presence on your system using: unrar -v 3. Press ‘ Y‘ to give you permission to install it and then press the Enter key. Now, run the installation command: sudo apt install unrar This will refresh the package index cache of the APT. However, before that once run the system update command. So, in our case UNRAR was not installed already, therefore, we can use the APT package manager to install it on our Ubuntu system. Install UNRAR on Ubuntu 22.04 or 20.04 Linux Whereas, if it is not there then the system will give a message that the “ command ‘unrar’ not found, but can be installed with:“. If the UNRAR is on your system, then the above command will give you the details of its installed version. However, the CLI server users will already be on the Terminal, so just run the given command. To open Terminal, we can use the keyboard shortcut i.e Ctrl+Alt+T, or search Terminal in the Applications. ![]() So, let’s first check the availability of this tool using the command terminal. Well, maybe UNRAR is already on your Ubuntu Linux system but you don’t know. Including Debian, Linux Mint, MX Linux, POP OS, and more similar distros. The commands we are using here to set up and use UNRAR command line tool on Ubuntu 22.04 0r 20.04, are not just limited to these versions users can follow them for older or newer ones as well. Uninstallation UNRAR installation on Ubuntu 22.04 or 20.04 Linux ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |