Find the answer to your Linux question:
Results 1 to 9 of 9
What are the implications of completely removing bzip2 from a standard RH workstation installation? File compression is obvious, but the package looks to be pretty pervasive and wondered if there ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2011
    Location
    TN, USA
    Posts
    6

    bzip2 removal


    What are the implications of completely removing bzip2 from a standard RH workstation installation? File compression is obvious, but the package looks to be pretty pervasive and wondered if there would be a larger impact. We are getting a request from our I/A group to investigate the removal.

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Seems like an odd thing to be worried about...but I don't see any serious ramifications with removing bzip2. You wouldn't be able to bzip/bunzip anymore, but that is obvious. Gzip is more pervasive than bzip2, and that one you would probably NOT want to remove (for man pages alone).

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,508
    I would not recommend removing bzip2 from the system. It is rapidly becoming the defacto file compressor for *nix systems. Yes, it is slower than gzip, but it compresses binary data better. In any case, I have to ask why you would want/need to?
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    There are a lot of packages that rely on bzip2. Try
    Code:
    rpm -e --test bzip2
    This will show you which packages rely on bzip2. These packages will be uninstalled along with bzip2.

  5. #5
    Just Joined!
    Join Date
    Sep 2011
    Posts
    52
    This is what a CentOS server says:
    Code:
    [root@secure3 ~]# rpm -e --test bzip2
    error: Failed dependencies:
            bzip2 is needed by (installed) man-1.6d-1.1.x86_64
            bzip2 is needed by (installed) rpm-build-4.4.2.3-22.el5.x86_64
            bzip2 is needed by (installed) sos-1.7-9.49.el5.noarch
    If you are not going to use man or rpm-build then you can remove it

  6. #6
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Pay close attention to the results of the command suggested by daark.child.
    You might remove something that is actually more critical than it appears.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  7. #7
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    Quote Originally Posted by zackwasa View Post
    This is what a CentOS server says:
    Code:
    [root@secure3 ~]# rpm -e --test bzip2
    error: Failed dependencies:
            bzip2 is needed by (installed) man-1.6d-1.1.x86_64
            bzip2 is needed by (installed) rpm-build-4.4.2.3-22.el5.x86_64
            bzip2 is needed by (installed) sos-1.7-9.49.el5.noarch
    If you are not going to use man or rpm-build then you can remove it
    What you'll find is that removing man and rpm-build will then force the deinstallation of other packages that rely on those two packages. To be honest I'd just leave bzip2 as it is because I suspect one could end up with a broken system if you tried to remove it along with any dependent packages.
    Last edited by daark.child; 09-16-2011 at 12:12 AM. Reason: typos

  8. #8
    Just Joined!
    Join Date
    Sep 2011
    Posts
    52
    If you don't want anyone to be able to use bzip2 you can just chmod it to 000 and leave it as it is

  9. #9
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,376
    .. which will break the system as well, because the mentioned depended tools can then also not execute bzip2.

    I guess, the answer to that "I/A group" is: cannot easily be done, and why do you want that anyway?
    You must always face the curtain with a bow.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •