Rebuilt DEB packed (Lightworks)

For those of us who runs the non LTS, like the 19.04 or similar, we might run into some problems of dependencies of packages not being met. This has been the case for Lightworks in my instance.

This guide is a workaround for that, and shows how to rebuilt the a modified deb package

Download the Lightworks Deb from Lightworks
Download the libssl 1.0.0 (AMD64)package from Ubuntu repository

Unpack the Lightworks package and modify files

dpkg-deb -x lightworks-14.5.0-amd64.deb Lightworks
dpkg-deb --control lightworks-14.5.0-amd64.deb Lightworks/DEBIAN


Modify the dependency by editing the Lightworks/DEBIAN/control, in my example, i had to modify libssl1.0.0 to libssl1.1

 Depends: libc6 (>= 2.17), libcairo2 (>= 1.10.0), libgcc1 (>= 1:4.1.1), libgdk-pixbuf2.0-0 (>= 2.22.0), libgl1-mesa-glx | libgl1, libglib2.0-0 (>= 2.22.0), libglu1-mesa | libglu1, libgtk-3-0 (>= 3.0.0), libjpeg8 (>= 8c), libpango1.0-0 (>= 1.18.0), libstdc++6 (>= 4.6), nvidia-cg-toolkit, libtiff5, libuuid1, libssl1.1, libasound2

Extract the Libcrypt and libssl files to Lightworks/usr/lib/lightworks

Repackage Lightworks

dpkg -b Lightworks LightworksREBUILD.deb

Now install by doubleclicking on package or install from command line:

sudo dpkg -i LightworksREBUILD.deb