---
title: Install D2S2 Dawn-Dusk Satellite Simulator CLI on Linux | Snap Store
description: Get the latest version of D2S2 Dawn-Dusk Satellite Simulator CLI for
  Linux - D2S2 Dawn-Dusk Satellite Simulator CLI
url: https://snapcraft.io/d2s2
---

# D2S2 Dawn-Dusk Satellite Simulator CLI (d2s2)

[CubeSpace (cubespace-snaps)](https://snapcraft.io/publisher/cubespace-snaps "View all snaps from CubeSpace (cubespace-snaps)")

* [CubeSpace (cubespace-snaps)](https://snapcraft.io/publisher/cubespace-snaps "View all snaps from CubeSpace (cubespace-snaps)")
* [Utilities](https://snapcraft.io/search?categories=utilities)

latest/stable 1.2.0

Install latest/stable of D2S2 Dawn-Dusk Satellite Simulator CLI

---

**Install using the command line**

```
sudo snap install d2s2
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* d2s2

---

### License

* unset

---

### Last updated

* Yesterday - latest/stable
* Yesterday - latest/candidate

---

### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/d2s2#report-snap-modal)

---

* [Description](https://snapcraft.io/d2s2#tab-description)
* [Security](https://snapcraft.io/d2s2#tab-security)

#### D2S2 Dawn-Dusk Satellite Simulator CLI

Command-line interface for the D2S2 (Dawn-Dusk Satellite Simulator).
Supports running simulations and scripts from .d2s2 scenario files.

The D2S2 snap is strictly confined. USB-serial and CAN bus interfaces
require manual connection after installation.

command line usage:

D2S2.exe <task> <task parameters> --user <username> --pwd <password>
D2S2.exe <task> <task parameters> --license <license file>

<task> can be one of the following
runsim : run a simulation from a provided scenario file.
possible parameters for the runsim task are:
--scenario <scenario file>, where <scenario file> is the file path to the scenario file to use
--useropts <user settings file>, where <user settings file> is the file path to the user settings file. (optional)
example usage:
D2S2.exe runsim --scenario c:\temp\scenario.d2s2 --useropts c:\temp\useropts.xml

runscript : run a script
possible parameters for the runscript task are:
--scenario <scenario file>, where <scenario file> is the file path to the scenario file to use (optional)
--useropts <user settings file>, where <user settings file> is the file path to the user settings file. (optional)
--scriptname <script name>, where <script name> is the (fully qualified) type name for the script. Use the 'list' task to obtain a list of available script names.
--scriptopts <script options file>, where <script options file> is the file path to the script options.
the runscript task required that either scriptname, or scriptopts is specified.
example usage:
D2S2.exe runscript --scriptname D2S2.Simulation.LoggingScript
D2S2.exe runscript --scriptopts c:\temp\options.d2s2-script --scenario c:\temp\scenario.d2s2 --useropts c:\temp\useropts.xml

list : list available scripts

makescript: save a template script options file. Use this command to create a .d2s2-script file with default options for the named script.
possible parameters for the makescript task are:
--useropts <user settings file>, where <user settings file> is the file path to the user settings file. (optional)
--scriptname <script name>, where <script name> is the (fully qualified) type name for the script. Use the 'list' task to obtain a list of available script names.
--scriptopts <script options file>, where <script options file> is the output file path with the default script options.
example usage:
D2S2.exe makescript --scriptname D2S2.Simulation.LoggingScript --scriptopts c:\temp\options.d2s2-script

Authentication:
<username> and <password> arguments are optional.
<username> and <password> are the credentials that the user would use to sign in to the UI application.
If <username> is not provided, this console app will attempt to use the same credentials for the last UI application sign-in
Alternatively, you can specify the file location of a valid license file using --license <license file>

Enabling USB-serial support

---

1. Enable hotplugging support.

sudo snap set system experimental.hotplug=true

2. List the available serial devices.

sudo snap interface serial-port

3. Connect the interface to grant the snap access to your port.

sudo snap connect d2s2:serial-port snapd:<slot-name>

Enabling CAN support

---

1. Enable the network configuration interface for your snap.

sudo snap connect d2s2:network-control

2. Enable CAN bus access for your snap.

sudo snap connect d2s2:can-bus

---

## Install D2S2 Dawn-Dusk Satellite Simulator CLI on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the [installing snapd documentation](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/d2s2/arch)

[### CentOS](https://snapcraft.io/install/d2s2/centos)

[### Debian](https://snapcraft.io/install/d2s2/debian)

[### elementary OS](https://snapcraft.io/install/d2s2/elementary)

[### Fedora](https://snapcraft.io/install/d2s2/fedora)

[### KDE Neon](https://snapcraft.io/install/d2s2/kde-neon)

[### Kubuntu](https://snapcraft.io/install/d2s2/kubuntu)

[### Manjaro](https://snapcraft.io/install/d2s2/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/d2s2/pop)

[### openSUSE](https://snapcraft.io/install/d2s2/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/d2s2/rhel)

[### Ubuntu](https://snapcraft.io/install/d2s2/ubuntu)

[### Raspberry Pi](https://snapcraft.io/install/d2s2/raspbian)
