tarball rpm
Tarball文档,其实就是将套件的所有原始码档案先以TAR打包,然后再以压缩技术来压缩,通常
最常见的就是以gzip来压缩了,因为利用了tar与gzip的功能,所以tarball文件一般的后缀名
为.tar.gz或者简定.tgz,也就是说,Tarball套件解压缩之后,里面的文件通常就会有:原始程
序代码文件,侦测程序文件(可能是configure或config等文件名),套件的简易说明与安装说明
(INSTALL或README)
将tarball文件在/usr/local/src目录下解压缩;进入新建立的目录底下,去查阅INSTALL与
README等相关档案内容;根据INSTALL与README的内容察看并安装好一些必要的软件;以自动侦测
程序configure或config侦测系统环境,并建立Makefile文件;依install这个目标的指定来到正
确的路径,make install。
RPM, RedHat Package Manager,是以一种数据库记录的方式来将所需要的套件安装到系统中的一
套管理程序,最大的特点就是发布的是编译好的文档,通过包里预设的数据库记录,说明安装时
候所必须的依赖组件。
rpm -- RPM Package Manager
querying and verifying packages:
rpm {-q | --query} [select-options] [query-options]
rpm {-V | --verify}[select-options] [query-options]
rpm --import PUBKEY ...
rpm {-K|--checksig} [--nosignature] [--nodigest] PACKAGE_FILE ...
installing, upgrading, and removing packages:
rpm {-i |--install} [install-options] PACKAGE_FILE ...
rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...
rpm {-F|--freshen} [install-options] PACKAGE_FILE ...
rpm {-e|--erase} [--allmatches] [--nodeps] [--noscripts] [--notriggers] [--repackage]
[--test] PACKAGE_NAME ...
miscellaneous:
rpm {--initdb|--rebuilddb}
rpm {--addsign | -- resign} PACKAGE_FILE ...
rpm {-querytags | -- showrc}
rpm {--setperms | --setugids} PACKAGE_NAME ...
rpm is a powerful package manager, which can be used to build, install, query, verify, update, and erase individual software packages. A package consists of an archive of files and meta-data used to install and erase the archive files. The meta-data includes helper scripts, file attributes, and descriptive information about the package. Packages come in two varieties: binary packages, used to encapsulate software to be installed, and source packages, containing the source code and recipe necessary to produce binary packages.
-?,--help,--version
--quiet 安静模式,不输出信息。
-v 输出详细信息
-vv 输出调试信息
Tarball文档,其实就是将套件的所有原始码档案先以TAR打包,然后再以压缩技术来压缩,通常
最常见的就是以gzip来压缩了,因为利用了tar与gzip的功能,所以tarball文件一般的后缀名
为.tar.gz或者简定.tgz,也就是说,Tarball套件解压缩之后,里面的文件通常就会有:原始程
序代码文件,侦测程序文件(可能是configure或config等文件名),套件的简易说明与安装说明
(INSTALL或README)
将tarball文件在/usr/local/src目录下解压缩;进入新建立的目录底下,去查阅INSTALL与
README等相关档案内容;根据INSTALL与README的内容察看并安装好一些必要的软件;以自动侦测
程序configure或config侦测系统环境,并建立Makefile文件;依install这个目标的指定来到正
确的路径,make install。
RPM, RedHat Package Manager,是以一种数据库记录的方式来将所需要的套件安装到系统中的一
套管理程序,最大的特点就是发布的是编译好的文档,通过包里预设的数据库记录,说明安装时
候所必须的依赖组件。
rpm -- RPM Package Manager
querying and verifying packages:
rpm {-q | --query} [select-options] [query-options]
rpm {-V | --verify}[select-options] [query-options]
rpm --import PUBKEY ...
rpm {-K|--checksig} [--nosignature] [--nodigest] PACKAGE_FILE ...
installing, upgrading, and removing packages:
rpm {-i |--install} [install-options] PACKAGE_FILE ...
rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...
rpm {-F|--freshen} [install-options] PACKAGE_FILE ...
rpm {-e|--erase} [--allmatches] [--nodeps] [--noscripts] [--notriggers] [--repackage]
[--test] PACKAGE_NAME ...
miscellaneous:
rpm {--initdb|--rebuilddb}
rpm {--addsign | -- resign} PACKAGE_FILE ...
rpm {-querytags | -- showrc}
rpm {--setperms | --setugids} PACKAGE_NAME ...
rpm is a powerful package manager, which can be used to build, install, query, verify, update, and erase individual software packages. A package consists of an archive of files and meta-data used to install and erase the archive files. The meta-data includes helper scripts, file attributes, and descriptive information about the package. Packages come in two varieties: binary packages, used to encapsulate software to be installed, and source packages, containing the source code and recipe necessary to produce binary packages.
-?,--help,--version
--quiet 安静模式,不输出信息。
-v 输出详细信息
-vv 输出调试信息