rmp专题

查看.rmp內容

RPM packages are bundled in ".rpm" files The file can contain both the binary and source for the installed software Package generation is centered around a "*.spec" file 查看rpm檔案的內容 rpm -q -i

包管理rmp与yum

包管理rmp与yum=========================================rpm----------------------------------------------------------------------------###:rpm - RPM包管理器OPTIONS:安装:rpm {-i|--install} [install-options] P

在ubuntu上rmp打包:由二进制(安装后的目录)构建rpm包

显然,你现在已经有了所有安装资源。  建立打包目录 // redhat 系统中,可以用 rpmdev-setuptree建立。ubuntu没有。$ mkdir -p ~/tsoffice/{BUILD,RPMS,SOURCES,SPECS,SRPMS,BUILDROOT} 复制安装内容 把安装后的目录内容,复制到BUILDROOT下。 编写spec文件 SPECS目录下创建ts-

rmp的安装

cd 道软件所在目录 rpm -ivh 软件名 rmp的安装 RPM install: rpm -ivh <package_file>; uninstall: rpm -evh <package_name>; update: rpm -Uvh <package_file>; query: rpm -q <package_name>;        rpm -q -p <pac