# Minimal run-time installation on Linux

**URL:** https://forum.commonvisionblox.com/t/minimal-run-time-installation-on-linux/2162
**Category:** Programming Questions
**Tags:** install, linux, genicam
**Created:** [May 20, 2024, 2:24pm UTC](https://forum.commonvisionblox.com/t/minimal-run-time-installation-on-linux/2162 "2024-05-20T14:24:25Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![IngFra](https://avatars.discourse-cdn.com/v4/letter/i/439d5e/32.png) [@IngFra](https://forum.commonvisionblox.com/u/IngFra)
#### Post date: [May 20, 2024, 2:24pm UTC](https://forum.commonvisionblox.com/t/minimal-run-time-installation-on-linux/2162/1 "2024-05-20T14:24:25Z")

</div>

From the CVB-zip:  
codemeter\_7.21.4611.501\_amd64.deb  
cvb-camerasuite-14.00.010-ubu2004-x86\_64.deb  
cvb-camerasuite-dev-14.00.010-ubu2004-x86\_64.deb  
cvb-foundation-14.00.010-ubu2004-x86\_64.deb  
cvb-foundation-dev-14.00.010-ubu2004-x86\_64.deb  
cvb-tools-14.00.010-ubu2004-x86\_64.deb  
cvb-tools-dev-14.00.010-ubu2004-x86\_64.deb  
install\_cvb.sh  
uninstall\_cvb.sh

Which Debians needs to be installed on Linux to run an user CPP-application?  
(No GUI-apps are needed…)

---

<div class="post-metadata">

### Author: ![s-woe](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/s-woe/32/572_2.png) [@s-woe](https://forum.commonvisionblox.com/u/s-woe)
#### Post date: [May 21, 2024, 1:54pm UTC](https://forum.commonvisionblox.com/t/minimal-run-time-installation-on-linux/2162/2 "2024-05-21T13:54:07Z")

</div>

Generally: It is recommended to execute the install\_cvb.sh script.

The question, which package to install doesn’t relate to the programming language or whether gui applications are needed. It is related to the use case.

---

<div class="post-metadata">

### Author: ![IngFra](https://avatars.discourse-cdn.com/v4/letter/i/439d5e/32.png) [@IngFra](https://forum.commonvisionblox.com/u/IngFra)
#### Post date: [May 21, 2024, 3:30pm UTC](https://forum.commonvisionblox.com/t/minimal-run-time-installation-on-linux/2162/3 "2024-05-21T15:30:40Z")

</div>

I guess my CPP-application will only need some of the so-lib:s from the debian(s) and will not need codemeter and dev etc…  
I tried to install only the camerasuite (by force) but got problems with the cvmgtd?!  
(In the end a small Docker-image with this would be nice…)

---

<div class="post-metadata">

### Author: ![Sebastian](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/sebastian/32/1267_2.png) [@Sebastian](https://forum.commonvisionblox.com/u/Sebastian)
#### Post date: [May 22, 2024, 7:18am UTC](https://forum.commonvisionblox.com/t/minimal-run-time-installation-on-linux/2162/4 "2024-05-22T07:18:38Z")

</div>

@IngFra  
Among other things, this is why @s-woe recommended using the default setup.

If you really need a minimal setup, you could leave out the _dev_.deb files. These contain example applications and everything you need to compile a cvb application.

If you do not need foundation tools, you could leave out the cvb-foundation\*.deb file. If you do not need other cvb tools, you could also leave out cvb-tools\*.deb.

As the CVB Management Deamon (cvmgmtd) needs the codemeter setup, you need to install it.  
The codemeter setup has some GUI related dependencies. Some people are looking for a setup without these dependencies, as they want to install it on an ubuntu server without a desktop environment. Then you need to have a version compatible “driver only” or “lite” deb package from the codemeter setup.

---

<div class="post-metadata">

### Author: ![IngFra](https://avatars.discourse-cdn.com/v4/letter/i/439d5e/32.png) [@IngFra](https://forum.commonvisionblox.com/u/IngFra)
#### Post date: [May 27, 2024, 7:53am UTC](https://forum.commonvisionblox.com/t/minimal-run-time-installation-on-linux/2162/5 "2024-05-27T07:53:39Z")

</div>

So a minimal runtime installation (for a GUI-less Linux) may be:  
codemeter\_7.21.4611.501\_amd64.deb  
cvb-camerasuite-14.00.010-ubu2004-x86\_64.deb

I guess a “home-made” install-script is needed for this? Or can it be a “flag” for the CVB-install?

Btw, does this include the CVB-deamon?  
And how to get a compatible “lite” debian for the codemeter-setup (without the GUI-apps)?

---

<div class="post-metadata">

### Author: ![IngFra](https://avatars.discourse-cdn.com/v4/letter/i/439d5e/32.png) [@IngFra](https://forum.commonvisionblox.com/u/IngFra)
#### Post date: [May 29, 2024, 7:26am UTC](https://forum.commonvisionblox.com/t/minimal-run-time-installation-on-linux/2162/6 "2024-05-29T07:26:21Z")

</div>

The codemeter is not needed according to this post:  
[https://forum.commonvisionblox.com/t/install-cvb-on-a-ubuntu-20-04-server-without-an-internet-connection/](https://forum.commonvisionblox.com/t/install-cvb-on-a-ubuntu-20-04-server-without-an-internet-connection/)

But I get this error when “forcing” the installation of cvb-camerasuite:

```auto
$ sudo dpkg -i --force-all cvb-camerasuite-14.00.010-ubu2004-x86_64.deb
...
Job for cvmgmtd.service failed because the control process exited with error code.
See "systemctl status cvmgmtd.service" and "journalctl -xe" for details.
dpkg: error processing package cvb-camerasuite (--install):
 installed cvb-camerasuite package post-installation script subprocess returned error exit status 1
Processing triggers for systemd (245.4-4ubuntu3.23) ...
Processing triggers for libc-bin (2.31-0ubuntu9.15) ...
Errors were encountered while processing:
 cvb-camerasuite

$ systemctl status cvmgmtd.service
● cvmgmtd.service - Common Vision Blox Management Daemon.
     Loaded: loaded (/lib/systemd/system/cvmgmtd.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Wed 2024-05-29 08:54:39 CEST; 33s ago

maj 29 08:54:39 writemmstestrig systemd[1]: Starting Common Vision Blox Management Daemon....
maj 29 08:54:39 writemmstestrig cvmgmtd[1089177]: /opt/cvb-14.00.010/bin/cvmgmtd: error while loading shared libraries: libwibucm.so: cannot open shared object file: No such file or directory
maj 29 08:54:39 writemmstestrig systemd[1]: cvmgmtd.service: Control process exited, code=exited, status=127/n/a
maj 29 08:54:39 writemmstestrig systemd[1]: cvmgmtd.service: Failed with result 'exit-code'.
maj 29 08:54:39 writemmstestrig systemd[1]: Failed to start Common Vision Blox Management Daemon..

```

Can this be ignored?

---

<div class="post-metadata">

### Author: ![IngFra](https://avatars.discourse-cdn.com/v4/letter/i/439d5e/32.png) [@IngFra](https://forum.commonvisionblox.com/u/IngFra)
#### Post date: [May 29, 2024, 10:42am UTC](https://forum.commonvisionblox.com/t/minimal-run-time-installation-on-linux/2162/7 "2024-05-29T10:42:27Z")

</div>

Tried codemeter-lite but cvb-camerasuite fails to install:

```auto
$ sudo dpkg -i codemeter-lite_8.10.6221.500_amd64.deb 
Selecting previously unselected package codemeter-lite.
(Reading database ... 249037 files and directories currently installed.)
Preparing to unpack .../codemeter-lite_8.10.6221.500_amd64.deb ...
Unpacking codemeter-lite (8.10.6221.500) ...
Setting up codemeter-lite (8.10.6221.500) ...
Processing triggers for systemd (245.4-4ubuntu3.23) ...
Processing triggers for man-db (2.9.1-1) ...

$ sudo dpkg -i cvb-camerasuite-14.00.010-ubu2004-x86_64.deb 
dpkg: regarding cvb-camerasuite-14.00.010-ubu2004-x86_64.deb containing cvb-camerasuite, pre-dependency problem:
 cvb-camerasuite pre-depends on codemeter (>= 5.22.1504.500)
  codemeter is not installed.

dpkg: error processing archive cvb-camerasuite-14.00.010-ubu2004-x86_64.deb (--install):
 pre-dependency problem - not installing cvb-camerasuite
Errors were encountered while processing:
 cvb-camerasuite-14.00.010-ubu2004-x86_64.deb

```

---

<div class="post-metadata">

### Author: ![s-woe](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/s-woe/32/572_2.png) [@s-woe](https://forum.commonvisionblox.com/u/s-woe)
#### Post date: [May 29, 2024, 10:52am UTC](https://forum.commonvisionblox.com/t/minimal-run-time-installation-on-linux/2162/8 "2024-05-29T10:52:47Z")

</div>

Hello @IngFra,

as you can see, our debians are not prepared for a customization. I - again - highly recommend to install the whole package with the delivered script. Especially the codemeter debian, we deliver.

Afterwards, we could think about slacking down the footprint of the installation by removing installed binaries and files you don’t need. But - of course - this is also not recommended and we can not guarantee a functional product any longer. Do this on your own risk.

---

<div class="post-metadata">

### Author: ![Andreas](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/andreas/32/75_2.png) [@Andreas](https://forum.commonvisionblox.com/u/Andreas)
#### Post date: [June 13, 2024, 11:45am UTC](https://forum.commonvisionblox.com/t/minimal-run-time-installation-on-linux/2162/9 "2024-06-13T11:45:50Z")

</div>

Hi @IngFra,

what you try to do is technically possible but not with our standard installation package.  
It will require a custom installation and potentially also an OEM license to get rid of CodeMeter altogether. We can offer assistance with that.

Please contact support and sales for details.
