Source:Debian Repository

From SEPsesam

Copyright © SEP AG 1999-2024. All rights reserved.

Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.

Docs latest icon.png Welcome to the latest SEP sesam documentation version 4.4.3/4.4.3 Grolar. For previous documentation version(s), check Documentation archive.


Overview

For Debian-based distributions (Debian/Ubuntu/UCS) SEP sesam provides signed Debian repositories for easier package installation, verification and update of the SEP sesam software. This manual describes how to use these repositories.

Supported Systems

Debian-based systems

  • Debian Lenny
  • Debian Wheezy
  • Debian Jessie
  • Debian Stretch

Ubuntu-based systems

  • Ubuntu 14.04 LTS (use the Debian Wheezy packages)
  • Ubuntu 16.04 LTS (use the Debian Jessie packages)
  • Ubuntu 18.04 LTS (use the Debian Stretch packages)


For details on supported systems, check SEP sesam OS and Database Support Matrix.

Configuring Debian repositories

SEP sesam provides packages for installation on Debian and Ubuntu. APT (Advanced Packaging Tool) is used to handle SEP sesam installation, configuration and upgrade on Debian/Ubuntu Linux distributions.

Information sign.png Note
You have to run commands as the root user or by prefixing the commands you want to run with sudo if you use a different user.

Steps

  1. Download the SEP GPG public key to the system where SEP sesam will be installed:
  2. http://download.sep.de/linux/repositories/debian/key.asc
  3. Use apt-key (Debian tool for managing package authentication keys) to install the key and add it to the system keyring. In the following example, the key is downloaded via the command line tool curl and automatically passed to the apt-key tool for the import:
  4. curl http://download.sep.de/linux/repositories/debian/key.asc | apt-key add -
  5. Use the following command sequence to check if the key has been installed accordingly:
  6. apt-key list | grep SEP uid SEP AG (SEP Sesam Repository key) <support@sep.de>
  7. Edit the sources.list file. The system configuration file /etc/apt/sources.list has to be expanded to include the SEP sesam repository, as shown below:
  8. deb http://download.sep.de/linux/repositories/debian/ <DISTRIBUTION> main Replace <DISTRIBUTION> with your specific Debian distribution in lower case. The Debian repository on Debian Jessie is used in the following example: deb http://download.sep.de/linux/repositories/debian/ jessie main
    SEP Tip.png Tip
    Instead of modifying the file /etc/apt/sources.list you can create a separate repository file /etc/apt/sources.list.d/sepsesam.list by using the same syntax as described in this step.
  9. This step is only required if you are running Ubuntu 16.04 or 14.04. Skip this step for Debian and other than listed Ubuntu Linux distributions and if you only want to install the package sesam-cli.
    With Ubuntu 16.04 or 14.04, you have to install the package software-properties-common to be able to manage the missing repositories with add-apt-repository, a script which adds an external APT repository to /etc/apt/sources.list (or a file in /etc/apt/sources.list.d/.
    1. First install the package software-properties-common:
    2. apt-get install software-properties-common
    3. Then, use the command add-apt-repository to fetch the missing PPA's key and avoid a Java dependency problem during installation, as shown in the following example:
    4. add-apt-repository ppa:webupd8team/java Once you installed the missing PPA, use the update command (see next step) to get the latest list of software from each archive it knows about, including the PPA you just added. Note that JRE will be installed as part of the sesam-srv/sesam-gui package), as described in Installing SEP sesam components.
  10. To download the information about the packages in your new repository, update the package lists by running:
  11. apt-get update

Searching for SEP sesam components

If the configuration finishes successfully, you should be able to see the following SEP sesam components as install sources:

user@system:~$ apt-cache search sesam
sesam-cli - SEP sesam Client for Linux
sesam-gui - SEP sesam GUI for Linux
sesam-rts - SEP sesam remote device server for Linux
sesam-srv - SEP sesam server for Linux

Installing SEP sesam components

This example shows how to install the SEP sesam Client (sesam-cli); if using a different SEP sesam package (server/rts or gui package), modify the following command accordingly:

apt-get install sesam-cli
Information sign.png Note
All needed dependencies will be automatically installed. In case of any errors, you may have to install the missing PPAs manually. Make sure that add-apt-repository is present on your system and proceed as described in step 5.

Updating SEP sesam components

During the system update, the most recent SEP sesam packages will be retrieved and automatically updated to the latest version.

How to check what Debian version you are running

If you are not sure which Debian repository you have to use, the following commands can help you identify your Debian distribution:

  • If the package lsb-release is installed, the following command will show your system codename:
  • user@system:~$ lsb_release -c Codename: jessie
  • This regular command shows the Debian revision:
  • user@system:~$ cat /etc/debian_version 8.3 Revisions are listed as follows: 9.x: Debian stretch 8.x: Debian jessie 7.x: Debian wheezy 6.x: Debian squeeze 5.x: Debian lenny

See also

SEP sesam Quick Install GuideTroubleshooting Guide – Debian repositoriesDebian ReleasesUbuntu Releases