How To Search the APT Sources for Available Packages

Author: , June 10th, 2021

Search for a string:

List all packages:

How To Install/Update CPAN on MacOS Mojave with fatal error: ‘EXTERN.h’ file not found

Author: , June 12th, 2019

The Problem Tried to install the latest version of cpan and got stuck. Tracked it down to the dependency module Mac::SystemDirectory which was failing to build:

The Solution Use the MacOS installer command to deploy the needed files:

The, rerunning the cpan install works:

How To Remove a Package Without the Dependencies (yum/rpm)

Author: , January 9th, 2018

To remove a specific package without its dependencies use rpm:

As always, YMMV!

How To Install a .pkg file from the Command Line on MacOSX

Author: , August 12th, 2016

sudo /usr/sbin/installer -pkg /path/to/yourFile.pkg -target /

How To Find the Package Paths Using YUM and RPM

Author: , October 18th, 2011

Yum uses RPM so… # rpm -ql {package_name_here} -OR- # rpm -qlp /path/to/{file_name_here}.rpm