rpm打包过程
【需求】
接触那么久的Linux,还没有试验过怎么打rpm包
【过程】
1、rpm打包准备工作
系统默认的rpmbuild的相关路径
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgIAAACaCAIAAABUjbecAAAdkklEQVR4nO2dy7XqOgyGU9UZUA0j1rqVMKUP5rRBATRBB/sOQhLL1suPJA783zqDswlWFNtIsWzLw3///TcEnG6vv7+/x2X86/L4+/sL/v5cX/4kfL79uTpK+nvdTuH16U96H0uyxV6SzaKlt9V1vjzCio3V0q9WqdanVrp65MOwOYdhGE6n5f/M7YnSOd3o8qDfjJ93/DvUZBhOl8tpvuny5cxe56XmR8FhNJ7aClVtpHF/D+fgz3/X4f0e7ufl6vu+XD3ftauR2Ou/+MPrk5RV7tsjkRsYZvv96YpRd8kwBOlviBYcuzu1DKWmaSfJGpMLDXEVdOkcNBIjVr+aauetnD61MtULbhzdltyQVUkuq5E2fqoWqY5A/sfULSIy7uunsRtw9Ha9JmvaSOT+Ht703zm6Sg399Tm838Pzyl8NC5puQLlvj6RuAACwH9WDIgBygRsAoCfgBsDmwA0A0BNwA2Bz4AYAAOCn4d0AnfFZZY4qm1CnbTTq872Mm41jF91Ic5MbEU5CrliT0UyrvIpt7DPzfzam9cocABoiu4Ge+mxkRk631xbq9ekGYmLDlqy+28mNb+QGAuReO9fRRj0nBW4AdExPbkD6qQTa0NWsjrI1HMENnG4vauXjZde7PURbN+BpX7HXLsZ/r8EA3ADomf7dwOn2CpZUSy91v+kG+HrQ/cJWdOQGdg8JwQ2Arsl0A3NvXl7Lmf1VUgRfvMrGu8dvLHYtsHmh+TPKijt3XrfTbJ74QcZsvML4M7PPVHxeGrjmJMcKSRXCG694syojOdMEW+0rPlF88XW7cG5AqMlkK1VcV3z7ptWhaWtWZypN6BuiTSduWawNADqjyA3cpkgEfRutTSfA/rrYEYDwg1cMfvx089shMQv066MhuAVhF2pS9SeKbk2K6m6AVToliQexZbm8BapMuX21J2KfIXIDck2ebreg6TjHVTEaKJ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JyUdam3CvPPFUdpOlQ6pd5+OyDa11qk8TlNrRW6GmjXKRzhtIPYHHDYSzypobwHkDwkwRvY8l2WIvyWbR4g5rB7IqJmOLVetTK129xP6SEQjOG2iE0XhqK1S1kUbWeQPR9IDHDYSEbgDnDSwtyEztpENd5Z3AyZ6SNbgxuP+VztKZhJf5MJh6U6qdt3L61MpUL7gxNxepqiSX1UgbP1UrmSEIp6Zx3gAvOq8ucs8bGOP488RvjRvAeQMAgGJarQsCwA3cAAA9ATcANgduAICegBsAmwM3AAAAPw3vBuiMzypzVNmEOm2jUZ/vZez6b27RjTQ3uRHhJOSKNRnNtMqr2MY+k+xkAQDIbqAn+8fsXthAvT7dQExs2NIV6vvYvY3cQIDca+c62qjnAHAoenID0iK2QBu6mtVRtoYjuIHTlOdtIl52vdtDtHUDnvYVe+1i/DEYACClfzcQpClRXup+0w3w9aD7ha3oyA0gJASAwv8YZFK5LhTmYgAAAABJRU5ErkJggg==" alt="" />
如果想修改这个目录,怎么修改呢?
在/data1/guosong/rpmbuild目录下创建如下目录BUILD BUILDROOT code RPMS SOURCES SPECS SRPMS
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAhoAAAC3CAIAAADbxmBoAAAgAElEQVR4nO1du5Xrug5VOa+CCVyNI691K5nUHbybO3cbU4CbmA7mBrIkEMSPpCRT9t7rBGcsEYJIipsESGD4999///nnnwEAgP1wuf/9/d0vr1YDAFYF6AQAdgfoBHhHgE4AAACAFaDSyeX+R/C4nnZXLQfVaR+N+pxFpm3zBNOS3NOF/uvU5On6yMWMP4Zf93R9LDfFyl7uz/42/2dnJDoDQKcw6aSn/suGo9P1sYd6fdIJBx/kksHncu9iOrAhnbDLRXTCNJTLzvW7U6/LAToBjoDO6CTwqZP5ZHrjFp/cEejkdH2kbHG5p/zRxUvsosQ2dLKQyKsWJ6AT4BA4BJ2cro/pMzYmip9JJ3I92PzyChyYTl5u6gKdAMdAOZ3MPXtZJiT3JYb97OtTr4r+gPGOZXwkYycd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AOwO0AnwjgCdAMD6+P//rH8A8JZQ6ST1jrWceloPVKd9NOpzFimetZA2SRV7LrfDOjUp7gdjPmLvIYmXO1Z2PjyVnaLSADoBPhAmnXQxDj0hnH7ZQb0+6YSDD3LZjs0OpgMb0gm7XEQnTEP1eG5p6CzQCfCB6IxOAp96uos5ULYFR6CTEw+Zwbf8d/ESuyixDZ0sJBJenIBOgE/EIeiEnDA2JoqfSSdyPdj88gocmE7KTV2gE+AT8R/bYFN8iPiUfwAAAABJRU5ErkJggg==" alt="" />
还必须修改~/.rpmmacros
%_topdir /data1/guosong/rpmbuild
2、rpm打包过程
打包helloworld需要程序sources文件,spec文件
*编写hellword源文件(hello.c)
#include <stdio.h> int main(){
printf("Hello, World!\n");
return ;
}
*打包成tar文件
创建hello-0.1目录,将hello.c挪到hello-0.1目录中
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlQAAACXCAIAAABcGVJNAAAYqElEQVR4nO2dvbHcuBJGGYF8Vclcd61XpVKNtebmIOdaNBXDenInD/mThgKYJJTBfQaHJH66G7/kkHfOqTVWlyQIghh87EYDPQwduFzv7w/u14tzYLy9RzhneIf9K5sYb+/v77cx/JN3B6fO2v0v13tYTMZRr+CODwUAAAAAAAAAAAAAAAAAAAAAPUmGrkxhIF58iBQNo8eXbIFQqSaEQJvSymgNYR8FAIC9uVzvvuBdLpH4PYTOHLPH297BkYcSv5W6KFMAANiPnLF4vL3fronzLtf76dcFIH4AAK/B5XpP2WuTRZce0c8/oCN+AAAvwTwSr/N3oRKOt2moNsfs8dZzOI8WtM9/fNzEnz/zz3yI+fQ89+tl9thmWaXLPdw7WJN38kPXiV/TjgHh/CviCgBgMA/l82A53t6jPVwcxVEH+74eT8EcXSsS/jUWv8fzjLf39/v9fhuzja1J/K7O4/i2YDA7qhmKFeLnt3vZXOZ0tr/9TTxrCwAAC5PF4A6z7ojuipA+ovc1+9ZahLVSrCVB/KYznYPK5VJxQYHuHaK7KepXLH5RyJHwF7vSWHoAAA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X76fb04o0/Dj2+e+E1HD6B8Q9HwF/fj+pKbeIr4iX6vspVP6egMrVD76DB80Hx+AomsisFbiu9YlUmOfH7S69XFzytbql9lPr+U+A2DMPMX22d1Sx28GbLSAEV7ezNNSJRZTPF5VeH01zysrffZLzAop0H8BnevuG/DF7eo1AIMADgVZHUA0GChPcCHBfEDmPny2TOLcyODAOB8IH4AM9YKCgAAANgDP05g9215RfbPrHbML/ScrGzOOWcIc03GnQzD4CwbL0nFAwBQwNFSlwmLf3ao3jHFLySUgijm/ElKUReyqPe85Tl3evsA8Cr8H9aMDXbQA5lIAAAAAElFTkSuQmCC" alt="" />
将tar包转移到/data1/guosong/rpmbuild/SOURCES目录下
*在/data1/guosong/rpmbuild/SPECS目录下编写spec文件
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Summary: hello world rpm package
Name: hello
Version: 0.1
Release:
#文件名必须保持一致
Source: hello-0.1.tar.gz
License: GPL
Packager: guosong
Group: Application %description
This is a simple example for rpm package! %prep
%setup -q %build
gcc -o hello hello.c %install mkdir -p %{buildroot}/usr/local/bin
install -m hello %{buildroot}/usr/local/bin/hello %files
# 这里的路径是在buildroot虚拟根基础上的,即%{buildroot}/%{name}-%{version}-%{release}-root/usr/local/bin/hello
/usr/local/bin/hello
spec文件解释说明:
http://www.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html
http://cpbest.blog.163.com/blog/static/412415192009917477295/
*制作rpm包
rpmbuild -bb hello.spec
输出的日志如下:
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.
+ umask
+ cd /data1/guosong/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /data1/guosong/rpmbuild/BUILD
+ rm -rf hello-0.1
+ /bin/gzip -dc /data1/guosong/rpmbuild/SOURCES/hello-0.1.tar.gz
+ tar -xf -
+ STATUS=
+ '[' -ne ']'
+ cd hello-0.1
++ /usr/bin/id -u
+ '[' = ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' = ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.
+ umask
+ cd /data1/guosong/rpmbuild/BUILD
+ cd hello-0.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ gcc -o hello hello.c
+ exit
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.
+ umask
+ cd /data1/guosong/rpmbuild/BUILD
+ cd hello-0.1
+ LANG=C
+ export LANG
+ unset DISPLAY
+ mkdir -p /var/tmp/hello-0.1--root/usr/local/bin
+ install -m hello /var/tmp/hello-0.1--root/usr/local/bin/hello
+ /usr/lib/rpm/find-debuginfo.sh /data1/guosong/rpmbuild/BUILD/hello-0.1
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-python-bytecompile
+ /usr/lib/rpm/redhat/brp-java-repack-jars
Processing files: hello-0.1-
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.- rpmlib(PayloadFilesHavePrefix) <= 4.0-
Requires: libc.so.()(64bit) libc.so.(GLIBC_2.2.5)(64bit) rtld(GNU_HASH)
Processing files: hello-debuginfo-0.1-
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.- rpmlib(PayloadFilesHavePrefix) <= 4.0-
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/hello-0.1--root
Wrote: /data1/guosong/rpmbuild/RPMS/x86_64/hello-0.1-1.x86_64.rpm
Wrote: /data1/guosong/rpmbuild/RPMS/x86_64/hello-debuginfo-0.1-1.x86_64.rpm
*测试安装
[root@typhoeus79 x86_64]# rpm -qps hello-0.1-.x86_64.rpm
normal /usr/local/bin/hello
[root@typhoeus79 x86_64]# rpm -ivh hello-0.1-.x86_64.rpm
Preparing... ########################################### [%]
package hello-0.1-.x86_64 is already installed
说明已经安装过了,重新删除再次测试安装
[root@typhoeus79 x86_64]# rpm -e hello
[root@typhoeus79 x86_64]# echo $? [root@typhoeus79 x86_64]# hello
bash: /usr/local/bin/hello: No such file or directory
[root@typhoeus79 x86_64]# rpm -ivh hello-0.1-.x86_64.rpm
Preparing... ########################################### [%]
:hello ########################################### [%]
[root@typhoeus79 x86_64]# hello
Hello, World!
【参考文献】
http://blog.csdn.net/king_on/article/details/7169384
http://www.thegeekstuff.com/2011/08/yum-command-examples/
http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment
http://www.rpm.org/max-rpm/s1-rpm-build-creating-spec-file.html
http://cpbest.blog.163.com/blog/static/412415192009917477295/
rpm打包过程的更多相关文章
- 【centos7常用技巧】RPM打包
一.RPM打包的目的 1.当目标机中不存在编译环境时,可以先在本地环境中编译打包,然后直接在目标机中用rpm -ivh *.rpm安装即可. 2.当需要在目标机中安装多个软件或者增加多个文件时,可以将 ...
- RPM打包原理、示例、详解及备查
原文地址:https://blog.csdn.net/qq_16542775/article/details/80961213 RPM(Redhat Package Manager)是用于Redhat ...
- Linux 下RPM打包制作流程
原文地址:https://www.cnblogs.com/postgres/p/5726339.html 开始前的准备 安装rpmbuild软件包 yum -y install rpm-build 生 ...
- RPM打包原理、示例、详解及备查( 转)
RPM(Redhat Package Manager)是用于Redhat.CentOS.Fedora等Linux 分发版(distribution)的常见的软件包管理器.因为它允许分发已编译的软件,所 ...
- RPM 打包技术与典型 SPEC 文件分析
一 .rpm 介绍 1. 概述 RPM全称是 Red Hat Package Manager(Red Hat包管理器).几乎所有的 Linux 发行版本都使用这种形式的软件包管理安装.更新和卸载软件. ...
- 在Linux下通过rpm打包发布Java程序
这个东西涉及的内容较多,根据下面这些文章慢慢学习 一个简单的例子 http://blog.csdn.net/king_on/article/details/7169384 按照文章中的步骤来,打包之后 ...
- Centos6_64 rpm打包实践
安装rpmbuild sudo yum install rpm-build 普通用户的配置 /home/you/rpmbuild/ 假设是要构建rpm的目录 先说说rpmbuild有什么用,给一个例子 ...
- Android应用程序(APK)的编译打包过程
(9878) (7) 现在很多人想对Android工程的编译和打包进行自动化,比如建立每日构建系统.自动生成发布文件等等.这些都需要我们对Android工程的编译和打包有一个深入的理解,至少要知道它的 ...
- iOS 用命令实现简单的打包过程
`xcode-select --print-path`/Platforms/iPhoneOS.platform/Developer/usr/bin/PackageApplication // 获得打包 ...
随机推荐
- ASP.NET没有魔法——ASP.NET MVC 与数据库之Entity Framework Migrations
在开发数据库应用程序的时候,经常会遇到某些表需要添加字段或者修改类型.新增表等需求,而对于EF Code First来说关注的只有实体类,当需求变更时只需要添加新的实体类或者在实体类中添加.删除.修改 ...
- mysql explain 分析sql语句
鉴于最近做的事情,需要解决慢sql的问题,现补充一点sql语句性能分析之explain的使用方式! 综合返回数据情况,分析各个参数,可以了解sql 使用方法:explain + sql语句 如 :e ...
- 【转】ATA Secure Erase
ATA Secure Erase This procedure describes how to use the hdparm command to issue a Secure Erase ...
- Ubuntu/deppin 系统安装Nginx
Ubuntu/deppin 系统安装Nginx 添加密钥 打开Nginx官网 ,并找到如下位置: 在桌面新建"nginx_signing.key"文件,文件内容为请点击图1中的标注 ...
- 求最小生成树——Kruskal算法
给定一个带权值的无向图,要求权值之和最小的生成树,常用的算法有Kruskal算法和Prim算法.这篇文章先介绍Kruskal算法. Kruskal算法的基本思想:先将所有边按权值从小到大排序,然后按顺 ...
- LeetCode 381. Insert Delete GetRandom O(1) - Duplicates allowed (插入删除和获得随机数 常数时间 允许重复项)
Design a data structure that supports all following operations in average O(1) time. Note: Duplicate ...
- python常用模块上篇
python常见模块 分两篇分别介绍下述模块 time模块 random模块 hashlib模块 os模块 sys模块 logging模块 序列号模块 configparser模块 re模块 time ...
- [翻译]欢迎来到 C# 7.1
[翻译]欢迎来到 C# 7.1 原文: Welcome to C# 7.1 在 C# 中,我们一直倾向于主要版本:捆绑了很多功能,并且不太频繁地发布.当我们谈到 C#6.0时,我们甚至还经常忽略掉后面 ...
- fiddler学习资源
小坦克 fiddler教程:http://www.cnblogs.com/TankXiao/archive/2012/04/25/2349049.htmlps:另外博主其他测试文章也值得一看 涂根 ...
- 深度揭秘ES6代理Proxy
最近在博客上看到关于ES6代理的文章都是一些关于如何使用Proxy的例子,很少有说明Proxy原理的文章,要知道只有真正掌握了一项技术的原理,才能够写出精妙绝伦的代码,所以我觉得有必要写一篇关于深刻揭 ...