LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Do I need these additional files? (https://www.linuxquestions.org/questions/debian-26/do-i-need-these-additional-files-693890/)

kushalkoolwal 12-30-2008 11:28 AM

Do I need these additional files?
 
Background:
I have installed Debian Lenny on my Intel Mobile Processor machine, with a 2.6.26-1-686 kernel. am trying to make my system as lean as possible because of space constraints. I am already down to 190 MB and I further need to reduce it. So here is my question:

I noticed that I have three folders who contents are exactly the same:

Code:

root@debian-workstation:/usr/lib# ls -l i486/
total 1432
-rw-r--r-- 1 root root 1209080 2008-05-07 17:39 libcrypto.so.0.9.8
-rw-r--r-- 1 root root  242112 2008-05-07 17:39 libssl.so.0.9.8
root@debian-workstation:/usr/lib# ls -l i586/
total 1408
-rw-r--r-- 1 root root 1193176 2008-05-07 17:39 libcrypto.so.0.9.8
-rw-r--r-- 1 root root  237056 2008-05-07 17:39 libssl.so.0.9.8
root@debian-workstation:/usr/lib# ls -l i686/
total 4
drwxr-xr-x 2 root root 4096 2008-05-23 17:09 cmov
root@debian-workstation:/usr/lib# ls -l i686/cmov/
total 1500
-rw-r--r-- 1 root root 1270520 2008-05-07 17:39 libcrypto.so.0.9.8
-rw-r--r-- 1 root root  253120 2008-05-07 17:39 libssl.so.0.9.8
root@debian-workstation:/usr/lib#

The file libcrypto.so.0.9.8 is around 12 MB and that is Gold for me right now. Since I have a system which supports 686 arch (in kernel and package terms,) can I remove the libcryoto.so.0.9.8 and libssl.so.0.9.8 from i486 and i586 directories safely and just keep the i686 files?


Thank you.

jailbait 12-30-2008 11:34 AM

You could try using symbolic links so that the i486 directory and the i586 directories are symbolic links to the i686/cmov directory.

------------------------
Steve Stites

kushalkoolwal 12-30-2008 11:39 AM

Quote:

Originally Posted by jailbait (Post 3391761)
You could try using symbolic links so that the i486 directory and the i586 directories are symbolic links to the i686/cmov directory.

------------------------
Steve Stites

Thank you. I wonder how did they get installed in the first place. On my other system I check /usr/lib and there was i686 folder but not 486 or 586...strange.... As far as I remember I did not install any special packages which I first installed the Lenny from ISO CD.

makuyl 12-30-2008 11:51 AM

Quote:

Originally Posted by kushalkoolwal (Post 3391752)
The file libcrypto.so.0.9.8 is around 12 MB and that is Gold for me right now.

Check that size again.

kushalkoolwal 12-30-2008 12:05 PM

Quote:

Originally Posted by makuyl (Post 3391782)
Check that size again.

Sorry I mean 1.2 MB. Right now anything above 1/2 MB is fair play for me.

I wish it were 12 MB and then I would have been dancing.....:D

Thanks for correcting me..

jlinkels 01-02-2009 07:07 AM

I would advise against removing files. It can seriously break a Debian system. What happens if you look in the list produced with dpkg --get-selections? Any trace of multiple installed packages?

jlinkels


All times are GMT -5. The time now is 07:06 PM.