I'm slightly confused on what exactly debi does.

I was building OLA, and I found this post: Error when building .debs for BBB with newest OLA 0.9.7... – Google Groups where I had seen:

cd ola-0.9.7  
# (... wait ...)  
sudo debi

So, I did build with debuild, and I got these .debs as a result:

$ ls -1 ../*.deb

The thing is, when I first installed OLA through the binary packages (Raspbian), before this build, I ended up with the packages ola libola1 ola-rdm-tests ola-python installed (which I had uninstalled before the build).

So, I'm not sure, if I just run debi, will I get just those packages installed, or will it install all the .debs that were generated (including -dbgsym and -dev packages, which in this particular case, I don't need)?

In other words, if I just want some of those .deb packages installed, am I better off just doing sudo dpkg -i [package1] [package2] ..., instead of using sudo debi?

1 Answer 1


debi installs all the packages listed in the .changes file produced during the build, so yes, it ends up installing all the packages produced by the build, including development packages and debug symbols.

If you want to limit the set of packages which are installed, without having to figure out their version or architecture, you can use debi with a list of package names, and it will figure out which packages to install by combining that with the .changes file:

sudo debi ola libola1 ola-rdm-tests ola-python
  • 2
    But, also from the manpage: "If a list of packages is given on the command line, then only those debs with names in this list of packages will be installed."
    – muru
    Jun 14, 2019 at 8:16
  • 3
    Indeed @muru, I was just testing that ;-). Thanks! Jun 14, 2019 at 8:18
  • Thanks a ton - that last command worked great!
    – sdbbs
    Jun 14, 2019 at 8:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.