Questions tagged [rpm]
RPM is a package management system intended primarily for Linux distributions.
1,094
questions
0
votes
0
answers
36
views
Keep only essential packages centos,Almalinux
In an attempt to learn more about Centos,Almalinux and its packages, I want to remove all non-essential packages, so I can install what I need, when I need them and know what they do.
When using ...
0
votes
0
answers
36
views
How to install an RPM file on CentOS into a custom location
On a CentOS 7.8 machine I install locally present RPM files usually with
sudo yum localinstall /path/to/file.rpm
Now I want to install a large RPM which yum lists as 1.1GB when it would install it.
...
1
vote
2
answers
48
views
Finding CentOS 7 Compatible Packages
I noticed that pkgs.org and similar platforms stopped hosting CentOS 7 packages.
Is there any other place to download CentOS 7 compatible RPM packages?
0
votes
1
answer
31
views
rpm -qa but filtering for partial package name match?
I'm learning about the rpm package manager command. I figured out how to use rpm -qa however the list exceeds the overflow of the SSH program so I can't see the entire list.
How do I use the rpm ...
0
votes
1
answer
22
views
How to resolve problems installing netplan rpm
I am attempting to install netplan on Rocky 9.3 which has no direct internet connection. So I am trying to install packages via rpm and if see a failed dependency find it and scp it to the PC (Intel ...
0
votes
1
answer
21
views
versionlock dependencies?
I'm on Rocky Linux 8.9. I've issued the command
dnf versionlock rubygem-rdoc-6.3.3-141.module+el8.6.0+1002+a7dba0ac.noarch
There are a lot of dependencies for this package. Do I have to also ...
3
votes
2
answers
260
views
giving variables a default value in a spec file
I have a spec (myspecfile.spec) file that looks similar to
Name: package-%{myname}
Version: %{myversion}
Release: %{myrelease}
License: gpl2
Summary: this is my package
BuildArch: noarch
%...
0
votes
1
answer
46
views
What is the standard way to enable/install packages in rocky linux?
I want to build a package for rockylinux of a project of mine:
https://github.com/eantoranz/gitmod
I was able to create packages for ubuntu, debian and fedora without much issues.... just install the ...
0
votes
1
answer
19
views
rpmbuild - how to force /usr prefix in install phase?
I have a very small app that I intend to package in deb and rpm files.
The project is here: https://github.com/eantoranz/gitmod
I have moved forward locally from what I have in the repo but it's not ...
0
votes
1
answer
27
views
Equivalent of dpkg-statoverride for RPM-based distros
If you just chmod a file installed by a package (e.g., chmod 4750 /usr/bin/foo), future updates to the package can wipe out your change. On deb-based distros like Debian and Ubuntu, dpkg-statoverride ...
0
votes
1
answer
23
views
Build only one package with rpm-build, and do not install additional build dependencies
I'm trying to build a rpm package partially. Take subversion for example, it would build these packages by default:
subversion-1.7.14-16.el7.x86_64.rpm
subversion-devel-1.7.14-16.el7.x86_64.rpm
...
0
votes
0
answers
35
views
How to Build a .pkg.tar.zst package from an RPM Structured Source?
Before converting to Arch Linux, I'm preparing for my frequently used software, and I nearly finds all alternative form for my daily used software, except for my Canon Printer driver. Fortunately, the ...
0
votes
1
answer
31
views
RPM upgrade two servers with same packages on different days
I have two servers called test and prod and they have exactly the same packages installed.
On day 1 I dnf upgrade server test and then test if the installation vent good.
If the test vent good I do an ...
1
vote
3
answers
162
views
How to recover from deleted /var/lib/rpm/ SQL database rpm files?
I am on a Fedora Linux machine and made a terrible mistake by accidentally deleting the rpm SQL database files located in /var/lib/rpm. I am not even sure what these files are used for. It seems to be ...
0
votes
0
answers
17
views
Custom package security metadata (RPM)
I'm extremely new to packaging RPM's. I have an internal yum repository that I have RPM's for internal SSL certificates, but a few other programs/utilities that are simple enough to package that I can'...