Skip to content

Instantly share code, notes, and snippets.

@hectorcorrea
Last active December 9, 2019 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hectorcorrea/d44718ddebd1bbb895a8b0ade10286de to your computer and use it in GitHub Desktop.
Save hectorcorrea/d44718ddebd1bbb895a8b0ade10286de to your computer and use it in GitHub Desktop.
Installing yaz-marcdump on MacOS
# Building yaz-marcdump from source on MacOS.
#
# It's possible that you'll also need to run
#
# brew install libxml2
#
# if you don't have it already installed.
# Download source code
curl http://ftp.indexdata.com/pub/yaz/yaz-5.28.0.tar.gz > yaz-5.28.0.tar.gz
tar -xvzf yaz-5.28.0.tar.gz
# Build it
cd yaz-5.28.0
./buildconf.sh
./configure
make install
# Make install will copy the executable to `/usr/local/bin/yaz-marcdump` and it's also available
# under `./util/yaz-marcdump`
#
# Sample of usage:
# ./util/yaz-marcdump -i marc -o marcxml your-file.mrc`