deepin默认支持rar格式的压缩和解压么?
Tofloor
poster avatar
188******76
deepin
2014-01-02 01:22
Author
如题,ubuntu默认不支持,需要额外安装软件。如果deepin默认支持rar这种私有的格式,比如预装p7zip-rar,会有问题么?没有的话就行个方便默认添加好了,实在不行的话对于rar格式文件可以在右键菜单点击“提取”选项时弹出“请在软件中心安装p7zip-rar”之类的提示。
Reply Favorite View the author
All Replies
jalawov
deepin
2014-01-02 04:02
#1
我只知道可以解压,压缩貌似要安装
Reply View the author
poloshiao
deepin
2014-01-02 04:18
#2
1. p7zip-full : 7z and 7za file archivers with high compression ratio
p7zip is the Unix command-line port of 7-Zip, a file archiver that
archives with high compression ratios.
p7zip-full provides utilities to pack and unpack 7z archives within
a shell or using a GUI (such as Ark, File Roller or Nautilus).
Installing p7zip-full allows File Roller to use the very efficient 7z
compression format for packing and unpacking files and directories.
Additionally, it provides the 7z and 7za commands.
List of supported formats:
  - Packing / unpacking: 7z, ZIP, GZIP, BZIP2, XZ and TAR
  - Unpacking only: APM, ARJ, CAB, CHM, CPIO, CramFS, DEB, DMG, FAT,
    HFS, ISO, LZH, LZMA, LZMA2, MBR, MSI, MSLZ, NSIS, NTFS, RAR (only
    if non-free p7zip-rar package is installed), RPM, SquashFS, UDF,
    VHD, WIM, XAR and Z.
p7zip provides 7zr, a light version of 7za, and p7zip, a gzip-like
wrapper around 7zr.

2. p7zip-full 來自 universe 套件庫
安裝 Ubuntu 時使用的 ISO 裏面只有包含 main, restricted 套件庫 不包含 universe, multiverse 套件庫
所以無法 預裝 p7zip-full

3. 爲何 放在 universe 套件庫 參閱
https://help.ubuntu.com/community/Repositories#Universe
Reply View the author
就是好奇
deepin
2014-01-02 04:22
#3
支持解压就行了。刚才还解压了一个rar
Reply View the author
BingoLove
deepin
2014-01-02 04:54
#4
你不知道rar只允许兼容他的解压,不允许其他人把文件压缩为rar吗?
这里我还忽略了其他人是否能做出一个压缩为rar 的软件,貌似压缩算法是不公开的
Reply View the author
xliang9550
deepin
2014-01-02 06:11
#5
p7zip-full仅包含unRAR,不能支持RAR打包,因为专利的问题。
楼主可以搜罗一下Windows平台下的压缩软件,能够支持RAR压缩的,恐怕只有WinRAR。

PS,其实RAR(封装)格式并不适合大规模数据备份,因为它的文件索引不是像zip或7z那样几种存放在文件头/尾,读取压缩包需要遍历所有文件,这对于大规模数据备份是不可想象的。举个例子,归档1TB数据,即使在500MB/s的固态硬盘上,也要半个小时才能打开。而同样大小的zip或7z是可以瞬间打开的。
Reply View the author
fredy4212
deepin
2014-01-02 07:56
#6
rar到底有何優勢?
Reply View the author
cxbii
deepin
2014-01-02 17:33
#7
rar到底有何優勢?
嗯,流行
Reply View the author
xliang9550
deepin
2014-01-02 23:34
#8
追本溯源的话,RAR完全是本世纪初的0day组织捧红的(它们选择以RAR分卷的封装格式发布海贼版软件),例如,当时0day组织的行规是,如果以非RAR格式提供,则需要附带独立的解压软件。于是,为了使用它们发布的海贼版软件,就必须自行下载安装WinRAR,由此WinRAR成了装机之必需。

不过,RAR确实有其特有的优势,比如恢复记录和原生分卷支持(不是像tar或zip那样的简单的“文件分割”,原生的分卷支持是跨平台的,就像7zip和p7zip,它们之间的分卷压缩包是互相兼容的)。
Reply View the author