User Tools

Site Tools


debian_notes

find the dpi of images in a pdf

combine multiple jpegs into one pdf

snippet 1:

convert *.jpg file.pdf

snippet 2:

 % cat combine_pics.sh
#! /usr/bin/env bash

script_dir=`dirname "$0"`
cd $script_dir/bin
convert `ls -v individual_pics/*.jpeg` all_pics_combined.pdf

Ref:- https://stackoverflow.com/questions/13618236/merge-multiple-jpg-into-single-pdf-in-linux

apt-cache search with tags

Use axi-cache instead of apt-cache

axi-cache search term tag

For example

 % axi-cache search scanner suite::kde
2 results found.
Results 1-2:
100% skanlite - image scanner based on the KSane backend
68% skanlite:i386 - image scanner based on the KSane backend
More terms: ksane skanlite backend image based attached scanning
More tags: hardware::scanner works-with-format::png works-with-format::jpg use::scanning works-with::image:raster works-with::image scope::application

If we are using apt-cache, it would not be possible to “discover” skanlite unless we know the right set of keywords. For example, searching for 'scanner' and 'kde' would not have told us about skanlite package.

 % apt-cache search scanner kde
clamtk - graphical front-end for ClamAV
libkf5sane-data - scanner library (data files)
libkf5sane-dev - scanner library development headers
libkf5sane5 - scanner library (runtime)

Ref:- https://debian-handbook.info/browse/stable/sect.apt-cache.html

bullseye release

status of debian testing

Useful links:

distribution name

Use

lsb_release -cs

Sample run

 % lsb_release -cs
buster

Ref:- I came across it in https://www.texmacs.org/tmweb/download/linux-repos.en.html#debian

debian_notes.txt · Last modified: 2021/09/23 04:41 by raju