Last active
December 9, 2019 19:23
-
-
Save hectorcorrea/d44718ddebd1bbb895a8b0ade10286de to your computer and use it in GitHub Desktop.
Installing yaz-marcdump on MacOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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` | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See also
https://software.indexdata.com/yaz/doc/installation.unix.html#installation.source.unix
http://www.j-gorman.com/blog/2012/4/22/yaz-marcdump-simple-but-powerful-marc-batch-tool.html