如何找到非官方安装包?

时间:2014-05-30 22:10:07

标签: linux bash ubuntu debian apt-get

如何找到非官方Ubuntu存储库的所有已安装软件包?

某些软件包可能已安装dpkg -i ...

2 个答案:

答案 0 :(得分:1)

Ubuntu存储库中有一个名为apt-show-versions的实用程序,它向您显示Ubuntu存档中的程序版本。所以正在运行

apt-show-versions | grep 'No available version' 

会选择存储库未安装的任何内容。

答案 1 :(得分:-1)

在Fedora上我执行此操作rpm -qi以获取包信息。 dpkg

中必须有类似的选项
[root@Shash ~]# rpm -qi perl-Scalar-List-Utils-1.31-293.fc20.x86_64 
Name        : perl-Scalar-List-Utils
Version     : 1.31
Release     : 293.fc20
Architecture: x86_64
Install Date: Sat 10 May 2014 06:41:29 PM IST
Group       : Development/Libraries
Size        : 81706
License     : GPL+ or Artistic
Signature   : RSA/SHA256, Sat 17 Aug 2013 01:28:36 AM IST, Key ID 2eb161fa246110c1
Source RPM  : perl-Scalar-List-Utils-1.31-293.fc20.src.rpm
Build Date  : Fri 16 Aug 2013 10:05:41 PM IST
Build Host  : buildvm-06.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://search.cpan.org/dist/Scalar-List-Utils/
Summary     : A selection of general-utility scalar and list subroutines
Description :
This package contains a selection of subroutines that people have expressed
would be nice to have in the perl core, but the usage would not really be
high enough to warrant the use of a keyword, and the size so small such
that being individual extensions would be wasteful

可能这是你要找的那个

  

dpkg -p {package}显示有关软件包软件包组,版本,维护者,>的详细信息。架构,显示取决于包,描述等dpkg -p lsof

注意:您已编写脚本来查询和查找非官方软件包