请教:RAR怎么用?

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
orchia2000
帖子: 116
注册时间: 2006-12-06 1:17
系统: linuxmint

请教:RAR怎么用?

#1

帖子 orchia2000 » 2007-01-05 20:27

我下载了rarlinux-3.6.0.tar.gz,解压缩后运行了make,如图:可我不会用,帮帮我。
附件
screenshot.png
screenshot.png (5.32 KiB) 查看 781 次
头像
TualatriX
帖子: 359
注册时间: 2006-11-17 20:07
来自: 杭州/宁波
联系:

#2

帖子 TualatriX » 2007-01-05 20:30

你直接在终端里
sudo apt-get install rar

就可以安装了。没必要下载源代码包的。
IMTX:http://imtx.cn/

LDCN(已经关闭):http://linuxdesktop.cn/

Ubuntu Tweak:http://ubuntu-tweak.com/
orchia2000
帖子: 116
注册时间: 2006-12-06 1:17
系统: linuxmint

#3

帖子 orchia2000 » 2007-01-05 20:36

我的源里没有,才下载的。
附件
screenshot.png
screenshot.png (6.05 KiB) 查看 777 次
头像
BigSnake.NET
帖子: 12522
注册时间: 2006-07-02 11:16
来自: 廣州
联系:

#4

帖子 BigSnake.NET » 2007-01-05 20:41

加中文源應該有了

Linux的rar沒有GUI,但歸檔管理器可以正確識別并調用
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。
头像
milujite
帖子: 644
注册时间: 2007-01-01 22:14
联系:

#5

帖子 milujite » 2007-01-05 20:42

一半linux下安装源代码的都是以下几条命令
tar zxvf ***.tar.gz 或者 tar jxvf *****.tar.bz
./configure
make && make install
orchia2000
帖子: 116
注册时间: 2006-12-06 1:17
系统: linuxmint

#6

帖子 orchia2000 » 2007-01-05 21:22

[一半linux下安装源代码的都是以下几条命令
tar zxvf ***.tar.gz 或者 tar jxvf *****.tar.bz
./configure
make && make install]

这个只有一个makefile,是安装文件。我到现在没有重启,我重启看看。
头像
zhan
帖子: 1880
注册时间: 2005-08-15 0:04
来自: 南7技校

#7

帖子 zhan » 2007-01-05 21:27

不需要重启,安装就用

代码: 全选

zhan@ubdesktop:~$ rar

RAR 3.60   Copyright (c) 1993-2006 Alexander Roshal   5 Aug 2006
Shareware version         Type RAR -? for help

Usage:     rar <command> -<switch 1> -<switch N> <archive> <files...>
               <@listfiles...> <path_to_extract\>

<Commands>
  a             Add files to archive
  c             Add archive comment
  cf            Add files comment
  ch            Change archive parameters
  cw            Write archive comment to file
  d             Delete files from archive
  e             Extract files to current directory
  f             Freshen files in archive
  i[par]=<str>  Find string in archives
  k             Lock archive
  l[t,b]        List archive [technical, bare]
  m[f]          Move to archive [files only]
  p             Print file to stdout
  r             Repair archive
  rc            Reconstruct missing volumes
  rn            Rename archived files
  rr[N]         Add data recovery record
  rv[N]         Create recovery volumes
  s[name|-]     Convert archive to or from SFX
  t             Test archive files
  u             Update files in archive
  v[t,b]        Verbosely list archive [technical,bare]
  x             Extract files with full path

<Switches>
  -             Stop switches scanning
  ad            Append archive name to destination path
  ag[format]    Generate archive name using the current date
  ap<path>      Set path inside archive
  as            Synchronize archive contents
  av            Put authenticity verification (registered versions only)
  av-           Disable authenticity verification check
  c-            Disable comments show
  cfg-          Disable read configuration
  cl            Convert names to lower case
  cu            Convert names to upper case
  df            Delete files after archiving
  dh            Open shared files
  ds            Disable name sort for solid archive
  e[+]<attr>    Set file exclude and include attributes
  ed            Do not add empty directories
  en            Do not put 'end of archive' block
  ep            Exclude paths from names
  ep1           Exclude base directory from names
  ep3           Expand paths to full including the drive letter
  f             Freshen files
  fcu[file]     Read archive comment from Unicode file
  hp[password]  Encrypt both file data and headers
  id[c,d,p,q]   Disable messages
  ierr          Send all messages to stderr
  ilog[name]    Log errors to file (registered versions only)
  inul          Disable all messages
  isnd          Enable sound
  k             Lock archive
  kb            Keep broken extracted files
  m<0..5>       Set compression level (0-store...3-default...5-maximal)
  mc<par>       Set advanced compression parameters
  md<size>      Dictionary size in KB (64,128,256,512,1024,2048,4096 or A-G)
  ms[ext;ext]   Specify file types to store
  n<file>       Include only specified file
  n@            Read file names to include from stdin
  n@<list>      Include files in specified list file
  o+            Overwrite existing files
  o-            Do not overwrite existing files
  ol            Save symbolic links as the link instead of the file
  or            Rename files automatically
  ow            Save or restore file owner and group
  p[password]   Set password
  p-            Do not query password
  r             Recurse subdirectories
  r0            Recurse subdirectories for wildcard names only
  rr[N]         Add data recovery record
  rv[N]         Create recovery volumes
  s[<N>,v[-],e] Create solid archive
  s-            Disable solid archiving
  sfx[name]     Create SFX archive
  si[name]      Read data from standard input (stdin)
  sl<size>      Process files with size less than specified
  sm<size>      Process files with size more than specified
  t             Test files after archiving
  ta<date>      Process files modified after <date> in YYYYMMDDHHMMSS format
  tb<date>      Process files modified before <date> in YYYYMMDDHHMMSS format
  tk            Keep original archive time
  tl            Set archive time to latest file
  tn<time>      Process files newer than <time>
  to<time>      Process files older than <time>
  ts<m,c,a>[N]  Save or restore file time (modification, creation, access)
  u             Update files
  v             Create volumes with size autodetection or list all volumes
  v<size>[k,b]  Create volumes with size=<size>*1000 [*1024, *1]
  ver[n]        File version control
  vn            Use the old style volume naming scheme
  vp            Pause before each volume
  w<path>       Assign work directory
  x<file>       Exclude specified file
  x@            Read file names to exclude from stdin
  x@<list>      Exclude files in specified list file
  y             Assume Yes on all queries
  z[file]       Read archive comment from file
