Source:Debian Repository: Difference between revisions

From SEPsesam
(Fixed links for SEP download center.)
(Prepared for translation.)
Line 1: Line 1:
<translate><div class="noprint"><languages />
{{Copyright SEP AG|en}}
{{Copyright SEP AG|en}}
{{Navigation_latest|release=[[Special:MyLanguage/SEP_sesam_Release_Versions|4.4.3/4.4.3 ''Grolar'']]|link=[[Special:MyLanguage/SEP_sesam_Documentation#previous|Documentation archive]]}}


== Overview ==
{{Navigation_latest|release=[[Special:MyLanguage/SEP_sesam_Release_Versions|4.4.3/4.4.3 ''Grolar'']]|link=[[Special:MyLanguage/SEP_sesam_Documentation#previous|Documentation archive]]}}</div></translate><br />
<div class="boilerplate metadata" id="Additional resources" style="background-color:#ecedf1; color:#8695a7; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 35%; "><center><b>Additional resources</b></center>
 
<translate>== Overview ==</translate>
<div class="boilerplate metadata" id="Additional resources" style="background-color:#ecedf1; color:#8695a7; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 35%; "><center><b><translate>Additional resources</translate></b></center>


{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" |[[File:SEP_next.png|45px|link=Special:MyLanguage/4_4_3:Installing_PostgreSQL|Installing PostgreSQL]]
| rowspan="2" style="padding:0px 10px 0px;" |<translate>[[File:SEP_next.png|45px|link=Special:MyLanguage/4_4_3:Installing_PostgreSQL|Installing PostgreSQL]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | See also: [[Special:MyLanguage/4_4_3:SEP_sesam_Quick_Install_Guide#linux|SEP sesam Quick Install Guide]] – [https://wiki.debian.org/DebianReleases DebianReleases]
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate>See also: [[Special:MyLanguage/4_4_3:SEP_sesam_Quick_Install_Guide#linux|SEP sesam Quick Install Guide]] – [https://wiki.debian.org/DebianReleases DebianReleases]</translate>
|}
|}


{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | [[File:support-matrix.png|45px|link=Special:MyLanguage/SEP_sesam_OS_and_Database_Support_Matrix#Linux]]
| rowspan="2" style="padding:0px 10px 0px;" | <translate>[[File:support-matrix.png|45px|link=Special:MyLanguage/SEP_sesam_OS_and_Database_Support_Matrix#Linux]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" |
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" |
Check supported [[Special:MyLanguage/SEP_sesam_OS_and_Database_Support_Matrix#Linux|configurations and versions]].
<translate>Check supported [[Special:MyLanguage/SEP_sesam_OS_and_Database_Support_Matrix#Linux|configurations and versions]].</translate>
|}
|}


{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP Tip.png|45px|link=Special:MyLanguage/FAQ|FAQ]]
| rowspan="2" style="padding:0px 10px 0px;" | <translate>[[File:SEP Tip.png|45px|link=Special:MyLanguage/FAQ|FAQ]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | Check [[Special:MyLanguage/FAQ|FAQ]] to find the answers to most common questions.
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate>Check [[Special:MyLanguage/FAQ|FAQ]] to find the answers to most common questions.</translate>
|}
|}


{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP Troubleshooting.png|45px|link=Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]]
| rowspan="2" style="padding:0px 10px 0px;" | <translate>[[File:SEP Troubleshooting.png|45px|link=Special:MyLanguage/Troubleshooting_Guide|Troubleshooting Guide]]</translate>
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | Problems? Check the [[Special:MyLanguage/Troubleshooting_Guide#installation|Troubleshooting Guide]].  
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | <translate>Problems? Check the [[Special:MyLanguage/Troubleshooting_Guide#installation|Troubleshooting Guide]].</translate>
|}</div>
|}</div>
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.
<translate>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===
===Supported Systems===


'''''Debian-based systems'''''
'''''Debian-based systems'''''</translate>


* Debian Lenny
* Debian Lenny
Line 36: Line 38:
* Debian Stretch
* Debian Stretch


'''''Ubuntu-based systems'''''
<translate>'''''Ubuntu-based systems'''''</translate>
 
* 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)


* Ubuntu 14.04 LTS (<translate>use the Debian Wheezy packages</translate>)
* Ubuntu 16.04 LTS (<translate>use the Debian Jessie packages</translate>)
* Ubuntu 18.04 LTS (<translate>use the Debian Stretch packages</translate>)


For details on supported systems, check [[Special:MyLanguage/SEP_sesam_OS_and_Database_Support_Matrix#Linux|SEP sesam OS and Database Support Matrix]].
<translate>For details on supported systems, check [[Special:MyLanguage/SEP_sesam_OS_and_Database_Support_Matrix#Linux|SEP sesam OS and Database Support Matrix]].


== {{anchor|configuration}}Configuring Debian repositories ==
== {{anchor|configuration}}Configuring Debian repositories ==


SEP sesam provides [https://download.sep.de/linux/repositories/debian/ 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.
SEP sesam provides [https://download.sep.de/linux/repositories/debian/ 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.</translate>


{{note| You have to run commands as the ''root'' user or by prefixing the commands you want to run with <tt>sudo</tt> if you use a different user.}}
{{<translate>note</translate>|<translate>You have to run commands as the ''root'' user or by prefixing the commands you want to run with <tt>sudo</tt> if you use a different user.</translate>}}


'''Steps'''
<translate>'''Steps'''</translate>
<ol><li>{{anchor|key}}Download the SEP GPG public key to the system where SEP sesam will be installed:</li>
<ol><li><translate>{{anchor|key}}Download the SEP GPG public key to the system where SEP sesam will be installed:</translate></li>
  {{DDL|linux/repositories/debian/key.asc}}
  {{DDL|linux/repositories/debian/key.asc}}
<li>Use <tt>apt-key</tt> (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 <tt>curl</tt> and automatically passed to the <tt>apt-key</tt> tool for the import:</li>
<li><translate>Use <tt>apt-key</tt> (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 <tt>curl</tt> and automatically passed to the <tt>apt-key</tt> tool for the import:</translate></li>


  curl {{DDL|linux/repositories/debian/key.asc}} | apt-key add -
  curl {{DDL|linux/repositories/debian/key.asc}} | apt-key add -
<li>Use the following command sequence to check if the key has been installed accordingly:</li>
<li><translate>Use the following command sequence to check if the key has been installed accordingly:</translate></li>


  apt-key list | grep SEP
  apt-key list | grep SEP
  <span style="color:darkred">uid                  SEP AG (SEP Sesam Repository key) <support@sep.de></span>
  <span style="color:darkred">uid                  SEP AG (<translate>SEP sesam Repository key</translate>) <support@sep.de></span>
<li>Edit the ''sources.list'' file. The system configuration file {{Path|/etc/apt/sources.list}} has to be expanded to include the SEP sesam repository, as shown below:</li>
<li><translate>Edit the ''sources.list'' file. The system configuration file {{Path|/etc/apt/sources.list}} has to be expanded to include the SEP sesam repository, as shown below:</translate></li>


  deb {{DDL|linux/repositories/debian/}} <span style="color:darkred"><DISTRIBUTION></span> main
  deb {{DDL|linux/repositories/debian/}} <span style="color:darkred"><translate><DISTRIBUTION></translate></span> main


Replace <tt><DISTRIBUTION></tt> with your specific Debian distribution in lower case. The Debian repository on Debian ''Jessie'' is used in the following example:
<translate>Replace <tt><DISTRIBUTION></tt> with your specific Debian distribution in lower case. The Debian repository on Debian ''Jessie'' is used in the following example:</translate>


  deb {{DDL|linux/repositories/debian/}} <span style="color:darkred">'''jessie'''</span> main
  deb {{DDL|linux/repositories/debian/}} <span style="color:darkred">'''jessie'''</span> main


{{tip|Instead of modifying the file {{Path|/etc/apt/sources.list}} you can create a separate repository file {{Path|/etc/apt/sources.list.d/sepsesam.list}} by using the same syntax as described in this step.}}
{{<translate>tip</translate>|<translate>Instead of modifying the file {{Path|/etc/apt/sources.list}} you can create a separate repository file {{Path|/etc/apt/sources.list.d/sepsesam.list}} by using the same syntax as described in this step.</translate>}}


<li>''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.'' <br />
<li><translate>''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.''</translate> <br />
{{anchor|add-apt-repository}}With Ubuntu 16.04 or 14.04, you have to install the package <tt>software-properties-common</tt> to be able to manage the missing repositories with <tt>add-apt-repository</tt>, a script which adds an external APT repository to {{path|/etc/apt/sources.list}} (or a file in {{path|/etc/apt/sources.list.d/}}.
<translate>{{anchor|add-apt-repository}}With Ubuntu 16.04 or 14.04, you have to install the package <tt>software-properties-common</tt> to be able to manage the missing repositories with <tt>add-apt-repository</tt>, a script which adds an external APT repository to {{path|/etc/apt/sources.list}} (or a file in {{path|/etc/apt/sources.list.d/}}.</translate>


<ol style="list-style-type:lower-alpha">
<ol style="list-style-type:lower-alpha">
<li>First install the package <tt>software-properties-common</tt>:</li>  
<li><translate>First install the package <tt>software-properties-common</tt>:</translate></li>  
  apt-get install software-properties-common
  apt-get install software-properties-common


<li>Then, use the command <tt>add-apt-repository</tt> to fetch the missing PPA's key and avoid a Java dependency problem during installation, as shown in the following example:</li>
<li><translate>Then, use the command <tt>add-apt-repository</tt> to fetch the missing PPA's key and avoid a Java dependency problem during installation, as shown in the following example:</translate></li>


  add-apt-repository ppa:webupd8team/java
  add-apt-repository ppa:webupd8team/java


Once you installed the missing PPA, use the <tt>update</tt> 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 [[Special:MyLanguage/Debian_Repository#install|Installing SEP sesam components]].</ol>  
<translate>Once you installed the missing PPA, use the <tt>update</tt> 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 [[Special:MyLanguage/Debian_Repository#install|Installing SEP sesam components]].</translate></ol>  


<li>To download the information about the packages in your new repository, update the package lists by running:</li>
<li><translate>To download the information about the packages in your new repository, update the package lists by running:</translate></li>


  apt-get update
  apt-get update
Line 90: Line 91:
</ol>
</ol>


== {{anchor|search}}Searching for SEP sesam components ==
<translate>== {{anchor|search}}Searching for SEP sesam components ==


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


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


== {{anchor|install}}Installing SEP sesam components  ==
== {{anchor|install}}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:
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:</translate>


  apt-get install <span style="color:darkred">sesam-cli</span>
  apt-get install <span style="color:darkred">sesam-cli</span>


{{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 <tt>add-apt-repository</tt> is present on your system and proceed as described in [[Special:MyLanguage/Debian_Repository#add-apt-repository|step 5]].}}
{{<translate>Note</translate>|<translate>All needed dependencies will be automatically installed. In case of any errors, you may have to install the missing PPAs manually. Make sure that <tt>add-apt-repository</tt> is present on your system and proceed as described in [[Special:MyLanguage/Debian_Repository#add-apt-repository|step 5]].</translate>}}


== {{anchor|update}}Updating SEP sesam components ==
<translate>== {{anchor|update}}Updating SEP sesam components ==


During the system update, the most recent SEP sesam packages will be retrieved and automatically updated to the latest version.
During the system update, the most recent SEP sesam packages will be retrieved and automatically updated to the latest version.
Line 114: Line 115:
== How to check what Debian version you are running ==
== 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 you are not sure which Debian repository you have to use, the following commands can help you identify your Debian distribution:</translate>


<ul><li>If the package ''lsb-release'' is installed, the following command will show your system codename:</li>
<ul><li><translate>If the package ''lsb-release'' is installed, the following command will show your system codename:</translate></li>


  user@system:~$ lsb_release -c
  user@system:~$ lsb_release -c
  Codename:    <span style="color:darkred">jessie</span>
  Codename:    <span style="color:darkred">jessie</span>


<li>This regular command shows the Debian revision:</li>
<li><translate>This regular command shows the Debian revision:</translate></li>


  user@system:~$ cat /etc/debian_version
  user@system:~$ cat /etc/debian_version
  <span style="color:darkred">8.3</span>
  <span style="color:darkred">8.3</span>


Revisions are listed as follows:
<translate>Revisions are listed as follows:</translate>


  9.x: Debian '''stretch'''
  9.x: Debian '''stretch'''
Line 135: Line 136:
</ul>
</ul>


<translate><div class="noprint">
== See also ==
== See also ==
[[Special:MyLanguage/4_4_3:SEP_sesam_Quick_Install_Guide#linux|SEP sesam Quick Install Guide]] – [[Special:MyLanguage/Troubleshooting_Guide#installation|Troubleshooting Guide – Debian repositories]] – [https://wiki.debian.org/DebianReleases Debian Releases] – [https://wiki.ubuntu.com/Releases Ubuntu Releases]
[[Special:MyLanguage/4_4_3:SEP_sesam_Quick_Install_Guide#linux|SEP sesam Quick Install Guide]] – [[Special:MyLanguage/Troubleshooting_Guide#installation|Troubleshooting Guide – Debian repositories]] – [https://wiki.debian.org/DebianReleases Debian Releases] – [https://wiki.ubuntu.com/Releases Ubuntu Releases]</div></translate>

Revision as of 10:29, 14 May 2019

Other languages:

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. https://www.sep.de/downloadportal/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 https://www.sep.de/downloadportal/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 https://www.sep.de/downloadportal/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 https://www.sep.de/downloadportal/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