当然,我可以为您提供有关“Ubuntu查看PCL库版本”的完整攻略,以下是详细说明:
Ubuntu查看PCL库版本
在Ubuntu中,如果需要查看PCL的版本,可以使用以下命令:
dpkg -l | grep libpcl
该命令将列出所有已安装的libpcl包其版本号。
示例1:查看PCL库的版本号
假设我们已经安装了PCL库,需要查看其版本号。以下是具体步骤:
- 打开终端,输入以下命令:
bash
dpkg -l | grep libpcl
- 终端将列出所有已安装的pcl及其版本号。
ii libpcl-common1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - common files
ii libpcl-dev 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - development files
ii libpcl-doc 1.8.1+dfsg1-2ubuntu2 all Point Cloud Library - documentation
ii libpcl-filters1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - filters library
ii libpcl-io1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - I/O library
ii libpcl-kdtree1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - kdtree library
ii libpcl-keypoints1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - keypoints library
ii libpcl-ml1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - machine learning library
ii libpcl-octree1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - octree library
ii libpcl-outofcore1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - outofcore library
ii libpcl-people1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - people library
ii libpcl-recognition1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - recognition library
ii libpcl-registration1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - registration library
ii libpcl-sample-consensus1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - sample consensus library
ii libpcl-search1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - search library
ii libpcl-segmentation1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - segmentation library
ii libpcl-stereo1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - stereo library
ii libpcl-surface1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - surface library
ii libpcl-tracking1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - tracking library
ii libpcl-visualization1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - visualization library
- 在输出结果中,可以看到PCL库的版本号为1.8.1+dfsg1-2ubuntu2。
示例2:查看P库的特定版本号
假设我们需要查看PCL库的特定版本号,以下是具体步骤:
- 打开终端,输入以下命令:
bash
dpkg -l | grep libpcl | grep 1.8.1
- 终端将列所有已安装的libpcl包及其版本号,其中版本号包含字符串“1.8.1”。
ii libpcl-common1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - common files
ii libpcl-dev 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - development files
ii libpcl-doc 1.8.1+dfsg1-2ubuntu2 all Point Cloud Library - documentation
ii libpcl-filters1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - filters library
ii libpcl-io1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - I/O library
ii libpcl-kdtree1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - kdtree library
ii libpcl-keypoints1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - keypoints library
ii libpcl-ml1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - machine learning library
ii libpcl-octree1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - octree library
ii libpcl-outofcore1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - outofcore library
ii libpcl-people1.8 1.8.1+dfsg12ubuntu2 amd64 Point Cloud Library - people library
ii libpcl-recognition1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - recognition library
ii libpcl-registration1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - registration library
ii libpcl-sample-consensus1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - sample consensus library
ii libpcl-search1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - search library
ii libpcl-segmentation1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - segmentation library
ii libpcl-stereo1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - stereo library
ii libpcl-surface1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - surface library
ii libpcl-tracking1.8 1.8.1+dfsg1-2ubuntu2 amd64 Point Cloud Library - tracking library
ii libpcl-visualization1.8 1.8.1+dfsg1-ubuntu2 amd64 Point Cloud Library - visualization library
- 在输出结果中,可以看到PCL库的版本号为1.8.1+dfsg1-2ubuntu2。
注意事项:
- 在使用
dpkg -l | grep libpcl
命令时,需要注意输出结果中的版本号格式。 - 在查看特定版本号时,需要在命令中添加版本号的字符串。
本站文章如无特殊说明,均为本站原创,如若转载,请注明出处:ubuntu查看pcl库版本 - Python技术站