ubuntu 12.04 firefox 安裝flash
安裝 rpm 包:
$ rpm -i package.rpm
查看未安裝的 rpm 包信息:
-p, --package PACKAGE_FILE
Query an (uninstalled) package PACKAGE_FILE. The PACKAGE_FILE may be specified as an ftp or http style URL, in which case the package header will be downloaded and queried. See FTP/HTTP
OPTIONS for information on rpm's internal ftp and http client support. The PACKAGE_FILE argument(s), if not a binary package, will be interpreted as an ASCII package manifest unless
--nomanifest option is used. In manifests, comments are permitted, starting with a '#', and each line of a package manifest file may include white space separated glob expressions,
including URL's, that will be expanded to paths that are substituted in place of the package manifest as additional PACKAGE_FILE arguments to the query.
說明:
chenqiang@qiang:~/Downloads$ rpm -qpi --requires flash-plugin-11.2.202.291-release.i386.rpm
Name : flash-plugin Relocations: (not relocatable)
Version : 11.2.202.291 Vendor: Adobe Systems Inc.
Release : release Build Date: 2013年05月24日 星期五 09時31分49秒
Install Date: (not installed) Build Host: frbld_lnx_016.macromedia.com
Group : Applications/Internet Source RPM: flash-plugin-11.2.202.291-release.src.rpm
Size : 18392545 License: Commercial
Signature : (none)
Packager : Adobe Systems Inc.
URL : http://www.adobe.com/downloads/
Summary : Adobe Flash Player 11.2
Description :
Adobe Flash Plugin 11.2.202.291
Fully Supported: Mozilla SeaMonkey 1.0+, Firefox 1.5+, Mozilla 1.7.13+
glibc >= 2.4
/bin/sh
/bin/sh
/bin/sh
/bin/sh
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
yum 常用命令行命令
安裝軟件(以foo-x.x.x.rpm為例):yum install foo-x.x.x.rpm
刪除軟件:yum remove foo-x.x.x.rpm或者yum erase foo-x.x.x.rpm
升級軟件:yum upgrade foo或者yum update foo
查詢信息:yum info foo
搜索軟件(以包含foo字段為例):yum search foo
顯示軟件包依賴關(guān)系:yum deplist foo
其它參數(shù)參見man yum