Thursday, January 23, 2020

Is a Package Installed?

Is cryptsetup installed?

Most generally useful is:

apt search cryptsetup

Or to concentrate on cryptsetup exactly:

apt list cryptsetup

To get all the details of the package

apt show cryptsetup

There are various other ways in which we can interrogate both dpkg and apt


dpkg --status cryptsetup

apt-cache policy cryptsetup

apt-cache search cryptsetup

Which Package Provides a File?

Which package will give me a java compiler?

apt search java


gives endless output

apt-file search "javac"

falls over in various ways:



Fail Better:

sudo apt update ; sudo apt install apt-file; sudo apt update

apt-file search "javac "

Sunday, January 19, 2020

To Manually Install get_iplayer on Debian (version 9.9)

Instructions found here:

https://github.com/get-iplayer/get_iplayer




But all I needed to do was:

sudo apt-get install libwww-perl liblwp-protocol-https-perl libmojolicious-perl libxml-libxml-perl libcgi-pm-perl atomicparsley ffmpeg

wget https://raw.githubusercontent.com/get-iplayer/get_iplayer/master/get_iplayer

sudo install -m 755 ./get_iplayer /usr/local/bin






Test with:

get_iplayer --release-check

get_iplayer ".*"

To actually fetch something(s)

get_iplayer --get ".*Example.*"