installing cups 2.2.5 on centos 7


Results 1 to 2 of 2

Thread: installing cups 2.2.5 on centos 7

  1. #1
    Join Date
    Oct 2017
    Posts
    1

    installing cups 2.2.5 on centos 7

    Hello everyone

    I have a fresh centos 7 installation which I would like to setup as a print server. I downloaded latest cups version 2.2.5, extracted the file and then simply followed the
    instructions on the INSTALL.md file. All did was

    ./configure
    make
    make install

    There were no errors during the installation. I have 2 questions:

    1. Why I can not see cups version 2.2.5 installed when I do
    Code:
    rpm -qa cups
    ? Is that because it wasn't an rpm pacakge?
    2. Inside /etc/cups I can see the following files:

    Code:
    -rw-------. 1 root lp      0 Aug  3 19:41 classes.conf
    -rw-r--r--. 1 root lp      0 Aug  3 19:41 client.conf
    -rw-r--r--. 1 root root 1029 Oct  5 11:04 cups-browsed.conf
    -rw-r-----. 1 root lp   4552 Oct 18 16:24 cupsd.conf
    -rw-r-----. 1 root lp   6273 Oct 19 11:06 cupsd.conf.default
    -rw-r-----. 1 root lp   6273 Oct 19 11:06 cupsd.conf.N
    -rw-r-----. 1 root lp   3091 Oct  5 11:04 cups-files.conf
    -rw-r-----. 1 root lp   2944 Oct 19 11:06 cups-files.conf.default
    -rw-r-----. 1 root lp   2944 Oct 19 11:06 cups-files.conf.N
    drwxr-xr-x. 2 root root    6 Aug  3 19:40 interfaces
    -rw-r--r--. 1 root lp      0 Aug  3 19:41 lpoptions
    -rw-r--r--. 1 root root  319 Jun 22  2015 paps.convs
    drwxr-xr-x. 2 root lp      6 Aug  3 19:40 ppd
    -rw-------. 1 root lp      0 Aug  3 19:41 printers.conf
    -rw-r--r--. 1 root lp    186 Aug  3 19:40 snmp.conf
    -rw-r-----. 1 root lp    142 Oct 19 11:06 snmp.conf.default
    -rw-r-----. 1 root lp    142 Oct 19 11:06 snmp.conf.N
    drwx------. 2 root lp      6 Aug  3 19:40 ssl
    -rw-r-----. 1 root lp    408 Oct 18 15:34 subscriptions.conf
    -rw-r-----. 1 root lp    408 Oct 18 14:35 subscriptions.conf.O
    The files with dated 19th October were created after the installation of cups 2.2.5. To start using cups2.2.5. I presume all I have to do is rename:

    cupsd.conf.N --> cupsd.conf
    cups-files.conf.N --> cups-files.conf
    snmp.conf.N--> snmp.conf

    Would that be the right procedure? Is there anything else I should consider?

    Many thanks

  2. #2
    Join Date
    May 2002
    Posts
    1,244
    Your correct. Since you installed cups by source it will not be in the package database.

    CentOS installs cupsd by default to the /usr/sbin/ directory. Where did the source install the new cupsd? You would have to update systemd unit files to run the new daemon.

    Renaming the conf files would make sure that any new directives are configured correctly. I would keep /copy the old ones just in case you have problems.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •