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 ...
- 09-14-2011 #1Just Joined!
- Join Date
- Sep 2011
- Location
- TN, USA
- Posts
- 1
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.
- 09-14-2011 #2Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
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).
- 09-15-2011 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
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!
- 09-15-2011 #4
There are a lot of packages that rely on bzip2. Try
This will show you which packages rely on bzip2. These packages will be uninstalled along with bzip2.Code:rpm -e --test bzip2
- 09-15-2011 #5Just Joined!
- Join Date
- Sep 2011
- Posts
- 52
This is what a CentOS server says:
If you are not going to use man or rpm-build then you can remove itCode:[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
- 09-15-2011 #6
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.
- 09-16-2011 #7
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
- 09-16-2011 #8Just 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
- 09-16-2011 #9
.. 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.


Reply With Quote
