2 deb installation, 1 locate the deb file, 2 log in as a root user – Campbell Scientific LoggerNet for Linux Installation Guide User Manual

Page 7: 3 use dpkg to install the software, 4 alternatives to the dpkg command line, What the rpm/deb installs, Deb installation, Locate the deb file, Log in as a root user, Use dpkg to install the software

Advertising
background image

LoggerNet for Linux Installation Guide

2.2 DEB Installation

2.2.1 Locate the DEB File

Locate the DEB file, loggernet-debian_*_i386.deb. The DEB file is located in
the root directory of the LoggerNet Linux CD-ROM.

2.2.2 Log In as a Root User

The dpkg utility requires root privileges on the host computer in order to
change the state of the DEB database. You can gain root privileges by using
the su or sudo command or by logging in to a terminal as the root user.

2.2.3 Use dpkg to Install the Software

The following command line demonstrates use of the dpkg utility to install
LoggerNet for Linux:

dpkg --install loggernet-debian_4.2-24_i386.deb

The DEB filename contains version and revision numbers, and,
therefore, may differ from that shown above.

NOTE

The utility can also be used to delete the package by using the following
command line:

dpkg --remove loggernet

2.2.4 Alternatives to the dpkg Command Line

Instead of installing from the command line, most Linux distributions now
provide a GUI program that performs the same types of operations. Note that
you will still be required to provide the password for the root account in order
to use this application.

3. What the RPM/DEB Installs

Installing the LoggerNet for Linux RPM or DEB results in the following
actions:

• Copies binary executables and user documentation to the

/opt/CampbellSci/LoggerNet directory.

• Copies configuration files to the /etc/opt/CampbellSci directory.

• Copies daemon init scripts to directories appropriate for your

distribution and registers the csilgrnet, csildep, and csildmp daemons so
that these will start automatically when the host operating system boots.

• Creates the loggernet user and makes that user a member of the uucp

and dialout groups (this action provides access to serial ports without
needing permissions on those device files to be re-assigned).

3

Advertising