Get the App
SLTechnology News&Howtos  ›  Development  › 

How to decompress rar file under Linux

Shulou Source: shulou.com Published: 2022-06-01 23:56:55 09月30日 Update

This article mainly explains "how to extract rar files under Linux", the content of the explanation is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "how to extract rar files under Linux" bar!

Normal rar is a compressed file under windows, which is not supported by linux, but you can extract the rar file using the rar command by installing rarlinux. First, decompress the problem.

When downloading things on the Internet, I often encounter files with the .rar suffix. I can't extract them with tar. I can't find them on the Internet. I haven't found any suitable tools to compress and decompress the files with the .rar suffix, and now I've found it.

Second, rar and unrar install wget http://www.rarlab.com/rar/rarlinux-3.9.2.tar.gztar zxvf rarlinux-3.9.2.tar.gzcd rarmake & & make install # after decompression, install. It's just an example of [root@BlackGhost rar] # make & & make installmkdir-p / usr/local/binmkdir-p / usr/local/libcp rar unrar / usr/local/bincp rarfiles.lst / etccp default.sfx / usr/local/libmkdir-p / usr/local/binmkdir-p / usr/local/libcp rar unrar / usr/local/bincp rarfiles.lst / etccp default.sfx / usr/local/ Lib III, rar and unrar commands

1), an example of rar

[root@BlackGhost test] # rar a url.rar url.txtRAR 3.92 Copyright (c) 1993-2010 Alexander Roshal 10 Feb 2010Shareware version Type RAR -? For helpEvaluation copy. Please register.Creating archive url.rarAdding url.txt OKDone Red Hat RHCE Certification exam explanation: https://www.linuxprobe.com/redhat-certificate

2), the example of unrar

[root@BlackGhost test] # unrar x url.rarUNRAR 3.90 freeware Copyright (c) 1993-2009 Alexander RoshalExtracting from url.rarurl.txt already exists. Overwrite it? [y] es, [N] o, [A] ll, n [E] ver, [R] ename, [Q] uit yExtracting url.txt OKAll OK thank you for reading. This is the content of "how to extract rar files under Linux". After the study of this article, I believe you have a deeper understanding of the problem of how to extract rar files under Linux. The specific use situation still needs to be verified by practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Files examples learning content suffixes commands that is problems suitability things that can be passed tools regular meetings ideas situations articles times more to make knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Docker vpn Microsoft Xiaomi