RPM and compression

Posted on 2012-08-29
Last Modified: 2012-08-29
Does RPM compress files or simply archive them.  Would it be a good alternative to compression tools on Linux
Question by:Los Angeles1
    LVL 13

    Accepted Solution

    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.
    LVL 19

    Assisted Solution

    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).

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

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
    SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now