Chroot into Carbs Linux!
$ ./cpt-chroot /mnt
Newest tarballs do not come with repositories, so you will need to manually
obtain them, and set your
CPT_PATH environment variable. Carbs Linux
repositories can either be obtained by
While rsync repositories are overall faster and smaller, git offers the whole
history of the repository and a means to manipulate your repository as you like
it. If you want to obtain the git repository, you will need to install
The following guide will assume that you put the repositories into ~/repos/ directory, but you can put the repositories into any directory you want. So go ahead and create that directory:
$ mkdir -p $HOME/repos
Carbs Linux rsync repositories live in rsync://carbslinux.org/repo. In order to obtain it, run the following:
$ rsync -avc rsync://carbslinux.org/repo $HOME/repos/carbs
Carbs Linux git repositories can be found both from the main server and GitHub (mirror). Here are both their repository links. You can clone any of them.
$ git clone git://git.carbslinux.org/repository $HOME/repos/carbs
In your shell’s configuration file, or in your ~/.profile file, add the following lines:
export CPT_PATH='' CPT_PATH=$CPT_PATH:$HOME/repos/carbs/core CPT_PATH=$CPT_PATH:$HOME/repos/carbs/extra CPT_PATH=$CPT_PATH:$HOME/repos/carbs/xorg CPT_PATH=$CPT_PATH:$HOME/repos/carbs/community export CPT_PATH
It is good practice to make sure your system is up to date, especially before building new packages. If there is an update for the package manager you will need to update twice.
$ cpt update
Since you are operating on a really small base, you might need to build and install new programs to extend the functionality of your system. In order to build and install packages new packages in Carbs, you need to execute the following. “Package” is not actually a package and is given as an example.
$ cpt build package $ cpt install package
Here is a list of software that you might want to have on your system.
POSIX BASE UTILITIES
All the documentation for Carbs Linux can be found on a single info manual to be viewed offline. You can obtain texinfo or the info (standalone) package in order to view the documentation.
Install the documentation. $ cpt b carbs-docs && cpt i carbs-docs Install either texinfo or the info package. We will be installing standalone info as it doesn't need perl. $ cpt b info && cpt i info You can then run info and navigate through the documentation. $ info carbslinux