Git Product home page Git Product logo

linux-text-book-part-1's Introduction

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: Latest 1.19.X package. For PDF output, you’ll need LaTeX. We recommend installing TeX Live via your package manager.

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

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.

linux-text-book-part-1's People

Contributors

jhajek avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.