On Sat, Mar 22, 2025 at 10:50:22AM +0000, russell wrote:
> Is there a quick way to see if these files /usr/gcc/7/lib are required, are
> binaries dependant on these files? Is it safe to remove these files?

Are you looking for something like this?

# pkg search /usr/gcc/7/lib/libstdc++.so.6.0.24
INDEX      ACTION VALUE                             PACKAGE
path       file   usr/gcc/7/lib/libstdc++.so.6.0.24 
pkg:/system/library/[email protected]
# pkg uninstall pkg:/system/library/g++-7-runtime
Creating Plan (Solver setup): -
pkg uninstall: Unable to remove 
'system/library/[email protected]' due to the following packages 
that depend on it:
  audio/[email protected]
  desktop/remote-desktop/[email protected]
  developer/documentation-tool/[email protected]
  developer/[email protected]
  emulators/[email protected]
  games/openttd/[email protected]
  library/ruby/[email protected]
  system/virtualization/[email protected]
  x11/server/[email protected]
#

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   [email protected]  |
|                homepage: http://telka.sk/ |
+-------------------------------------------+

_______________________________________________
openindiana-discuss mailing list
[email protected]
https://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to