Index: docs/linux_build_instructions.md |
diff --git a/docs/linux_build_instructions.md b/docs/linux_build_instructions.md |
index 53ac6c9bedc4b1ccf29bd76e7e0081ef393da26d..7e82ed725650e00c01afdf2ff98bcda6a30befd4 100644 |
--- a/docs/linux_build_instructions.md |
+++ b/docs/linux_build_instructions.md |
@@ -337,14 +337,34 @@ For the optional packages on Arch Linux: |
### Debian |
-`build/install-build-deps.sh` doesn't currently run on Debian, but you can |
-probably hack it to get it to work. You will probably need to update the |
-following package names: |
- |
-* `libexpat-dev` → `libexpat1-dev` |
-* `freetype-dev` → `libfreetype6-dev` |
-* `libbzip2-dev` → `libbz2-dev` |
-* `libcupsys2-dev` → `libcups2-dev` |
+Some tests require the `ttf-mscorefonts-installer` package from the `contrib` |
+component. `contrib` packages may have dependencies on non-free software. |
+ |
+If you need to run tests requiring MS TTF fonts, you can edit your apt |
+`sources.list` by adding `contrib` to the end of each line beginning with `deb`. |
+You might end up with something like this: |
+ |
+``` |
+deb http://ftp.us.debian.org/debian/ jessie main contrib |
+deb-src http://ftp.us.debian.org/debian/ jessie main contrib |
+ |
+deb http://security.debian.org/ jessie/updates main contrib |
+deb-src http://security.debian.org/ jessie/updates main contrib |
+ |
+# jessie-updates, previously known as 'volatile' |
+deb http://ftp.us.debian.org/debian/ jessie-updates main contrib |
+deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib |
+``` |
+ |
+Next, run: |
+ |
+``` shell |
+$ sudo apt-get update |
+$ sudo apt-get install ttf-mscorefonts-installer |
+``` |
+ |
+If you already have the `contrib` component enabled, `install-build-deps.sh` |
+will install `ttf-mscorefonts-installer` for you. |
### Fedora |