How-to remove useless locales from 2011 fresh installation

Guides, tutorials & docs
Post Reply
User avatar
rugyada
Amministratore
Amministratore
Posts: 1542
Joined: 14 July 2008, 22:58
ROSA: ROSA.Fresh R8 64bit
OpenMandriva: OMLx 4.1 64bit
Kernel: kernel-relea current
Desktop: KDE tutta la vita
country: Italy

How-to remove useless locales from 2011 fresh installation

Post 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.

;)
Image
ciauu ciauu, ruru

MIB... e le stelle stanno a guardare.
«I grandi spiriti hanno sempre incontrato violenta opposizione da parte delle menti mediocri.»
(Albert Einstein)

User avatar
verg
Utente
Utente
Posts: 107
Joined: 16 February 2011, 15:11
OpenMandriva: 2010.2
Kernel: 2.6.36.4-nrj
Desktop: kDE-4.8.4
country: Russia
Location: St. Petersburg

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

Post by verg »

Another way: just run this command in console.

Code: Select all

/usr/sbin/remove-unused-packages

User avatar
azioga
Utente senior
Utente senior
Posts: 336
Joined: 8 December 2010, 22:06
ROSA: -
OpenMandriva: 2010.2 32bit
Kernel: 3.2.28-nrj-desktop-p
Desktop: kde 4.5.5
country: italy

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

Post by azioga »

Also in this way some myspell/aspell rpm remain.
But this way is easier.

Ciao, Luca.

User avatar
verg
Utente
Utente
Posts: 107
Joined: 16 February 2011, 15:11
OpenMandriva: 2010.2
Kernel: 2.6.36.4-nrj
Desktop: kDE-4.8.4
country: Russia
Location: St. Petersburg

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

Post by verg »


Post Reply