AAFC-BICoE/rpmpaths

Name: rpmpaths

Owner: Biological Informatics CoE @ Agriculture and Agri-Food Canada

Owner: Biological Informatics CoE @ Agriculture and Agri-Food Canada

Description: Scans a list of RPMs and generates PATH and :LD_LIBRARY_PATH based on locations of executables and libraries

Created: 2014-07-16 17:56:33.0

Updated: 2014-07-16 18:00:43.0

Pushed: 2014-07-26 14:28:07.0

Homepage: null

Size: 948

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

rpmpaths

Scans a list of RPMs and generates PATH and :LD_LIBRARY_PATH based on locations of executables and libraries

Usage

./rpmpaths: Find executables and libraries in RPMs to populate PATH and LD_LIBRARY_PATH
Usage: ./rpmpaths <-c> | <rpmfile0> ... <rpmfileN>
Default: read the list of args as rpm files
-c : Read each line from standard input as a list of rpm files

Returns 2 lines with each of the following followed by the paths found for each:  "LD PATH: "   "PATH: " 

 Example:
 $ find . -name \*.rpm -print | rpmpaths -c
 PATH=/opt/bio/gdal/bin:/opt/bio/geos/bin
 LD_LIBRARY_PATH=/opt/bio/gdal/lib:/opt/bio/geos/lib:/opt/bio/zlib/lib:/usr/lib64

Copyright, License, Attribution& Acknowledgements

rpmpaths

Scans a list of RPMs and generates PATH and :LD_LIBRARY_PATH based on locations of executables and libraries

Usage

./rpmpaths: Find executables and libraries in RPMs to populate PATH and LD_LIBRARY_PATH
Usage: ./rpmpaths <-c> | <rpmfile0> ... <rpmfileN>
Default: read the list of args as rpm files
-c : Read each line from standard input as a list of rpm files

Returns 2 lines with each of the following followed by the paths found for each:  "LD PATH: "   "PATH: " 

 Example:
 $ find . -name \*.rpm -print | rpmpaths -c
 PATH=/opt/bio/gdal/bin:/opt/bio/geos/bin
 LD_LIBRARY_PATH=/opt/bio/gdal/lib:/opt/bio/geos/lib:/opt/bio/zlib/lib:/usr/lib64

Copyright, License, Attribution& Acknowledgements


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.