Update Calculate Linux

Calculate Linux is constantly developing, acquiring its own characteristics. In 11.0 there awaited binary repository. This means that you can now change the methods of updating the system.

As you can see, the Calculate Linux by default, now uses a binary profile. The obvious advantages of a binary repository, add one more. To update the binaries are now not necessarily every time to update the Portage tree, enough to have the most recent changes overlay Calculate. Since all profiles Calculate Linux inherit Profile Gentoo, it is desirable to also update.

Here I show you an example of such an upgrade. In three parts: update profile, update packages and update configuration files.

Update profile

You can update your profile “calculate” and excluding the gentoo portage tree update. To do this, change the variable PORTAGE_RSYNC_OPTS, excluding a directory tree:

echo ‘PORTAGE_RSYNC_OPTS="–include=/profiles --include=/eclass --include=/licenses ${PORTAGE_RSYNC_OPTS} --exclude=/*"’ > /etc/portage/make.conf
rm /etc/portage/make.conf

Notice in the example I delete the file /etc/portage/make.conf on completion. As a rule, all settings are stored in /etc/make.conf. Nevertheless, make sure you do not use this file.

Update packages

Updating packages with the removal of unused libraries or replaced packages.

emerge -uDN world
emerge @preserved-rebuild
emerge -c

Add option “-a”, if you run a manual update.

Update configuration files

If you want to use a fully automatic update. Auto change the configuration files can be done by setting the file /etc/calculate/calculate2.env variable cl_autoupdate_set:

cl_autoupdate_set = on

Or by running:



P.S. Regularly follow the steps you’ll always keep your system up to date, using the latest stable version.