Dependency management, example of use.
Published: June 20, 2014 - 11:31
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.
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.