UMPMPDCLI

Is it possible to install UPMPDCLI on Dietpi?

Thank you

Not sure what it is (web search does not give a result), could you give some explanation or link?

And about the question if it’s possible to install on DietPi: Note that DietPi behaves pretty much like any other Debian system. So if you find a guide how to install on Debian, it will most likely work on DietPi as well.

quick google came up with this

https://www.lesbonscomptes.com/upmpdcli/

Yes it is, i managed to install following the prescribed procedures:

https://www.lesbonscomptes.com/upmpdcli/downloads.html

using these lines:
Raspbian Stretch AND other armhf Debian (see note below):

deb http://www.lesbonscomptes.com/upmpdcli/downloads/raspbian/ stretch main
deb-src http://www.lesbonscomptes.com/upmpdcli/downloads/raspbian/ stretch main

It is then managed by apt. Works like a charm!

Have added upmpdcli to dietpi-services so it is automatically stopped when using dietpi-backup etc.

Nice…great job!

Not sure how to install

can you kindly write line by line steps once I am into ssh terminal screen?

thank you

I already provided the link to download page with install procedure. Copy & paste from the page (use the lines under “Raspbian Stretch AND other armhf Debian (see note below))”

Procedure:

Create and edit /etc/apt/sources.list.d/upmpdcli.list and add the following lines, depending on your system.

Please note that the links changed in may 2018. The old links still work for now, but they will go away at some point, please update your sources file if you have an old one.

Raspbian Jessie:

deb http://www.lesbonscomptes.com/upmpdcli/downloads/raspbian/ jessie main
deb-src http://www.lesbonscomptes.com/upmpdcli/downloads/raspbian/ jessie main

Raspbian Stretch AND other armhf Debian (see note below):

deb http://www.lesbonscomptes.com/upmpdcli/downloads/raspbian/ stretch main
deb-src http://www.lesbonscomptes.com/upmpdcli/downloads/raspbian/ stretch main

Debian Jessie:

deb http://www.lesbonscomptes.com/upmpdcli/downloads/debian/ jessie main
deb-src http://www.lesbonscomptes.com/upmpdcli/downloads/debian/ jessie main

Non-ARM Debian Stretch:

deb http://www.lesbonscomptes.com/upmpdcli/downloads/debian/ stretch main
deb-src http://www.lesbonscomptes.com/upmpdcli/downloads/debian/ stretch main

Then install the packages. Except for upmpdcli itself, all the packages are independant, only install what you need !:

sudo apt-get update
sudo apt-get install upmpdcli

Optional streaming services

sudo apt-get install upmpdcli-qobuz
sudo apt-get install upmpdcli-gmusic
sudo apt-get install upmpdcli-tidal

Optional Songcast gateway

sudo apt-get install sc2mpd

Optional Songcast Receiver control web interface

sudo apt-get install scweb

To be more specific:

Create and edit /etc/apt/sources.list.d/upmpdcli.list:

nano /etc/apt/sources.list.d/upmpdcli.list
→ add the following lines:

deb Index of /upmpdcli/downloads/raspbian stretch main
deb-src Index of /upmpdcli/downloads/raspbian stretch main

→ save the file

then:

sudo apt-get update
sudo apt-get install upmpdcli

that’s it !

sorry I could not install it

it still says could not locate upmpdcli after the second apt
what filename should I save the file after the create and edit?

Just save the file as you created it: /etc/apt/sources.list.d/upmpdcli.list

Maybe a reboot will help, before installing using apt, i don’t know… It worked with my dietpi.

ok thanks for your help, after a reboot it worked.

HI,
Iam getting following error while editing.Please advise where i have gone wrong.

root@DietPi:~# deb Index of /upmpdcli/downloads/raspbian
-bash: deb: command not found
root@DietPi:~# nano /etc/apt/sources.list.d/upmpdcli.list
root@DietPi:~# sudo apt-get update
E: Malformed entry 1 in list file /etc/apt/sources.list.d/upmpdcli.list (URI parse)
E: The list of sources could not be read.
root@DietPi:~#
root@DietPi:~# /etc/apt/sources.list.d/upmpdcli.list
-bash: /etc/apt/sources.list.d/upmpdcli.list: Permission denied
root@DietPi:~#
error message

This is not a command that can be executed via the CLI, which is why you receive the error message. It is a configuration definition that must be performed within a source list. This means that the command is being used incorrectly.

It is exactly what the error message says, the configuration was made incorrectly within the source list

This is a configuration file. It cannot be executed in the CLI.

You must check your source list and see what is entered there and configure it accordingly.

Please advise how to check check your source list. I woudl like to install the upmpdcli

best to read install instructions for your software Upmpdcli and associated libraries downloads

First remove your malformed list

sudo rm -f /etc/apt/sources.list.d/upmpdcli.list

Download keyring for repository

sudo wget -O /usr/share/keyrings/lesbonscomptes.gpg https://www.lesbonscomptes.com/pages/lesbonscomptes.gpg

Add repository

sudo wget -O /etc/apt/sources.list.d/upmpdcli-rbookworm.list https://www.lesbonscomptes.com/upmpdcli/pages/upmpdcli-rbookworm.list

Update and install

sudo apt update
sudo apt install upmpdcli

@pulpe you are assuming @praveensg is using Bookworm. But we can’t be sure as he did not share any system information. Could be Bullseye or Trixi or Raspbian as well :stuck_out_tongue_winking_eye:

@Joulinar based on his previous posts (looked through his profile) i made assumption.

1 Like

esbonscomptes.com/pages/lesbonscomptes.gpg
–2025-03-15 15:00:29-- https://www.lesbonscomptes.com/pages/lesbonscomptes.gpg
Resolving www.lesbonscomptes.com (www.lesbonscomptes.com)… 62.210.16.61
Connecting to www.lesbonscomptes.com (www.lesbonscomptes.com)|62.210.16.61|:443. … failed: Connection timed out.
Retrying.
seems their portal not working now? any idea