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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Scans a list of RPMs and generates PATH and :LD_LIBRARY_PATH based on locations of executables and libraries
./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
Scans a list of RPMs and generates PATH and :LD_LIBRARY_PATH based on locations of executables and libraries
./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