I need to install pkgsrc on my Linux system without root privileges. I want all installed programs to go into '/home/user/my_pkgsrc' and the package database to '/home/user/my_pkgsrc/db'. What is the command to set this up, and what tool should I use to build packages afterward?
Navigate to the 'Documentation' section of the pkgsrc website. Locate and navigate to 'Chapter 4. Using pkgsrc on systems other than NetBSD' in the Table of Contents. Within Chapter 4, navigate to the 'Bootstrapping pkgsrc' section. Identify the command-line arguments needed to specify a custom prefix and package database directory, along with the unprivileged flag. Identify the specific tool recommended for building packages after bootstrapping. Construct the complete `bootstrap` command using the identified flags and the specified custom paths. State the exact `bootstrap` command and the recommended build tool.
The stated `bootstrap` command is exact and includes `./bootstrap`. The command includes the `--unprivileged` flag. The command includes `--prefix=/home/user/my_pkgsrc`. The command includes `--pkgdbdir=/home/user/my_pkgsrc/db`. State that `bmake` is the tool to use for building packages after bootstrapping.