Results 1 to 9 of 9

Thread: removing unused locales

  1. #1

    Default removing unused locales

    Hi all
    is it possible to remove unused locales from /usr/lib/locale, .. etc?
    Is there any specific tool?

    Ciao
    roberto

  2. #2

    Default Re: removing unused locales

    As I've lost my hdd can't test this or be specific but on another distro there's a file /etc/locale.gen edit the ones you don't need(Comment out with #) then run locale-gen.

    Hopefully if there's something Suse specific someone else will pipe up for you.
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  3. #3

    Default Re: removing unused locales

    I remember a locale chooser in Puppy Linux. Alas, no locale-gen in opensuse, nor locale.gen..

  4. #4

    Default Re: removing unused locales

    Googling got me to this seems yast should do it System defaults and user settings Hopefully that is correct.
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  5. #5

    Default Re: removing unused locales

    Thank you. That page is about setting a default locale; this step can be accomplished by yast. That default is choosen from a (large) set installed by the package glibc-locale: Webpin

    I would like to "trim" that set...

  6. #6

    Default Re: removing unused locales

    My apologies misunderstanding well I've checked the distro I'm on known for not including anything by default.

    That seems to be standard, I'm not sure you can without going in manually and deleting. They seem to be part of glibc
    Man first, have a try at Info, have a look at Wiki, if all that fails Scroogle!!!!!
    If I've helped click on the Rep button I don't know what it does but it sounds cool.

  7. #7
    Join Date
    Jun 2008
    Location
    Omaha, NE
    Posts
    526

    Default Re: removing unused locales

    That will remove the glibc-locales, but it doesn't remove all the man pages, documents, etc.

    I know there is a command because I have it in my bashrc to wrap around portage and run after I emerge programs in Gentoo.

    I believe it is localepurge. You need to install the package, and edit localepurge.config file (not sure where it would be on Suse, but I think it was in /etc/localepurge.config in Gentoo after I installed it) and then manually run the app.

  8. #8

    Default Re: removing unused locales

    "localepurge" seems really what I'm looking for, but I cannot find any RPM for it...

  9. #9

    Default Re: removing unused locales

    Try BleachBit which is explained in the article "Free way more space than localepurge"

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •