Some Debian Howtos

Below are the list of Howtos for Debian GNU/Linux which I found out on the Internet. They can also be useful to people migrating from Windows to GNU/Linux systems like Debian and Ubuntu.

How to Convert CHM files to HTML and PDF

Microsoft Compiled HTML Help (CHM) is a proprietary format for online help files, developed by Microsoft and first released in 1997 as a successor to the Microsoft WinHelp format. To Convert it to HTML:

  •  sudo apt-get install libchm-bin   (Installs libchm-bin)
  •  extract_chmLib book.chm outdir  (Converts book.chm to html files which will be written in the “outdir” folder

To Convert to PDF:

  •  sudo apt-get install htmldoc  (installs htmldoc)
  • htmldoc    (starts the htmldoc UI to start converting the above html files to PDF)

How to combine multiple pdf files into one pdf file

Install required software:

  •  sudo apt-get install gs pdftk

Combine pdf files:

  •  gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=combinedpdf.pdf -dBATCH 1.pdf 2.pdf 3.pdf    (combines 1.pdf, 2.pdf and 3.pdf into one single pdf file named combined.pdf

Note : More will be added Later

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s