Written by James McDonald

May 15, 2020

I think the default Ubuntu GLabels package doesn’t contain one of the barcode libraries I use to create labels so this is the script I use to compile glabels

#!/bin/sh

sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list

apt-get install cmake
apt-get -y build-dep glabels

cd $HOME
mkdir build

cd build && \
    wget https://downloads.sourceforge.net/project/zint/zint/2.6.3/zint-2.6.3_final.tar.gz && \
    tar -xvf zint-2.6.3_final.tar.gz && \
    cd zint-2.6.3.src/ && \
    mkdir build && cd build && \
    cmake .. && make && make install

cd $HOME/build && \
    wget https://ftp.gnu.org/gnu/barcode/barcode-0.98.tar.gz && \
    tar xzf barcode-0.98.tar.gz && \
    cd barcode-0.98/ && \
    ./configure && make && \
    make install

cd $HOME/build && \
    wget http://ftp.gnome.org/pub/GNOME/sources/glabels/3.4/glabels-3.4.1.tar.xz && \
    tar xvf glabels-3.4.1.tar.xz && \
    cd glabels-3.4.1/ && \
    ./configure && \
    make && make install && ldconfig

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…

Squarespace Image Export

To gain continued access to your Squarespace website images after cancelling your subscription you have several...

MySQL 8.x GRANT ALL STATEMENT

-- CREATE CREATE USER 'tgnrestoreuser'@'localhost' IDENTIFIED BY 'AppleSauceLoveBird2024'; GRANT ALL PRIVILEGES ON...

Exetel Opt-Out of CGNAT

If your port forwards and inbound and/or outbound site-to-site VPN's have failed when switching to Exetel due to their...