rpm

Is there a Maven plugin to fetch an rpm

风格不统一 提交于 2019-12-12 10:14:50
问题 As part of my current procedure, I have to do a Linux package fetch, followed by a Maven build. Is there a Maven plugin to fetch a Linux package ( rpm -i xxx or apt-get install xxx )? maven-exec-plugin enables this. but is there a more specialized plugin that wraps data on top? Note : - maven-rpm-plugin and maven-apt-plugin seem to allow you to create rpm packages, not to fetch them 来源: https://stackoverflow.com/questions/18554908/is-there-a-maven-plugin-to-fetch-an-rpm

Where does rpm look for dependencies?

夙愿已清 提交于 2019-12-12 07:49:13
问题 I have an rpm which I have build using rpmbuild. Lets say it is sample.rpm. It builds successfully. The rpm has and executable (let's call it init). When I try to install it using rpm -ivh sample.rpm it shows me failed dependencies. Let's say the error is Failed dependency for: example.so which means that rpm is not able to locate this shared object file. (even though the so file exists in the same directory). So, I install the rpm as rpm -ivh sample.rpm --nodeps (as I know that I have the

How do you make it so that cpack doesn't add required libraries to an RPM?

风流意气都作罢 提交于 2019-12-12 07:45:44
问题 I'm trying to convert our build system at work over to cmake and have run into an interesting problem with the RPMs that it generates (via cpack): It automatically adds all of the dependencies that it thinks your RPM has to its list of required libraries. In general, that's great, but in my case, it's catastrophic. Unfortunately, the development packages that we build end up getting installed with one our home-grown tool that uses rpm to install them in a separate RPM database from the system

Trying to install confluent platform (kafka) 3.1.1 on aws linux using yum. Getting PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”

荒凉一梦 提交于 2019-12-12 04:34:16
问题 I'm following the instructions linked in this wiki doc to install the confluent platform on my EC2 instance running amazon linux (version 2016.09). I did everything it says including: $ sudo rpm --import http://packages.confluent.io/rpm/3.1/archive.key Created /etc/yum.repos.d/confluent.repo with these contents: [Confluent.dist] name=Confluent repository (dist) baseurl=http://packages.confluent.io/rpm/3.1/6 gpgcheck=1 gpgkey=http://packages.confluent.io/rpm/3.1/archive.key enabled=1

Collect all rpm dependencies to deploy a project

做~自己de王妃 提交于 2019-12-12 03:48:46
问题 I need to deploy a software project (packaged as an rpm) from a developer machine into a server. I'm using Fedora 23, along with the dnf package manager. I have to collect all dependencies of my rpm before I deploy to the server. The server can't be connected to the internet due to internal regulation (But I can ssh onto it). Running repository mirrors, etc. is not an option. I'm afraid I just have to collect all dependencies on the developer machine, scp (or ansible) them to the server and

rpmbuild error file not found even though files are in the path

旧巷老猫 提交于 2019-12-12 02:56:58
问题 i did the following but gotten error when running rpmbuild Files are there in path Any help or hint are appreciated Thanks rpmbuild -vv --buildroot $PWD/root --target x86_64 -bb bin-show.spec Building target platforms: x86_64 Building for target x86_64 Processing files: helloworld-1.0-1.x86_64 error: File not found: /nobackup/username/prod/packaging/redhat/bin-show/root/etc/testpackage.conf RPM build errors: File not found: /nobackup/username/prod/packaging/redhat/bin-show/root/etc

Linux rpm命令详解

浪子不回头ぞ 提交于 2019-12-12 02:44:14
前言 rpm命令 是RPM软件包的管理工具。rpm原本是Red Hat Linux发行版专门用来管理Linux各项套件的程序,由于它遵循GPL规则且功能强大方便,因而广受欢迎。逐渐受到其他发行版的采用。RPM套件管理方式的出现,让Linux易于安装,升级,间接提升了Linux的适用度。 rpm常见命令参数 用法: rpm [选项...] -a:查询所有套件; -b<完成阶段><套件档>+或-t <完成阶段><套件档>+:设置包装套件的完成阶段,并指定套件档的文件名称; -c:只列出组态配置文件,本参数需配合"-l"参数使用; -d:只列出文本文件,本参数需配合"-l"参数使用; -e<套件档>或--erase<套件档>:删除指定的套件; -f<文件>+:查询拥有指定文件的套件; -h或--hash:套件安装时列出标记; -i:显示套件的相关信息; -i:<套件档>或--install<套件档>:安装指定的套件档; -l:显示套件的文件列表; -p:<套件档>+:查询指定的RPM套件档; -q:使用询问模式,当遇到任何问题时,rpm指令会先询问用户; -R:显示套件的关联性信息; -s:显示文件状态,本参数需配合"-l"参数使用; -U<套件档>或--upgrade<套件档>:升级指定的套件档; -v:显示指令执行过程; -vv:详细显示指令执行过程,便于排错。 常用的命令展示

Can't install MySQL 5.6 by RPM

家住魔仙堡 提交于 2019-12-12 02:29:15
问题 I'm trying to install MySQL 5.6 community edition from the RPM package I downloaded. I'm running on cloudera's CDH 4.5 virtual machine, which is CentOS 6.4. The VM came with MySQL 5.1.73 installed, the old versions of files seem to be blocking me from updating. I already did this: sudo yum remove mysql and that worked just fine, without a problem. Then I deleted everything in /usr/lib/mysql, aka the data directory. So then I tried installing the new version: [cloudera@localhost mysql]$ pwd

Centos7 安装Jenkins (rpm 方式)

旧巷老猫 提交于 2019-12-12 00:10:38
首先说明本教程基于jenkins 2.183,但是其他版本基本差不多,主要说一下其中比较坑的几点,做一个总结。 1.rpm 包的下载 从官网上下载rpm的速度简直让人不能忍受,所以千万不要去官网下载。推荐去: http://mirrors.jenkins-ci.org/status.html ,选择第一个清华大学的镜像站,再选择redhat,可以快速下载到最新的镜像。 2.安装 将rpm包上传至centos 中 (1)执行 rpm -ivh jenkins-2.183-1.1.noarch.rpm (2)修改 用户名和端口 vi /etc/sysconfig/jenkins 修改:JENKINS_USER = "xxx" 修改:JENKINS_PORT = "8888" (3)配置jdk路径 vi /etc/init.d/jenkins 在 candidates 后追加jdk 安装路径 /usr/local/bin/jdk1.8.0_162/bin/java (一直到jdk安装路径下的bin/java) (4) systemctl daemon-reload (5) systemctl start jenkins (6) 在浏览器访问ip:port 即可(在此之前需开放端口,如果是学习之用可关闭防火墙),如果此时提示 Please wait while Jenkins is

rpm包安装

心不动则不痛 提交于 2019-12-12 00:10:23
温馨小提示:more命令结束按Ctrl + z 也即万能结束键 1、设置光驱并挂载 2、在Packages当中寻找要安装的包 3、rpm包命名规则 bzip2 软件包名 1.0.5 软件版本 7 软件发布次数 e16_0适合的Linux平台 x86_64 适合的操作系统 4、rpm -ivh 包全名 -i 安装 -v显示详细信息 -h 显示详细进度 5、 rpm -Uvh -U升级 6、卸载 rpm -e 包名 --nodeps不检测依赖性,霸道的删除 7、查询是否安装 rpm -q 包名 查询已经安装的所有包 rpm -qa 8、查询软件信息 rpm -qi 包名 7、查询未安装包信息 rpm -qip 全包名 8、查询包中文件安装位置 rpm -ql 包名 -l 列表 9、 rpm -qf 系统文件名 -f 查看系统文件属于哪个软件包 10、rpm -qR 包名 -R查看软件包的信息 来源: https://www.cnblogs.com/bianfuxia/p/12026504.html