Skip to main content
NPal.2
Associate III
July 7, 2021
Solved

Support for mongodb , mariadb and sql

  • July 7, 2021
  • 1 reply
  • 1718 views

HI ,

How can i install

mongodb , mariadb and postgresql on stm32mp1?

Is there support for databases provided for stm32mp1?

This topic has been closed for replies.
Best answer by Jean-Marc B

Hi @NPal.2​ 

I am sorry for the trouble.

The package mongodb really exists in our OpenSTLinux distribution available from internet:

root@stm32mp1:~# uname -a
Linux stm32mp1 5.10.10 #1 SMP PREEMPT Sat Jan 23 15:04:06 UTC 2021 armv7l armv7l armv7l GNU/Linux
root@stm32mp1:~# apt-cache policy mongodb
mongodb:
 Installed: (none)
 Candidate: 4.2.2-r0
 Version table:
 4.2.2-r0 500
 500 http://packages.openstlinux.st.com/3.0 dunfell/untested armhf Packages

Could you copy and paste the output of the following command please?

root@stm32mp1:~# apt-get update

You should see something similar to this output:

root@stm32mp1:~# apt-get update
 
The software package is provided AS IS, and by downloading it, you agree to be
bound to the terms of the software license agreement (SLA).
The detailed content licenses can be found at
https://wiki.st.com/stm32mpu/wiki/OpenSTLinux_licenses.
 
Get:1 http://packages.openstlinux.st.com/3.0 dunfell InRelease [3458 B]
Get:2 http://packages.openstlinux.st.com/3.0 dunfell/main armhf Packages [1005 kB]
Get:3 http://packages.openstlinux.st.com/3.0 dunfell/updates armhf Packages [29.0 kB]
Get:4 http://packages.openstlinux.st.com/3.0 dunfell/untested armhf Packages [1439 kB]
Fetched 2477 kB in 7s (340 kB/s)
Reading package lists... Done

Thank you for your patience.

Best regards,

--JM

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

1 reply

Jean-Marc B
ST Employee
July 7, 2021

Hi @NPal.2​ 

All packages are available from the OpenSTLinux repository:

#board> apt-get update
#board> apt-get install mongodb mariadb postgresql

Best regards

--JM

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

NPal.2
NPal.2Author
Associate III
July 7, 2021

Thanks @Jean-Marc B​ for your response. I tried above commands and the result it shows up package not found. I am running latest OpenSTLinux dunfell 5.10

unable to locate package mongodb

Kindly advice what i can do in order to get these installed on STM32MP1.

Jean-Marc B
Jean-Marc BBest answer
ST Employee
July 7, 2021

Hi @NPal.2​ 

I am sorry for the trouble.

The package mongodb really exists in our OpenSTLinux distribution available from internet:

root@stm32mp1:~# uname -a
Linux stm32mp1 5.10.10 #1 SMP PREEMPT Sat Jan 23 15:04:06 UTC 2021 armv7l armv7l armv7l GNU/Linux
root@stm32mp1:~# apt-cache policy mongodb
mongodb:
 Installed: (none)
 Candidate: 4.2.2-r0
 Version table:
 4.2.2-r0 500
 500 http://packages.openstlinux.st.com/3.0 dunfell/untested armhf Packages

Could you copy and paste the output of the following command please?

root@stm32mp1:~# apt-get update

You should see something similar to this output:

root@stm32mp1:~# apt-get update
 
The software package is provided AS IS, and by downloading it, you agree to be
bound to the terms of the software license agreement (SLA).
The detailed content licenses can be found at
https://wiki.st.com/stm32mpu/wiki/OpenSTLinux_licenses.
 
Get:1 http://packages.openstlinux.st.com/3.0 dunfell InRelease [3458 B]
Get:2 http://packages.openstlinux.st.com/3.0 dunfell/main armhf Packages [1005 kB]
Get:3 http://packages.openstlinux.st.com/3.0 dunfell/updates armhf Packages [29.0 kB]
Get:4 http://packages.openstlinux.st.com/3.0 dunfell/untested armhf Packages [1439 kB]
Fetched 2477 kB in 7s (340 kB/s)
Reading package lists... Done

Thank you for your patience.

Best regards,

--JM

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'