In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the relevant knowledge of how to use the Linux rar decompression command, the content is detailed and easy to understand, the operation is simple and fast, and it has a certain reference value. I believe you will gain something after reading this Linux rar decompression command. Let's take a look at it.
1. Package and upload rar files under widonds
Yum install lrzsz
Rz test.rar
Download and install rar software
1. Download: download the appropriate version according to the host system. Currently 64 is a demo download for the centos system:
Wget http://www.rarlab.com/rar/rarlinux-x64-5.3.0.tar.gz
two。 Decompression and installation
Tar xvf rarlinux-x64-5.3.0.tar.gz
Cd rar
Make install
OK!
Compress a file:
Rar a-r yii-basic-2.0.15.rar yii-basic-2.0.15
2.1download (lower version, windows compression rar may not be supported)
Mkdir-p / home/oldboy/tools
Cd / home/oldboy/tools
Wget http://www.rarlab.com/rar/rarlinux-3.8.0.tar.gz
2.2 installation
Tar zxvf rarlinux-3.8.0.tar.gz
Cd rar
Make
Make install
Third, rar command syntax
Compress the / etc directory to the etc.rar command:
Rar an etc.rar / etc
Unzip the etc.rar command as follows:
Rar x etc.rar
Unrar-e etc.tar
IV. Specific examples
Example: compress the / etc directory to etc.rar
[root@yonggetools] # rar an etc.rar / etc
Extract the etc.rar:
[root@yonggetools] # rar x etc.rar
RAR 3.80 Copyright (c) 1993-2008 Alexander Roshal 16 Sep 2008
[root@localhost www] # cd / usr/etc
[root@localhost etc] # ll
[root@localhost etc] # mkdir tools
[root@localhost etc] # ll
Drwxr-xr-x 2 root root 6 Oct 22 21:12 tools
[root@localhost etc] # cd tools
[root@localhost tools] # wget http://www.rarlab.com/rar/rarlinux-3.8.0.tar.gz
[root@localhost tools] # tar zxvf rarlinux-3.8.0.tar.gz
[root@localhost tools] # cd rar
[root@localhost rar] # make & & make install
[root@localhost rar] # cd / www
[root@localhost www] # ll
[root@localhost www] # rar x Novel.rar
-bash: / usr/local/bin/rar: / lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
This is the end of the article on "how to use the Linux rar decompression command". Thank you for reading! I believe you all have a certain understanding of the knowledge of "how to use the Linux rar decompression command". If you want to learn more knowledge, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.