CARDS 2.4.87
Package manager for the NuTyX GNU/Linux distribution
|
We have provided the required Know-how, the minimum syntax of instructions for you to choose from.
Come and join the many participants of all ages, male and female, from all over the world, and venture along this exciting road we call NuTyX. We can promise you a rewarding experience as you build your very first NuTyX system, following our (NuTyX) rules.
We will see how to build and install a first package in a very straigtforward way.
This tutorial explain you in a very simple way the construction of your first binary package.
They are no prerequest, this exercice can be done regardless the state of your NuTyX.
The choosen receipt is a little text editor which don't need any dependencies.
For this package, we won't use an isolate environment named chroot. We will see in the next article, how to build in such isolate environment. Because that's the only working method if we need to build a package having dependencies.
Create the directory
Create the recept:
This file is always present on a NuTyX installation.
It's a bit like "the spine" of your NuTyX.
/etc/cards.conf file will reflect the way you use NuTyX.
All the collections that you want to use in your NuTyX can be specified in two way:
This file is also responsible for the list of packages you want to keep when you execute the command:
And finaly, it's specify which locale should be installed.
You can find more information by reading the cards.conf manual
This file is used when compiling news ports. It specify all the variables used by the pkgmk command.
Please take the time to read the man page of pkgmk.conf
You should now check all the details information about a port. We are now ready to build our packages in a chroot.