TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. 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

I recently updated my Operating system from Ubuntu 13.04 to Ubuntu 13.10.

Since then, I am facing difficulties compiling my tex code in which the french babel package is called. Please note that all my codes were working very fine before the system upgrade.

However, now, given the following header :


I receive the following error :

! Package babel Error: Unknown option `francais'. Either you misspelled it

What should I do ? Please note that if I remove this part of code (\usepackage[francais]{babel}), everything is compiling good. I also tried it with french, and I receive the same result.

Thank you in advance for your help.



! Package babel Error: Unknow option `francais'. Either you misspelled it
share|improve this question
It's french not francais – YuppieNetworking Oct 20 '13 at 13:39
@YuppieNetworking : Unfortunately, it's not working either with french. I receive the same error. – Martingal Oct 20 '13 at 13:41
@LudovicC. It worked with francais before the upgrade. And only this line gives this error. If I remove it, there is no further error. – Martingal Oct 20 '13 at 13:49
@Alenanno : Yes, I need that package, otherwise I wouldn't be asking here ... Especially when it's french reports. – Martingal Oct 20 '13 at 13:54
@LudovicC. For future reference, please do not ask users to "add all your preamble for us to see if there is some problems in it". I refer to the following guide on how to write a minimal working example. – Sverre Oct 9 '14 at 13:29
up vote 58 down vote accepted

The complete error message is:

! Package babel Error: Unknown option `francais'. Either you misspelled it
(babel)                or the language definition file francais.ldf was not found.

Package file babel.sty supports francais since a very long time, thus the second line of the error message applies very likely:

The organization of the babel language files has recently changed. The language files (.ldf, ...) go into separate TeX distribution packages. For example, option francais loads frenchb.ldf:

  • TeX Live puts the latter in the distribution package babel-french. It needs to be installed, if you are using tlmgr, the package manager of TeX Live.

  • In Ubuntu saucy there is a package texlive-lang-french that contains frenchb.ldf (file list). Install it, if you are using TeX Live of Ubuntu.

share|improve this answer
Your second proposal solved my problem. Thank you very much for your help. I have no idea why it was removed when upgrading the system. Anyway, thanks again ! – Martingal Oct 20 '13 at 14:16
FWIW: In Fedora 18+, packages like texlive-babel-german contains the relevant files. – Frederick Nord Jan 7 '14 at 15:16

I had the same error while trying to generate the pdf files from lyx. I did run sudo apt-get install texlive-lang-french and the error was resolved. Now working fine

Update: These packages have become obsolete; texlive-lang-european should be installed now:

sudo apt-get install texlive-lang-european

share|improve this answer
Just a note: I encountered this issue with German, but texlive-lang-european did not resolve the issue. Only texlive-lang-german did. – crash May 8 '15 at 8:00
you forgot an install after apt-get – pkofod May 18 '15 at 21:49
Installing apt-get install texlive-lang-french solved my problem. – Alexandre Willame Jun 19 '15 at 1:51

Exactly same issue here for various languages like: \usepackage[dutch]{babel}

A way of solving: Open: Ubuntu Software Center and install: texlive-lang-all

But what still changed is that in case you change the language in the \usepackage[english]{babel} you have to remove the temporary latex files before latex-ing again. But with that remark every works again as before.

share|improve this answer

The solution for the error prompted for \usepackage[spanish]{babel} :

! Package babel Error: Unknown option `spanish'. Either you misspelled it

Install the texlive-babel-spanish package via yum/dnf:

sudo dnf install texlive-babel-spanish
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.