How to Install and Uninstall cons Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 19,2024

1. Install "cons" package

Here is a brief guide to show you how to install cons on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install cons

2. Uninstall "cons" package

This guide let you learn how to uninstall cons on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove cons $ sudo apt autoclean && sudo apt autoremove

3. Information about the cons package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: cons
Priority: optional
Section: universe/devel
Installed-Size: 280
Maintainer: Hwei Sheng Teoh
Architecture: all
Version: 2.3.0.1+2.2.0-1
Depends: perl, libdigest-md5-perl
Filename: pool/universe/c/cons/cons_2.3.0.1+2.2.0-1_all.deb
Size: 105324
MD5sum: 606e6b1bf52f232cc2fb8a5c3ece6a86
SHA1: 2f79d89f91cad95c8119ef550b54e4d2098ea8e5
SHA256: 625d1d55c0887d8fd217239537e643dd35f95f3cbeeca73172b5a83b32de9036
Description-en: a Perl replacement for Make
Excerpted from the README file:
.
Cons is a system for constructing, primarily, software, but is quite
different from previous software construction systems. Cons was
designed from the ground up to deal easily with the construction of
software spread over multiple source directories. Cons makes it easy
to create build scripts that are simple, understandable and
maintainable. Cons ensures that complex software is easily and
accurately reproducible.
.
Cons uses a number of techniques to accomplish all of this.
Construction scripts are just Perl scripts, making them both easy to
comprehend and very flexible. Global scoping of variables is replaced
with an import/export mechanism for sharing information between
scripts, significantly improving the readability and maintainability
of each script. Construction environments are introduced: these are
Perl objects that capture the information required for controlling the
build process. Multiple environments are used when different semantics
are required for generating products in the build tree. Cons
implements automatic dependency analysis and uses this to globally
sequence the entire build. Variant builds are easily produced from a
single source tree. Intelligent build subsetting is possible, when
working on localized changes. Overrides can be setup to easily
override build instructions without modifying any scripts. MD5
cryptographic signatures are associated with derived files, and are
used to accurately determine whether a given file needs to be rebuilt.
Description-md5: 8864740a1853140109f0656a997bb7c1
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu