Mon Sep 28 11:51:56 2020 UTC

"mybld" command setup


All the commands are enter via your account. It means no need to use the root account.

Once the GIT project is recovered, all manipulations MUST be done from the folder containing your GIT project.


Tools (packages to install)

It is assumed that your NuTyX is free from any development package. So we start by installing the utilities:

get rsync git

Get the GIT project

We start by cloning the GIT project containing all the NuTyX recipes:

git clone -b <branch> git://
The variable <branch> can take testing or rolling as values.

Once the GIT project in place, we move to the root of it, indeed the command mybld uses information from the GIT (VERSION, USERNAME, EMAIL, etc).

Go to the root of the projet

The GIT project is cloned. We need to go to the root of it.
cd packages-x86_64
From now on all the followings commands are launched from the actual folder.

Setup my name and email

This step is necessary if you want to share your new packages, indeed, the mybld -n command uses this information when creating your new package.
git config --global "James Bond"
git config --global ""

Implementation of working directories

The mybld command uses a set of folders for its operation, they must therefore be created using the command:

mybld -I

You can adjust the operating folders locations in the configuration file ~/.mybld via the variables ROOT, ROOTMOUNT and VERSION.

Available Collections

Choose the collection you want to work on. Depending on the collection chosen, you will need to retrieve the collections specified in the right column.

Collections list.
base base
cli base cli
gui base cli gui
cli-extra base cli cli-extra
gui-extra base cli gui gui-extra
desktops base cli gui desktops

Retrieving binaries collections

Depending the choose collection, launch the command:

mybld -s name_of_collection
to retrieve the collection(s) needed.

For example, to use the gui collection, run the command:

for i in base cli gui; do mybld -s $i;done

If you want to recover the entire collection, run the same command but without arguments:

mybld -s

You can specify a custom address and version in the ~/.mybld configuration file via the URL and VERSION variables.

Using the command

(Re)Compile a package

mybld name_of_package
Compilation begins immediately.

Increment the version and recompile a package

mybld -i name_of_the_package
After confirmation, the compilation start immediatly.


The mybld command allows all kinds of options.

mybld -h

Remember to consult mybld's man page to obtain more information about other possible options:

man mybld