Oracle Solaris System Administration (MOSC)

MOSC Banner

find package for /usr/ccs/bin/ruby

edited Dec 16, 2020 8:27PM in Oracle Solaris System Administration (MOSC) 2 commentsAnswered ✓

running Solaris 11.4 , how can I find which package this file belongs to?

[2020-12-16 15:54:30] root@ls-sol-h10:~ # which ruby

/usr/ccs/bin/ruby

[2020-12-16 15:54:33] root@ls-sol-h10:~ # /usr/ccs/bin/ruby --version

ruby 2.5.7p206 (2019-10-01 revision 67816) [sparcv9-solaris2.11]


This didn't help me

[2020-12-16 15:24:16] root@ls-sol-h10:~ # pkg search -l -H -o pkg.name */usr/ccs/bin/ruby

[2020-12-16 15:25:08] root@ls-sol-h10:~ # pkg search -l -H -o pkg.name /usr/ccs/bin/ruby

[2020-12-16 15:25:18] root@ls-sol-h10:~ # pkg list ruby

NAME (PUBLISHER)                 VERSION          IFO

runtime/ruby                   2.6-11.4.21.0.1.69.0    i--

or

pkgchk -l -p /usr/ccs/bin/ruby

Br Fritz

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center