Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In order to save space, is it possible to make the CD English-only, and put the other languages only on the DVD?

share|improve this question
up vote 2 down vote accepted

My rough estimate is that the language data is occupying 600 MB on the DVD.

Not all files are in packages. Many are inside a squashfs as one flat file-system:

  • On the DVD they occupy about 300 MB (which becomes 822 MB after extraction).

Packages (~ 300MB):

  • Most of it the language related packages are of the "localization" section (195 MB)
  • Packages of the section "translations" (55 MB)
  • They depend on spelling dictionaries and word lists (29 MB)

Here is how I counted:

mkdir mnt
sudo mount -o loop ./maverick-dvd-amd64.iso ./mnt

# Flat files from Squashfs
sudo mount -o loop ./mnt/casper/filesystem.squashfs ./mnt-dvd2/
sudo find mnt-dvd2/ -type d -a \( -name '*langpack*' -prune -o -name '*language*' \) > files
du -hsc `cat files` # 822 MB uncompressed
tar czf files.tar.gz `cat files` # Very rough approximation of squashfs compression
ls -lh files.tar.gz # (305 MB)

# Localization section packages (195 MB):
for i in `find ./mnt/ -name *.deb`; do dpkg -I $i | grep -q "Section: localization" && echo $i ; done | xargs du -hsc

# Translations section packages (55 MB):
for i in `find ./mnt/ -name *.deb`; do dpkg -I $i | grep -q "Section: translations" && echo $i ; done | xargs du -hsc

# Spelling Dictionaries and Word Lists packages (29 MB):
for i in `find mnt/ -name *.deb`; do dpkg -I $i | grep Provides | egrep -q '(wordlist)|(dictionary)|(spell-)' && echo $i ; done  | xargs du -hsc

Details are here

share|improve this answer
Can you do the same for the CD? – 8128 Nov 2 '10 at 8:19
+1 @fluteflute. This answer contains useful info but it has nothing to do with the CD; question is related with the CDs. – marenostrum Nov 2 '10 at 15:36
I thought it was for DVD. My mistake. Will to the CD right now. – Aleksandr Levchuk Nov 2 '10 at 18:05
Please see my other answer - it's for the CD. – Aleksandr Levchuk Nov 4 '10 at 13:37

Indeed, CDs already do not contain language packs other than English. The language choices you see on CD is just for the translations of the installation process' strings. For the actual language packs of an Ubuntu system other than English to be installed, you should either have a working internet connection during the installation or you should install from a DVD or you should install language packs later.

Its officially stated as below:

DVD downloads

Don't be confused, even though DVDs can hold far more data than the typical Ubuntu CD, the main benefit of the DVD downloads is to get access to all of the available language packs. Most people will be fine with the standard CD installer. There are fewer download locations for the DVD images and this list is updated less frequently than for the CD images.

share|improve this answer
For an analysis of the language data in a CD, see Aleksandr Levchuk's 2nd answer. – marenostrum Nov 3 '10 at 18:02

Yes it'd be possible to make the CD smaller that way. Are you worried that language packs are taking up space on the installed system? Only the language you choose as default is installed by default. Not all of what's on the CD ends up on the system.

share|improve this answer
I have enough space on my disk. But there is problem that a lot of good stuff don't appear on CD because of not enough space. – Medieval Nov 1 '10 at 20:56

My rough estimate is that the language data is occupying 30 MB on the CD.

The CD does not have any .deb packages related to language, everything is in the squashfs filesystem.

Here is how I counted:


mkdir mnt-cd mnt-cd2
sudo mount -o loop ubuntu-10.10-desktop-amd64.iso ./mnt-cd/
sudo mount -o loop mnt-cd/casper/filesystem.squashfs  ./mnt-cd2/
sudo find mnt-cd2/ -type d -a \( -name '*langpack*' -prune -o -name '*language*' \) > files2

du -shc `cat files2`
149K    mnt-cd2/usr/lib/firefox-addons/extensions/
149K    mnt-cd2/usr/lib/firefox-addons/extensions/
149K    mnt-cd2/usr/lib/firefox-addons/extensions/
148K    mnt-cd2/usr/lib/firefox-addons/extensions/
159K    mnt-cd2/usr/lib/firefox-addons/extensions/
163K    mnt-cd2/usr/lib/firefox-addons/extensions/
160K    mnt-cd2/usr/lib/firefox-addons/extensions/
161K    mnt-cd2/usr/lib/firefox-addons/extensions/
159K    mnt-cd2/usr/lib/firefox-addons/extensions/
160K    mnt-cd2/usr/lib/firefox-addons/extensions/
148K    mnt-cd2/usr/lib/firefox-addons/extensions/
5.5K    mnt-cd2/usr/lib/language-selector
1.5K    mnt-cd2/usr/share/doc/language-pack-en
1.5K    mnt-cd2/usr/share/doc/language-pack-en-base
1.5K    mnt-cd2/usr/share/doc/language-pack-es
1.5K    mnt-cd2/usr/share/doc/language-pack-es-base
1.5K    mnt-cd2/usr/share/doc/language-pack-gnome-en
1.5K    mnt-cd2/usr/share/doc/language-pack-gnome-en-base
1.5K    mnt-cd2/usr/share/doc/language-pack-gnome-es
1.5K    mnt-cd2/usr/share/doc/language-pack-gnome-es-base
1.5K    mnt-cd2/usr/share/doc/language-pack-gnome-pt
1.5K    mnt-cd2/usr/share/doc/language-pack-gnome-pt-base
1.5K    mnt-cd2/usr/share/doc/language-pack-gnome-xh
1.5K    mnt-cd2/usr/share/doc/language-pack-gnome-xh-base
1.5K    mnt-cd2/usr/share/doc/language-pack-pt
1.5K    mnt-cd2/usr/share/doc/language-pack-pt-base
1.5K    mnt-cd2/usr/share/doc/language-pack-xh
1.5K    mnt-cd2/usr/share/doc/language-pack-xh-base
14K mnt-cd2/usr/share/doc/language-selector
13K mnt-cd2/usr/share/doc/language-selector-common
1.5K    mnt-cd2/usr/share/doc/language-support-en
1.5K    mnt-cd2/usr/share/doc/language-support-writing-en
25M mnt-cd2/usr/share/gnome/help-langpack
788K    mnt-cd2/usr/share/gtksourceview-2.0/language-specs
63K mnt-cd2/usr/share/language-selector
41K mnt-cd2/usr/share/language-support
54M mnt-cd2/usr/share/locale-langpack
279K    mnt-cd2/usr/share/omf-langpack
81M total

tar czf files2.tar.gz `cat files2`
ls -lh files2.tar.gz # 32 MB
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.