Remove ~400mb of language modules

Discussion in 'Linux' started by sideways, Aug 21, 2008.

  1. sideways

    sideways

    Joined:
    Aug 21, 2008
    Messages:
    172
    Likes Received:
    0
    If you are an english speaker and don't require foreign language support for openoffice or chinese fonts than you can save nearly 400mb by remove the related rpm packages, press alt-f2 and type 'xterm', in the terminal type

    Code:
    sudo yum remove cjk* openoffice.org-langpack-*
    To see which packages are taking the most space on your system (in bytes) you can type

    Code:
    rpm -qa --qf "%10{SIZE}\t%{NAME}\n" | sort -n
     
    sideways, Aug 21, 2008
    #1
  2. sideways

    macles

    Joined:
    Jul 22, 2008
    Messages:
    198
    Likes Received:
    0
    macles, Aug 21, 2008
    #2
  3. sideways

    lightpost

    Joined:
    Aug 13, 2008
    Messages:
    21
    Likes Received:
    0
    Thank you for the tip! :cool:

    I might need those fonts for web browsing, but certainly not for OpenOffice -- with space at a premium, it's certainly worth looking in to!
     
    lightpost, Aug 21, 2008
    #3
  4. sideways

    sideways

    Joined:
    Aug 21, 2008
    Messages:
    172
    Likes Received:
    0
    That's cool, very thorough and useful guide, thanks :)

    My tip is just a quick, short and sweet suggestion for when you first boot up your aspire one (and a little less longwinded to implement). Also these packages won't be reinstalled if you run a yum update (The locale files, for example, get reinstalled if glibc is ever updated)

    Also, the swap partition can be reclaimed without using a usb stick, you just disable it in /etc/fstab and change /dev/sda1 filesystem to ext3 **, then reboot and resize /dev/sda1 using fdisk and resize2fs (ext3 partitions can be resized without unmounting). You can change back to ext2 afterwards if you prefer, just by editing /etc/fstab again to ext2 on the /dev/sda1 line.

    ** just change ext2 to ext3 in /etc/fstab, then type this in a terminal 'sudo tune2fs -j /dev/sda1' to add the ext3 journal (if you go back to ext2 you can just delete the journal file) EDIT sorry, this doesn't seem to work on the aspire one, the partition still gets mounted as ext2, dmesg shows an ext2_fill_super error ??
     
    sideways, Aug 21, 2008
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.