Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

In my Ubuntu 12.10 /usr/lib/ folder, there are some files like libdrm.so.2.4.0, libdrm.so.2 . What are they used for? Can I delete them ? file icons

share|improve this question
2  
Why do you feel the need to consider deleting these files? –  Rinzwind Apr 25 '13 at 17:21
    
since I installed libdrm, mesa to recegnize my graphics in ubuntu12.10, then I found that after installation, the cpu fan caused lots of noise. Then I wanted to remove libdrm and mesa. So I wonder whether these files were installed by libdrm. –  tqjustc Apr 26 '13 at 19:29

1 Answer 1

libdrm

This library implements the userspace interface to the kernel DRM services. DRM stands for "Direct Rendering Manager", which is the kernelspace portion of the "Direct Rendering Infrastructure" (DRI). The DRI is currently used on Linux to provide hardware-accelerated OpenGL drivers.

So I would assume... no, unless you want to research if they are used somewhere. They are "s hared o bject" files. You can use ldd to see if they are linked.


From dobey in comment:

The ones which are for drivers that are not needed for video display on the system can be removed, but they should be removed by apt-get remove on the package containing them, not simple rm of the files.

share|improve this answer
    
The ones which for are drivers that aren't needed for video display on the system can be removed, but they should be removed by apt-get remove on the package containing them, not simple rm of the files. –  dobey Apr 25 '13 at 18:02
    
Go ahead, and feel free to recommend my comments for deletion after. That's why I said it, instead of providing another answer. :) –  dobey Apr 25 '13 at 18:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.