[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 578
  • Last Modified:

RPM and compression

Does RPM compress files or simply archive them.  Would it be a good alternative to compression tools on Linux
0
Los Angeles1
Asked:
Los Angeles1
2 Solutions
 
xDUCKxCommented:
RPM = Redhat Package Manager

RPM's are used to install applications, similar to how a "Setup.exe" would work in Windows.

Compressing files you'd want to use gzip or tar.

http://linux.about.com/od/commands/l/blcmdl1_gzip.htm
0
 
joolsCommented:
rpm isnt the tool for creating compressed archives, is used to create install packages.

Just look at tar options j and z for bzip2 and gzip compression (one or the other depending on preference).


eg/
 tar czvf /backup/data.tgz /data
 tar cjvf /backup/data.tar.bzip2 [?? whatever the extension is for bzip :-) ]
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now