{"id":52491,"date":"2024-12-03T11:46:54","date_gmt":"2024-12-03T03:46:54","guid":{"rendered":"https:\/\/fwq.ai\/blog\/52491\/"},"modified":"2024-12-03T11:46:54","modified_gmt":"2024-12-03T03:46:54","slug":"linux%e4%b9%8brar%e6%96%87%e4%bb%b6%e8%a7%a3%e5%8e%8b%e4%b9%8b%e8%b7%af-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/52491\/","title":{"rendered":"Linux\u4e4brar\u6587\u4ef6\u89e3\u538b\u4e4b\u8def"},"content":{"rendered":"<p><b><\/b>     <\/p>\n<h1>Linux\u4e4brar\u6587\u4ef6\u89e3\u538b\u4e4b\u8def<\/h1>\n<p>\u76ee\u524d\u7c73\u4e91\u4e0a\u5df2\u7ecf\u6709\u5f88\u591a\u5173\u4e8e<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u6587\u7ae0<\/span>\u7684\u6587\u7ae0\u4e86\uff0c\u81ea\u5df1\u5728\u521d\u6b21\u9605\u8bfb\u8fd9\u4e9b\u6587\u7ae0\u4e2d\uff0c\u4e5f\u89c1\u8bc6\u5230\u4e86\u5f88\u591a\u5b66\u4e60\u601d\u8def\uff1b\u90a3\u4e48\u672c\u6587<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u300aLinux\u4e4brar\u6587\u4ef6\u89e3\u538b\u4e4b\u8def\u300b<\/span>\uff0c\u4e5f\u5e0c\u671b\u80fd\u5e2e\u52a9\u5230\u5927\u5bb6\uff0c\u5982\u679c\u9605\u8bfb\u5b8c\u540e\u771f\u7684\u5bf9\u4f60\u5b66\u4e60<span style=\"color: #FF6600;, Helvetica, Arial, sans-serif;font-size: 14px;background-color: #FFFFFF\">\u6587\u7ae0<\/span>\u6709\u5e2e\u52a9\uff0c\u6b22\u8fce\u52a8\u52a8\u624b\u6307\uff0c\u8bc4\u8bba\u7559\u8a00\u5e76\u5206\u4eab~<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.17golang.com\/uploads\/20241202\/1733126266674d687a70157.jpg\" class=\"aligncenter\" title=\"Linux\u4e4brar\u6587\u4ef6\u89e3\u538b\u4e4b\u8def\u63d2\u56fe\" alt=\"Linux\u4e4brar\u6587\u4ef6\u89e3\u538b\u4e4b\u8def\u63d2\u56fe\" \/><\/p>\n<p><strong>1. \u4e0b\u8f7d<\/strong>  <\/p>\n<p>\u6211\u4eec\u8fdb\u5165rarlab\u7f51\u7ad9\uff0c\u8fdb\u884c\u4e0b\u8f7d rar for linux x64<\/p>\n<p><strong>2. \u4f7f\u7528 tar \u547d\u4ee4 \u89e3\u538b \uff08*.tar \u7528 tar \u2013xvf \uff09<\/strong>  <\/p>\n<pre>  Downloads tar -xvf rarlinux-x64-5.6.0.tar.gz\n<\/pre>\n<p><strong>3. \u8fdb\u5165\u6587\u4ef6\u5939make (\u9700\u8981 \u7ba1\u7406\u5458\u6743\u9650)<\/strong>  <\/p>\n<pre>  rar cat makefile \n###################################################################\n# Installing RAR executables, configuration files and SFX modules #\n# to appropriate directories                                      #\n###################################################################\n\nPREFIX=\/usr\/local\n\ninstall:\n    mkdir -p $(PREFIX)\/bin\n    mkdir -p $(PREFIX)\/lib\n    cp rar unrar $(PREFIX)\/bin\n    cp rarfiles.lst \/etc\n    cp default.sfx $(PREFIX)\/lib%        \n<\/pre>\n<p>\u5982\u679c\u4e0d\u8fdb\u884cmake \u9700\u8981\u5728\u547d\u4ee4\u6240\u5728\u7684\u6587\u4ef6\u5939\u6267\u884c\u547d\u4ee4\uff0c\u6216\u8005\u628a\u6587\u4ef6\u5939\u52a0\u5165\u73af\u5883\u53d8\u91cf\u4e2d\u3002<\/p>\n<p><strong>4. \u6700\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528 unrar \u8fdb\u884c\u89e3\u538b\uff0c \u4f7f\u7528 rar \u547d\u4ee4\uff0c\u8fdb\u884c\u538b\u7f29\u3002<\/strong>  <\/p>\n<pre>  ~ unrar x [file] \n<\/pre>\n<p>\u6211\u4eec \u53ef\u4ee5\u76f4\u63a5\u8f93\u5165 unrar \u67e5\u770b\u5e2e\u52a9<\/p>\n<pre>  rar .\/unrar \n\nUNRAR 5.60 freeware      Copyright (c) 1993-2018 Alexander Roshal\n\nUsage:     unrar  - -  \n               &lt; @listfiles...&gt; \n\n\n  e             Extract files without archived paths\n  l[t[a],b]     List archive contents [technical[all], bare]\n  p             Print file to stdout\n  t             Test archive files\n  v[t[a],b]     Verbosely list archive contents [technical[all],bare]\n  x             Extract files with full path\n\n\n  -             Stop switches scanning\n  @[+]          Disable [enable] file lists\n  ad            Append archive name to destination path\n  ag[format]    Generate archive name using the current date\n  ai            Ignore file attributes\n  ap      Set path inside archive\n  c-            Disable comments show\n  cfg-          Disable read configuration\n  cl            Convert names to lower case\n  cu            Convert names to upper case\n  dh            Open shared files\n  ep            Exclude paths from names\n  ep3           Expand paths to full including the drive letter\n  f             Freshen files\n  id[c,d,p,q]   Disable messages\n  ierr          Send all messages to stderr\n  inul          Disable all messages\n  kb            Keep broken extracted files\n  n       Additionally filter included files\n  n@            Read additional filter masks from stdin\n  n@      Read additional filter masks from list file\n  o[+|-]        Set the overwrite mode\n  ol[a]         Process symbolic links as the link [absolute paths]\n  or            Rename files automatically\n  ow            Save or restore file owner and group\n  p[password]   Set password\n  p-            Do not query password\n  r             Recurse subdirectories\n  sc[obj]  Specify the character set\n  sl      Process files with size less than specified\n  sm      Process files with size more than specified\n  ta      Process files modified after  in YYYYMMDDHHMMSS format\n  tb      Process files modified before  in YYYYMMDDHHMMSS format\n  tn      Process files newer than \n  to      Process files older than \n  ts[m|c|a]     Save or restore file time (modification, creation, access)\n  u             Update files\n  v             List all volumes\n  ver[n]        File version control\n  vp            Pause before each volume\n  x       Exclude specified file\n  x@            Read file names to exclude from stdin\n  x@      Exclude files listed in specified list file\n  y             Assume Yes on all queries\n<\/pre>\n<p>\u5176\u4ed6\u89e3\u538b\u7f29\u547d\u4ee4\uff1a<\/p>\n<pre>1\u3001*.tar \u7528 tar \u2013xvf \u89e3\u538b \n2\u3001*.gz \u7528 gzip -d\u6216\u8005gunzip \u89e3\u538b \n3\u3001*.tar.gz\u548c*.tgz \u7528 tar \u2013xzf \u89e3\u538b \n4\u3001*.bz2 \u7528 bzip2 -d\u6216\u8005\u7528bunzip2 \u89e3\u538b \n5\u3001*.tar.bz2\u7528tar \u2013xjf \u89e3\u538b \n6\u3001*.Z \u7528 uncompress \u89e3\u538b \n7\u3001*.tar.Z \u7528tar \u2013xZf \u89e3\u538b \n8\u3001*.rar \u7528 unrar e\u89e3\u538b \n9\u3001*.zip \u7528 unzip \u89e3\u538b \n<\/pre>\n<p>\u672c\u7bc7\u5173\u4e8e\u300aLinux\u4e4brar\u6587\u4ef6\u89e3\u538b\u4e4b\u8def\u300b\u7684\u4ecb\u7ecd\u5c31\u5230\u6b64\u7ed3\u675f\u5566\uff0c\u4f46\u662f\u5b66\u65e0\u6b62\u5883\uff0c\u60f3\u8981\u4e86\u89e3\u5b66\u4e60\u66f4\u591a\u5173\u4e8e\u6587\u7ae0\u7684\u76f8\u5173\u77e5\u8bc6\uff0c\u8bf7\u5173\u6ce8\u7c73\u4e91\u516c\u4f17\u53f7\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux\u4e4brar\u6587\u4ef6\u89e3\u538b\u4e4b\u8def \u76ee\u524d\u7c73\u4e91\u4e0a\u5df2\u7ecf\u6709\u5f88\u591a\u5173\u4e8e\u6587\u7ae0\u7684\u6587\u7ae0\u4e86\uff0c\u81ea\u5df1\u5728\u521d\u6b21\u9605\u8bfb\u8fd9\u4e9b\u6587\u7ae0\u4e2d\uff0c\u4e5f\u89c1\u8bc6\u5230\u4e86\u5f88\u591a\u5b66\u4e60\u601d\u8def\uff1b\u90a3\u4e48\u672c\u6587\u300aLinux\u4e4brar\u6587\u4ef6\u89e3\u538b\u4e4b\u8def\u300b\uff0c\u4e5f\u5e0c\u671b\u80fd\u5e2e\u52a9\u5230\u5927\u5bb6\uff0c\u5982\u679c\u9605\u8bfb\u5b8c\u540e\u771f\u7684\u5bf9\u4f60\u5b66\u4e60\u6587\u7ae0\u6709\u5e2e\u52a9\uff0c\u6b22\u8fce\u52a8\u52a8\u624b\u6307\uff0c\u8bc4\u8bba\u7559\u8a00\u5e76\u5206\u4eab~ 1. \u4e0b\u8f7d \u6211\u4eec\u8fdb\u5165rarlab\u7f51\u7ad9\uff0c\u8fdb\u884c\u4e0b\u8f7d rar for linux x64 2. \u4f7f\u7528 tar \u547d\u4ee4 \u89e3\u538b \uff08*.tar \u7528 tar \u2013xvf \uff09 Downloads tar -xvf rarlinux-x64-5.6.0.tar.gz 3. \u8fdb\u5165\u6587\u4ef6\u5939make (\u9700\u8981 \u7ba1\u7406\u5458\u6743\u9650) rar cat makefile ################################################################### # Installing RAR executables, configuration files and SFX modules # # to appropriate directories # ################################################################### PREFIX=\/usr\/local install: mkdir -p $(PREFIX)\/bin mkdir -p $(PREFIX)\/lib [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-52491","post","type-post","status-publish","format-standard","hentry","category-os"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/52491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=52491"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/52491\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=52491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=52491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=52491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}