zhan@ubdesktop:~$
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
orchia2000
帖子: 116
注册时间: 2006-12-06 1:17
系统: linuxmint

#8

帖子 orchia2000 » 2007-01-05 21:37

怎么安装啊?把你给的代码输入到一个文件里面?
root@orchid-desktop:~# rar
-bash: /usr/local/bin/rar: No such file or directory
我的rar明明在
/usr/local/bin/rar
可是还这样提示。
头像
arli
帖子: 194
注册时间: 2006-11-24 11:00
来自: 太阳系第3行星
联系:

#9

帖子 arli » 2007-01-05 21:45

sudo apt-get install unrar
要爱护linux 就象爱护我们的庄稼地一样
orchia2000
帖子: 116
注册时间: 2006-12-06 1:17
系统: linuxmint

#10

帖子 orchia2000 » 2007-01-05 22:01

安装了unrar,还是不行。
附件
screenshot.png
screenshot.png (11.43 KiB) 查看 775 次
头像
TheThirdGhost
帖子: 1592
注册时间: 2006-07-23 16:25
来自: 南京

#11

帖子 TheThirdGhost » 2007-01-05 22:06

源里的rar和unrar都不能打开所有rar文件,比较好的方法是:
自己下一个rar的包,类似于lz一开始的tar包,解压以后,不一定要make,里面可能有现成的rar和unrar程序,用in -s 把它们链到/usr/bin,并注意有执行权限就可以了。
使用的方法,可以用gui,也可以直接输入 rar,然后有帮助的,一般 rar e filename.rar就可以了。
orchia2000
帖子: 116
注册时间: 2006-12-06 1:17
系统: linuxmint

#12

帖子 orchia2000 » 2007-01-05 22:24

不行,看来没有办法了
orchia2000
帖子: 116
注册时间: 2006-12-06 1:17
系统: linuxmint

#13

帖子 orchia2000 » 2007-01-05 22:39

arli 写了:sudo apt-get install unrar
非常感谢,我卸载原来安装的,再按照楼主的方法安装,已经可以了。
头像
SuperWar3Fan
帖子: 1263
注册时间: 2006-05-20 6:25
来自: 山东淄博
联系:

#14

帖子 SuperWar3Fan » 2007-01-06 8:32

应该是没有问题。。
gren
帖子: 132
注册时间: 2006-12-01 16:42
来自: 金城

#15

帖子 gren » 2007-01-08 22:54

我的怎么回事这样的错误!!!

gren@gren:~$ sudo apt-get install unrar
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
下列【新】软件包将被安装:
unrar
共升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 2 个软件未被升级。
有 1 个软件包没有被完全安装或卸载。
需要下载 93.0kB 的软件包。
解压缩后会消耗掉 229kB 的额外空间。
获取:1 http://ubuntu.cn99.com edgy-backports/multiverse unrar 1:3.6.8-0ubuntu2~edgy1 [93.0kB]
下载 93.0kB,耗时 8s (11.0kB/s)
选中了曾被取消选择的软件包 unrar。
(正在读取数据库 ... 系统当前总共安装有 97620 个文件和目录。)
正在解压缩 unrar (从 .../unrar_1%3a3.6.8-0ubuntu2~edgy1_i386.deb) ...
正在设置 firestarter (1.0.3-1.2ubuntu3) ...
* Starting the Firestarter firewall... [fail]
invoke-rc.d: initscript firestarter, action "start" failed.
dpkg:处理 firestarter (--configure)时出错:
子进程·post-installation script·返回了错误号·2
正在设置 unrar (3.6.8-0ubuntu2~edgy1) ...
在处理时有错误发生:
firestarter
E: Sub-process /usr/bin/dpkg returned an error code (1)
gren@gren:~$
附件
rar.png
正在转向linux的好奇人!
—————————————---------
Ubuntu7.04
华硕P4B533+intelP42.0+kingstonDDR266 256M*2+
艾尔莎MX440+80G IDE+SyncMaster 757DFX
+Creative2.1
回复