How can I use valgrind in balena.

It is unable to search valgrind via apt search valgrind.

Hi, can you provide more context? Are you trying to run this in host os? What’s the output?

This is the output I see when I try to install valgrind. I have to use valgrind to debug a library I am using in my project in balena.
root@beaglebone-black-9448276:/usr/src/app# apt-get install valgrind
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package valgrind

Hi
Can you try apt-get update before running apt-get install?
Also, what device and OS version are you using? That can help us to debug the issue