Fedora Linux Support Community & Resources Center
  #1  
Old 2nd May 2012, 04:19 PM
gorogoren Offline
Registered User
 
Join Date: May 2012
Location: I hate gtk
Posts: 37
linuxfirefox
get rid of packages languages...

How to get rid of all the packages languages of my system? really need to save disk space...

tia!
Reply With Quote
  #2  
Old 2nd May 2012, 04:47 PM
stevea's Avatar
stevea Online
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,302
linuxfirefox
Re: get rid of packages languages...

You can use 'yumex' and remove various the language support - but that won't save much space.

Switching desktops to lxde and removing gnome3 might save ~150GB.
'yum clean all' can save an unconscionable amount. Yum logs are very fat.
Remove 'gcc' and the development package if you don't use them.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #3  
Old 2nd May 2012, 04:52 PM
nonamedotc's Avatar
nonamedotc Offline
Formerly known as"professorrmd"
 
Join Date: Mar 2011
Posts: 2,627
linuxfirefox
Re: get rid of packages languages...

Aren't language packs *i18n packs? For example

Code:
yum search i18n
Loaded plugins: langpacks, presto, refresh-packagekit

[ ... ]

kde-i18n-Brazil.noarch : Brazil(pt_BR) Portuguese language support for KDE3
kde-i18n-British.noarch : British(en_GB) English support for KDE3
kde-i18n-Bulgarian.noarch : Bulgarian(bg) language support for KDE3
kde-i18n-Catalan.noarch : Catalan(ca) language support for KDE3
kde-i18n-Chinese.noarch : Chinese(zh_CN) (Simplified Chinese) language support for KDE3
kde-i18n-Chinese-Big5.noarch : Chinese(zh_TW) (Big5) language support for KDE3
[ ... ]
Not sure if this is what you are looking for though.

Quote:
Originally Posted by stevea View Post
[ ... ]

Switching desktops to lxde and removing gnome3 might save ~150GB.
[ ... ]
You mean 150 MB right?
Reply With Quote
  #4  
Old 2nd May 2012, 05:05 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,128
linuxchrome
Re: get rid of packages languages...

You can surgically remove the foreign language support files included in rpm packages by deleting all the directories in /usr/share/locale/ except the en_US directory. Of course, installing any new package or updating any package that places files there will bring them back. On my system, doing that would free up about 402MB of disk space.
Code:
BASH:~/-> du -hs /usr/share/locale
402M	/usr/share/locale
BASH:~/-> du -hs /usr/share/locale/en_US
80K	/usr/share/locale/en_US
Doing "yum clean all" is not much of a solution, as yum will only have to re-create most, or all, wiped files the very next time you use yum. Though, if you ever used "yum search", those filelists.db files are huge, and avoiding the use of "yum search" again will keep those at bay. As stevea already suggested, removing packages you don't either need or use can pare off a lot of unneeded bloat.
Code:
BASH:~/-> ll /var/cache/yum/x86_64/16/fedora/4497b3b08a1e8698de02474c664f6c513a5c4d83370543228f31523234e6874a-filelists.sqlite
-rw-r--r--. 1 root root 121817088 Mar 28 19:15 /var/cache/yum/x86_64/16/fedora/4497b3b08a1e8698de02474c664f6c513a5c4d83370543228f31523234e6874a-filelists.sqlite
Edit: Note also, removing those locale directories could provoke yum into spitting out a lot of warning messages when yum does a "yum check".

Last edited by PabloTwo; 2nd May 2012 at 05:36 PM.
Reply With Quote
  #5  
Old 2nd May 2012, 06:30 PM
gorogoren Offline
Registered User
 
Join Date: May 2012
Location: I hate gtk
Posts: 37
linuxfirefox
Re: get rid of packages languages...

Quote:
Originally Posted by nonamedotc View Post
You mean 150 MB right?
Reply With Quote
  #6  
Old 2nd May 2012, 09:10 PM
stevea's Avatar
stevea Online
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,302
linuxfirefox
Re: get rid of packages languages...

Quote:
Originally Posted by nonamedotc View Post
Aren't language packs *i18n packs? For example
[....]
You mean 150 MB right?
Yeah - Doh ! But even that's not the complete story .....

yum erase gnome\*
results in .....
Remove 58 Packages (+115 Dependent packages)

Installed size: 492 M
Is this ok [y/N]:

but that overstates the case - some of those dependent packages are needed.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #7  
Old 3rd May 2012, 10:25 AM
Salamandra's Avatar
Salamandra Offline
Registered User
 
Join Date: Sep 2004
Location: Spain
Posts: 317
windows_xp_2003firefox
Re: get rid of packages languages...

Bleachbit

http://bleachbit.sourceforge.net/

Removes unused languages.

You can try it.
__________________
Linux User #365705
Reply With Quote
Reply

Tags
languages, packages, rid

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
languages sajadfedorafrum Using Fedora 0 23rd November 2009 08:24 PM
How many languages do you know? martin.sourada Wibble 62 6th May 2007 10:29 AM
want to see other languages on the web amdwilliam1985 Using Fedora 7 3rd July 2006 12:57 AM
No languages sowdog Using Fedora 1 14th October 2005 01:35 PM
how to add other languages? metalyric Using Fedora 0 10th April 2005 12:11 AM


Current GMT-time: 15:36 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat