Dynamsoft finally released Barcode Reader SDK v5.2 for Raspberry Pi. It is time to make an update. In this post, I will show you how to install the SDK, as well as how to write a simple Raspberry Pi barcode app using C/C++ and Python.
Last week, I built a package for Dynamsoft Barcode Reader using Chocolatey. One thing disappointed me that I can’t specify the installation directory if I don’t have a licensed Chocolatey edition. It means all packages will be installed to C:\ProgramData\chocolatey\lib. I do worry about my C drive storage spaces. Therefore, I decided to use PowerShell script moving Chocolatey packages. Although I’ve been a Windows user for many years, I never touched PowerShell before. What I’m going to do is to use PowerShell to move the package to a new location, remove the old package and register the destination directory to the environment path.
Most windows users like to download an installer to install software. However, for developers, probably they would rather like to use a command line tool (APT, Homebrew, etc.), like they get used on Linux and macOS, to install a program. Chocolatey is a command line package manager for Windows.
Last week, I built a Debian package for Dynamsoft Barcode Reader. Installing .deb file is apparently more efficient than using the .tar file on Linux OS based on Debian. Despite this, I believe most of Linux developers will give priority to the command-line package tool apt-get, unless the software repository is out of date. This is why I decided to create a private Debian repository to simplify the process of downloading and installing Dynamsoft Barcode Reader SDK for Linux.
Dynamsoft Barcode Reader for Linux is released as a .tar.gz file. To use the barcode SDK, first, you have to download and extract the compressed package. Then, copy the shared libraries to /usr/lib folder or export the library search path. The process seems to be easy, but as a matter of fact, some developers who are new to Linux platform always suffer from the issue – shared library not found. To simplify the SDK installation and deployment, I decided to create a Debian package.