Build and install Slackware chmlib tutorial
chmlib is a library file needed to view Microsoft ITSS or CHM format files. You need to install chmlib first before installing xchm to view chm files in kde. Here is a guide on how to build chmlib for Slackware Linux and install the result package.
Build chmlib package for Slackware Linux
Here are steps needed to build chmlib package for Slackware Linux:
- Get Slackbuilds script file for chmlib from SlackBuilds.org website.
- Download chmlib source from chmlib website.
Change directory to your work area directory or anywhere that you prefer:
root@slackware:~# cd /home/slackware/source/myslackware/
|
Extract slackbuilds script file, the chmlib.tar.gz in your work area. See an example below:
root@slackware:/home/slackware/source/myslackware# tar zxvf /home/luzar/work-area/chmlib.tar.gz
chmlib/
chmlib/README
chmlib/chmlib.SlackBuild
chmlib/slack-desc
chmlib/chmlib.info
|
Change directory to the extracted slackbuild's script file. Copy chmlib source, 'chmlib-0.39.tar.bz2' into the directory. See the example command in step by step below:
root@slackware:/home/slackware/source/myslackware# cd chmlib/ root@slackware:/home/slackware/source/myslackware/chmlib# cp /home/luzar/work-area/chmlib-0.39.tar.bz2 . |
Run chmlib.SlackBuild* script to make a Slackware package.
root@slackware:/home/slackware/source/myslackware/chmlib# ./chmlib.SlackBuild
|
Wait a few seconds before the build process finish. The result package will be in /tmp directory. To install the new Slackware chmlib package, run installpkg chmlib-0.39-i486-2_SBo.tgz command. See the example below:
root@slackware:/home/slackware/source/myslackware/chmlib# cd /tmp/ root@slackware:/tmp# installpkg chmlib-0.39-i486-2_SBo.tgz Installing package chmlib-0.39-i486-2_SBo... PACKAGE DESCRIPTION: chmlib: chmlib (library for accessing CHM files) chmlib: chmlib: chmlib is a small library designed for accessing MS ITSS files. chmlib: The ITSS file format is used for Microsoft Html Help files (.chm), chmlib: which have been the predominant medium for software documentation chmlib: from Microsoft during the past several years, having superceded chmlib: the previously used .hlp file format. chmlib: chmlib: Homepage: http://www.jedrea.com/chmlib/ chmlib: Executing install script for chmlib-0.39-i486-2_SBo... |
Save a copy of the package in your storage:
root@slackware:/tmp# cp chmlib-0.39-i486-2_SBo.tgz /home/slackware/packages/
|
That's all. Here is the result package of the example above if you don't have time to build one for yourself. However, I'm not responsible for any harm done to your system. By using this package, you are agreed to the Web Site Agreement.
Download Slackware 12.2 chmlib-0.39-i486-2_SBo.tgz package.
Popular content


Delicious
Digg
StumbleUpon
Propeller
Reddit
Newsvine
Furl
Facebook
Google
Yahoo
Technorati
Icerocket
Post new comment