This is the outline and content of an introduction to Linux Technology and Philosophy
Switch branches/tags
Nothing to show
Clone or download
Permalink
Failed to load latest commit information.
Appendix-A Updated Build scripts to include new path to cover image for ePub Sep 19, 2015
Appendix-B updated desktop question Aug 31, 2018
Appendix-C Added chpater 09 to appendix C Oct 15, 2018
Chapter-01 Added space in title Jul 17, 2018
Chapter-02 Added licensing title Sep 26, 2018
Chapter-03 fixed typos in chapter 3 and 6 Sep 19, 2018
Chapter-04 Updated extensions Sep 13, 2018
Chapter-05 Updated lab Sep 13, 2018
Chapter-06 fixed typos in chapter 3 and 6 Sep 19, 2018
Chapter-07 Made updates to Lab Sep 27, 2018
Chapter-08 Updated appendix C and finished ch 8 Oct 7, 2018
Chapter-09 Changed typos and errant layout issues Oct 15, 2018
Chapter-10 Removed extra whitespace Oct 2, 2018
Chapter-11 Updated links to images Aug 21, 2018
Chapter-12 Updated links to images Aug 21, 2018
Chapter-13 Moved Docker to its own chapter Aug 21, 2018
Chapter-14 Moved Linux Certs to last chapter Aug 21, 2018
Chapter-15 Moved Linux Certs to last chapter Aug 21, 2018
LICENSE Added License info Mar 9, 2017
css Updated Updated build-windows.ps1 Jul 11, 2016
files Updated access logs filenames Oct 6, 2018
images Updated image sizes of ssh -v images Oct 15, 2018
output Chapter 06 added lab ideas Sep 29, 2015
title Updated meta-data subtitle Dec 7, 2016
.gitignore Made change to .gitignore to not avoid the chapter 5 lab file Sep 24, 2017
README.md Updated Ubuntu install instructions with dpkg commands Jul 29, 2018
build-linux.sh Removed -S --smart/-S has been removed Jul 29, 2018
build-mac-osx-10-11.sh Updated all build scripts to reflect title change of the document Jul 4, 2016
build-windows.ps1 removed Linux Libertine PDF build - still doesn't render the font... Aug 13, 2018
texput.log Updated the build-linux.sh to update fonts Dec 6, 2016

README.md

Linux-text-book-part-1

This is the outline and of intermediate content for Linux Technology and Philosophy based on LPIC II

How to install;

  1. You can just open the markdown (.md) in Visual Studio Code Editor (great free editor with Markdown preview support built in and it is cross platform Windows, Mac and Linux!) Here is the link

  2. Use Pandoc to build your output (This README assumes you are using Linux, but these instructions can be adapted to build on Mac and Windows since pandoc has multiple distributions

Install Instructions

Ubuntu Linux

I would recommend installing Pandoc directly from the latest Debian package. Located here: Pandoc Release Page for Pandoc 2.2.2-x. You will need to issue a dpkg command to install the deb package directly. sudo dpkg -i pandoc-2.2.2.1-1-amd64.deb

Linux dependencies - On Debian/Ubuntu

  • texlive
  • texlive-latex-recommended
  • texlive-latex-extra
  • texlive-fonts-recommended
  • texlive-fonts-extra
  • texlive-xetex
  • Install these via this command:
    • sudo apt-get install texlive texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra texlive-xetex

Additional Fonts are needed. To add the Charis Sil font to Ubuntu 16.04 can add the repo via these steps:

  • wget http://packages.sil.org/sil.gpg
  • sudo apt-key add sil.gpg
  • sudo apt-add-repository "deb http://packages.sil.org/ubuntu/ $(lsb_release -sc) main"
  • sudo apt-get update
  • sudo apt-get install fonts-sil-charis

To Install the Inconsolata font:

  • sudo apt-get install fonts-inconsolata
  • sudo fc-cache -fv

To confirm install from the command line type: pandoc -v

Linux Dependencies - On Fedora 28

This is for installing Pandoc 2.2.2.x. You will need to download the pandoc binary from pandoc.org, do not install via dnf or yum as those versions are a bit old. Extract the tarball (tar.gz) and copy the contents of ./pandoc-2.2.2-1/bin/ to /usr/local/bin. You will need to use sudo because /usr/local/bin/ is owned by root.

  • texlive
  • texlive-latex-fonts
  • texlive-xetex
  • texlive-inconsolata-doc
  • levien-inconsolata-fonts
  • texlive-inconsolata
  • texlive-nfssext-cfr.noarch
  • texlive-plnfss.noarch
  • texlive-psnfss.noarch
  • texlive-nfssext-cfr
  • sil-charis-compact-fonts
  • sil-charis-fonts
  • texlive-texliveonfly
  • texlive-pdftex.noarch
    • sudo dnf install texlive texlive-latex-fonts texlive-xetex texlive-inconsolata-doc levien-inconsolata-fonts texlive-inconsolata texlive-nfssext-cfr.noarch texlive-plnfss.noarch texlive-psnfss.noarch texlive-nfssext-cfr sil-charis-compact-fonts sil-charis-fonts texlive-texliveonfly texlive-pdftex.noarch

To check if the install went correctly type: pandoc -v on the command line.

Mac OSX

Windows

You need Pandoc > 1.19.x and > MikTex 2.9.x to build this book proper as well as the Charis Sil and Inconsolata fonts.

In order to enable script execution for Powershell - run this command from an Administrator enabled Powershell console:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned

You can then run the build script ./build-windows.ps1 from the powershell window and this will generate the digital output

On your first build you will receive a Package Installation dialogue from MikTex asking you to install additional packages so as to be able to generate PDFs.

Windows Errors

If you receive this error: fontspec error

The way to remidiate it to launch the MikTex Package Manger, search for fontspec, uninstall the fontspec package, then reinstall it.

Kindle .mobi

To generate .mobi files for use on Kindle devices or apps, you need to install Kindlegen from here Works on Windows, MacOS, and Linux.

Reading PDF and ePUB

You can use any PDF reader. Currently Microsft Edge browser has native ePub support in Edge Browser.

Or you can use the FireFox ePub Reader plugin that lets you read directly from the browser.

ePub and PDF can alsop be read via the Barns and Noble Nook app. It is available for all platforms, iOS, Androis, and Windows. I use it and can recommend it on any platform.

The iBooks app on iOS works as well for viewing ePubs and PDFs.