Skip to content

Development & Programming

Overview

How do I run DietPi-Software and install optimised software ?

To install any of the DietPi optimised software listed below run from the command line:

dietpi-software

Choose Software Optimised and select one or more items. Finally click on Install. DietPi will do all the necessary steps to install and start these software items.

DietPi software

To see all the DietPi configurations options, review DietPi Tools section.

Return to the Optimised Software list

Python

Python is a text based interpreted programming language with object oriented programming options for general purpose applications.

DietPi programming software Python

Source: By www.python.org, GPL

The install option explicitly only installs Python 3.
The pip resp. pip3 Python package manager and development headers are included.

To use the pip package manager, a typical usage will be pip3 install -U <module>.


Wikipedia: https://wikipedia.org/wiki/Python_(programming_language)

Docker

Docker is used to build, ship, and run distributed applications.

DietPi programming software Docker

DietPi programming software Docker screenshot

Source: User:Maklaan - Based on a Docker blog post

Access logs can be viewed with this command:

journalctl -u docker -u containerd

The Docker configuration files are:

  • Docker: /etc/docker/daemon.json
  • containerd: /etc/containerd/config.toml

Website: https://docs.docker.com/get-started/overview
Configuration file: https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file
Logging: https://docs.docker.com/config/containers/logging/configure
Wikipedia: https://wikipedia.org/wiki/Docker_(software)

YouTube video tutorial: DietPi Docker Setup on Raspberry Pi 3 B Plus.

Portainer

Portainer simplifies your Docker container management via Portainer web interface. It enables faster deploy of the applications and it gives real time visibility.

DietPi Optimised Software Portainer

Update to latest version:

dietpi-software reinstall 185

Official documentation: https://documentation.portainer.io
Source code: portainer/portainer
Open-source license: zlib

Return to the Optimised Software list


  1. Logitech Media Server already listened to port 9000, and this is why Portainer has been configured to start using port 9002. For more details on the implementation Portainer in DietPi see the GitHub task: MichaIng/DietPi!3933