1826230 Members
4899 Online
109692 Solutions
New Discussion

trimming /usr

 
SOLVED
Go to solution
Nick Zraika
Frequent Advisor

trimming /usr

Hi i am in the process of trying to desperately free up some space in /usr. Much of the data appears to be static however i did notice the below taking up some space.

lrwxr-xr-x 1 root root 30 Jan 7 2003 arabic -> /usr/lib/nls/msg/ar_SA.arabic8
lrwxr-xr-x 1 root root 30 Jan 7 2003 arabic-w -> /usr/lib/nls/msg/ar_DZ.arabic8
lrwxr-xr-x 1 root root 31 Jan 7 2003 bulgarian -> /usr/lib/nls/msg/bg_BG.iso88595
lrwxr-xr-x 1 root root 29 Jan 7 2003 chinese-s -> /usr/lib/nls/msg/zh_CN.hp15CN
lrwxr-xr-x 1 root root 27 Jan 7 2003 chinese-t -> /usr/lib/nls/msg/zh_TW.ccdc
-r--r--r-- 1 bin bin 8038 Nov 14 2000 config
dr-xr-xr-x 2 bin bin 96 Jan 7 2003 csr
lrwxr-xr-x 1 root root 31 Jan 7 2003 czech -> /usr/lib/nls/msg/cs_CZ.iso88592
lrwxr-xr-x 1 root root 29 Jan 7 2003 greek -> /usr/lib/nls/msg/el_GR.greek8
lrwxr-xr-x 1 root root 30 Jan 7 2003 hebrew -> /usr/lib/nls/msg/iw_IL.hebrew8
lrwxr-xr-x 1 root root 31 Jan 7 2003 hungarian -> /usr/lib/nls/msg/hu_HU.iso88592
dr-xr-xr-x 6 bin bin 8192 Jan 7 2003 iconv
lrwxr-xr-x 1 root root 27 Jan 7 2003 japanese -> /usr/lib/nls/msg/ja_JP.SJIS
lrwxr-xr-x 1 root root 28 Jan 7 2003 katakana -> /usr/lib/nls/msg/ja_JP.kana8
lrwxr-xr-x 1 root root 28 Jan 7 2003 korean -> /usr/lib/nls/msg/ko_KR.eucKR
dr-xr-xr-x 9 bin bin 8192 Jan 7 2003 loc
dr-xr-xr-x 48 bin bin 8192 May 21 2004 msg
lrwxr-xr-x 1 root root 31 Jan 7 2003 polish -> /usr/lib/nls/msg/pl_PL.iso88592
lrwxr-xr-x 1 root root 31 Jan 7 2003 rumanian -> /usr/lib/nls/msg/ro_RO.iso88592
lrwxr-xr-x 1 root root 31 Jan 7 2003 russian -> /usr/lib/nls/msg/ru_RU.iso88595
lrwxr-xr-x 1 root root 31 Jan 7 2003 serbocroatian -> /usr/lib/nls/msg/sh_HR.iso88592
lrwxr-xr-x 1 root root 31 Jan 7 2003 slovene -> /usr/lib/nls/msg/sl_SI.iso88592
lrwxr-xr-x 1 root root 29 Jan 7 2003 thai -> /usr/lib/nls/msg/th_TH.tis620
lrwxr-xr-x 1 root root 31 Jan 7 2003 turkish -> /usr/lib/nls/msg/tr_TR.turkish8

It appears when this server was built the person went with defaults and installed "all" languages. How can this safely be rectified with causing any issues?

Any other ideas on what can be safely removed from /usr is welcome...

Cheers
Nick
'Everything is do-able'
4 REPLIES 4
RAC_1
Honored Contributor

Re: trimming /usr

du -skx /usr/* | sort -nr | head -10

Will give you the top ten files/dirs using space.
There is no substitute to HARDWORK
Nick Zraika
Frequent Advisor

Re: trimming /usr

Just to re-iterate, i don't require assistance with how to find large files i need assistance with cleaning up the languages (listed above) cleanly or any other files in /usr which are not required.
I'm unsure of the impact of simply just removing the directories, is there a way to do it with swremove?

Any thoughts ideas welcome.

nick
'Everything is do-able'
RAC_1
Honored Contributor
Solution

Re: trimming /usr

These are different language specific locals. If you do dnot use them, you can remove them.

swlist International.ARABIC

swremove International.ARABIC and so on for different locals that you do not need.
There is no substitute to HARDWORK
Nick Zraika
Frequent Advisor

Re: trimming /usr

Just what the doctor ordered!

Thanks RAC.

'Everything is do-able'