How   to  add  new  packages  to  BasicLinux  

BasicLinux 2 is compatible with Slackware 7.1, so you should be able to install any package from there using the package manager (which is included in the BasicLinux HD installation).  Execute pkgtool for a menu-driven routine, or use installpkg to install a package directly.  Both methods register the package in the manager's database.

Slackware 7.1 packages are relatively small.  They provide components, not self-contained applications.  In most cases, you will need to install several related packages to get what you want.   Here are some examples.

Adding manpages to BasicLinux
This requires five packages (and fills 8mb of HD space).  First, you need the manpages and the man command -- that's two packages.  Groff is used to decifer the manpages and less is used to display them, so that's two more.  Groff needs a special library -- that's five.

    installpkg man.tgz##  a9
    installpkg manpages.tgz     ##  ap1
    installpkg groff.tgz##  ap1
    installpkg less.tgz##  a7
    installpkg cxxlibs.tgz##  a3

Adding Midnight Commander to BasicLinux
This requires two packages (and fills 6mb of HD space).  The first package contains Midnight Commander and the second contains libraries required by Midnight Commander.

    installpkg mc.tgz##  ap1
    installpkg elflibs.tgz     ##  a4

Adding a C compiler to BasicLinux
This requires a minimum of five packages (which fill 120mb of HD space).  Most of this space is filled by the glibc2 library, which is much larger than the old libc5 library (used in BasicLinux 1.8).

    installpkg binutils.tgz##  d1
    installpkg egcs.tgz##  d1
    installpkg glibc.tgz##  d1
    installpkg gmake.tgzd1##  d1
    installpkg linuxinc.tgz     ##  d1

To compile a Linux kernel, two further packages are required (which fill an additional 74mb of HD space).  The first is the kernel source and the second is an assember to make the boot sector.

    installpkg lx2216.tgz    ##  k1
    installpkg bin86.tgz##  d1