SunOS上的pkginfo可靠吗?

2024-09-29 21:45:28 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图理解为什么pkginfo会在我们的一个SunOS服务器上列出python的更新版本。你知道吗

veeCan@JuneQA:~> python -V
Python 2.3.3

pkginfo输出:

veeCan@JuneQA:~> pkginfo -l | grep -i python

NAME: Python 2.4.3
PKGINST: SMCpython
NAME: Python 2.4.3 PKGINST: SMCpython
NAME: python
VENDOR: The Python Group
PKGINST: SUNWPython
NAME: The Python interpreter, libraries and utilities
DESC: The Python interpreter, libraries and utilities
PKGINST: SUNWPython-devel
NAME: The Python interpreter, libraries and utilities - develper files - platform dependent, /usr filesystem
DESC: The Python interpreter, libraries and utilities - develper files - platform dependent, /usr filesystem
PKGINST: SUNWPython-share
NAME: The Python interperer, libraries and utilities - platform independent files, /usr/sfw/share
DESC: The Python interperer, libraries and utilities - platform independent files, /usr/sfw/share
PKGINST: SUNWlxml-python
NAME: The XML library - Python bindings
DESC: The XML library - Python bindings
PKGINST: SUNWlxsl-python
NAME: The XSLT library - Python bindings
DESC: The XSLT library - Python bindings
NAME: PostgreSQL 8.2 additional Perl, Python & TCL server procedural languages
DESC: PostgreSQL 8.2.9 additional Perl, Python & TCL server procedural languages
NAME: PostgreSQL additional Perl, Python & TCL server procedural languages
DESC: PostgreSQL 8.3.3 additional Perl, Python & TCL server procedural languages
NAME: cx_Oracle python module
PKGINST: ipython
NAME: iPython 0.9.1
NAME: Psyco Python
NAME: Python MySQL Library for Python 2.6
PKGINST: python26
NAME: Python 2.6.1 and other useful modules.
NAME: Python xlrd (read excel) 0.7.1
NAME: Setuptools for Python 0.6c9
NAME: Twill for Python 0.9

我在这里展示了python的安装:

veeCan@JuneQA:~> which python
/usr/sfw/bin/python

指向Python2.3。所以这是python home dir,它必须设置为env var,我得到了这一部分-然而,pkginfo为什么/如何显示更新的版本?pkginfo可靠吗?是否有类似/更好的命令来查找已安装软件的版本?你知道吗

如果我可以指向任何链接/文档,那也可以!

提前谢谢,
维肯


Tags: andthenamelibrariespostgresqlusrlibraryfiles

热门问题