Friday, April 20, 2012

How to determine / find CUPS version

Simply execute the following command in your Unix machine to determine what version of CUPS running on your system.
# cups-config --version

cups-config is the CUPS program configuration utility. Some of the option available for this utility include:

--api-version: current API version (major.minor).

--cflags: necessary compiler options.
--datadir: default CUPS data directory.

--help: program usage message.

--ldflags: necessary linker options.

--libs: necessary librarys to link to. The --image option adds the CUPS imaging library to the list. The --static option shows the static libraries instead of the default (shared) libraries.

--serverbin: default CUPS binary directory, where filters and backends are stored.

--serverroot: default CUPS configuration file directory.

--version: full version number of the CUPS installation (major.minor.patch).

No comments:

Post a Comment