1. Computing & Technology
Linux / Unix Command: cups-config
Command Library

NAME

cups-config - get cups api, compiler, directory, and link information.  

SYNOPSIS

cups-config --api-version
cups-config --cflags
cups-config --datadir
cups-config --help
cups-config --ldflags
cups-config [ --image ] [ --static ] --libs
cups-config --serverbin
cups-config --serverroot
cups-config --version
 

DESCRIPTION

cups-config is the CUPS program configuration utility. It should be used by application developers to determine the necessary command-line options for the compiler and linker, as well as determining installation directories for filters, configuration files, and drivers.

The --api-version command displays the current API version (major.minor).

The --cflags command displays the necessary compiler options.

The --datadir command displays the default CUPS data directory.

The --help command displays the program usage message.

The --ldflags command displays the necessary linker options.

The --libs command displays the 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.

The --serverbin command displays the default CUPS binary directory, where filters and backends are stored.

The --serverroot command displays the default CUPS configuration file directory.

The --version command displays the full version number of the CUPS installation (major.minor.patch).  


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Discuss in my forum

©2012 About.com. All rights reserved.

A part of The New York Times Company.