Page 1 of 1

Dependency management, example of use.

Published: June 20, 2014 - 11:31
by Johann_Leclercq
Hello,


Using dependencies for automated installation of a common software suite on workstations.
Example of a package named "drac-socle", installation is possible via the command:
wapt-get install drac-socle.

The control file is written as follows:

package: drac-socle
version: 1
architecture: all
section: group
priority: optional
maintainer: Johann LECLERCQ
description: Basic configuration for all workstations
depends: drac-7zip, drac-firefox, drac-thunderbird, drac-flash, drac-java, drac-libreoffice3.5, drac-xnview, drac-vlc, drac-infrarecorder, drac-pdfcreator, drac-adobereader_11-0
sources:

In this example, the packages, and therefore the software, are installed in the order indicated, specifically flash and java AFTER Thunderbird and Firefox
but BEFORE LibreOffice, which requires Java.

Re: Dependency management, example of use.

Published: March 30, 2015 - 4:17 PM
by jmeyer
How to check and/or modify the order when the group already exists, knowing that we do not know the installation order from the console?

Re: Dependency management, example of use.

Published: March 30, 2015 - 5:22 PM
by Frédéric Bonnier
Software programs do not have an installation priority order within groups. However, if one program must be installed before another to function correctly, then it can be made a dependency of that program.

Frédéric Bonnier