Page 1 of 1

How-to remove useless locales from 2011 fresh installation

Posted: 26 August 2011, 22:25
by rugyada
Workaround

Mandriva 2011 comes with all locales installed by default, so here is a rather easy way to delete all useless locales.
  1. Open file:

    Code: Select all

    /etc/sysconfig/finish-install
  2. Fill it with the following:

    Code: Select all

    keyboard=no
    language=no
    license=no
    authentication=no
    FINISH_INSTALL=yes
    USERS=no
    remove_unused_packages=yes
    network=no
    country=no
    timezone=no
    urpmi=no
  3. Save the file.
  4. Execute:

    Code: Select all

    usr/sbin/finish-install
  5. You will see the GUI deleting all unnecessary firmwares and locales.
However, you may still have a few localization files here and there, which you'll easily be able to remove by hand.

;)

Re: How-to remove useless locales from 2011 fresh installati

Posted: 27 August 2011, 8:05
by verg
Another way: just run this command in console.

Code: Select all

/usr/sbin/remove-unused-packages

Re: How-to remove useless locales from 2011 fresh installati

Posted: 27 August 2011, 8:34
by azioga
Also in this way some myspell/aspell rpm remain.
But this way is easier.

Ciao, Luca.

Re: How-to remove useless locales from 2011 fresh installati

Posted: 28 August 2011, 13:14
by verg