Chapter 6. Package manager

Table of Contents

1. Files and directories
2. Create a package

1. Files and directories

Configuration file /etc/wkpkg.conf:

# Default network depot
http://www.gnuwakes.org/depot main

#usb://depot main

#ftp://www.gnuwakes.org/depot main

#cdrom://depot    main

#disk://wakes/rep main

Working directory /var/wkpkg:

# ls -l /var/wkpkg
total 24
drwxr-xr-x   7 root root 4096 Jul 28 23:08 build
drwxr-xr-x   2 root root 4096 Jul 16 02:22 cat
drwxr-xr-x 198 root root 4096 Jul 19 01:32 db
drwxr-xr-x   3 root root 4096 Jul 16 02:22 mnt
drwxr-xr-x   3 root root 4096 Jul 16 02:22 rep
drwxr-xr-x   3 root root 4096 Aug  9 14:40 run

Directory structure:

  • build: where you create new packages

  • cat: where is the index catalog

  • db: database of installed packages

  • mnt: to mount device with repository

  • rep: repo where wkpkg download packages before installing them (for remote sources)

  • run: to edit packages