Linux

  1. Home
  2. Computing & Technology
  3. Linux
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

Explore Linux

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Linux

  1. Home
  2. Computing & Technology
  3. Linux

©2009 About.com, a part of The New York Times Company.

All rights reserved.