Questions tagged [yum]

yum is a software package manager that installs, updates, and removes packages on RPM-based systems.

yum is a software package manager that installs, updates, and removes packages on RPM-based systems. It automatically computes dependencies and figures out what things should occur to install packages. yum makes it easier to maintain groups of machines without having to manually update each one using rpm.

1853 questions
0
votes
1 answer

Verify yum repo for a application

Can we verify yum repo before installing any application using shell script . Need to verify 2 things 1.The connectivity from server to yum repo 2.All the dependency available on the repo and can be installed . I found a command **yum install…
user1726453
  • 41
  • 1
  • 9
0
votes
0 answers

"yum repolist" showing repo list but there is NO repo file in /etc/yum.repo.d

Could any one look into the issue and help ? I have a Red Hat server which has Red Hat subscription and I tried to get all Security patches list using /usr/bin/yum list-security --security. After executing above command, I see all the packages that…
Rohith
  • 1
  • 1
  • 1
0
votes
1 answer

How to create installer package in linux by using YUM or Apt package manager?

Need to create an Installer package in linux by using either YUM or apt Package manager
Gio gram
  • 11
  • 3
0
votes
1 answer

yum/repositories is not using sub-folders from source

I'm pretty much new to centOS. I was using Ubuntu for the last years. But I want to build an production openstack environment and switched os for this purpose. Now i have problems to came along with the yum-installer behaviour. On my centOS system,…
dominic
  • 143
  • 6
0
votes
1 answer

Installing NodeJS on Linux RHEL(Release 6.6(Santiago)?

I'm trying to Install NodeJS on Linux RHEL(Release 6.6(Santiago)? Nothing seems to work. I download and extract the file(v.6.3.1). The I try to install with the command sudo yum install package_name. Nothing I try is working.
0
votes
1 answer

how to install bind 9.9.8 or higher on CentOS 5.8

I am running a web server based on CentOS 5.8 and I need to upgrade my version of bind to make it PCI compliant. I'm currently running bind 9.3.6 and I need to have bind 9.9.8 or higher. I've tried yum update bind but apparently I already have the…
kent
  • 195
  • 1
  • 3
  • 11
0
votes
2 answers

Yum and RPM show that the number of installed packages is different

[root@study ~]# rpm -qa | wc -l 777 [root@study ~]# yum list installed | wc -l 1054 i want to know why different,shoud i get correct number of installed packages?
liang lei
  • 13
  • 6
0
votes
1 answer

How to build my own rpm file via omnibus, for example td-agent rpm

What I'd like to do: I'd like to run two versions of td-agent on CentOS 7.x. So, I'd like to register both default td-agent and td-agent-my-own in my yum repo server. And, for that, I'd like to create my own rpm file of td-agent;…
wiz
  • 2,887
  • 5
  • 18
  • 18
0
votes
2 answers

Yum downgrade when the newer release has an extra RPM

In the latest release I have added a new RPM. During upgrade from an older version, it works fine because I have added dependency in the spec file of the main RPM. Here is the dependency tree: Older release: RPM1 depends on RPM2 Newer release: RPM1…
0
votes
1 answer

Can yum abort package removal if there is any dependency in the script?

The clear answer is that you can use rpm -e . This will not remove any package if there are dependencies. My question would be is that possible with yum? If you do manually using yum, it is easy you can just type 'N' if dependencies…
laimison
  • 1,409
  • 3
  • 17
  • 39
0
votes
1 answer

Does yum upgrade a package changes the configuration?

I have a package name package-1.0-12 which is already installed on my redhat machine. I did many configuration changes in the files (which are part of the RPM). Now, my manager want to upgrade it. Will all those configuration changes remain same or…
Balasekhar Nelli
  • 1,177
  • 4
  • 18
  • 30
0
votes
1 answer

How to call yum install as a Makefile's target

How to create a Makefile's target that calls a specific yum install: yum install libarchive-devel.x86_64 but only if the desired package isn't yet installed. Maybe a yum list installed | grep libarchive to check... My goal is to call: sudo yum…
Rodrigo Gurgel
  • 1,696
  • 2
  • 15
  • 32
0
votes
1 answer

centOS Security Center yum install dependencies failing

I am running a centOS 7 virtual machine and trying to install an RPM package for Security Center 4.7.1. The yum installer fails to find the install packages for the dependencies libexpat and libreadline, however I do have expat and readline…
DanSuciu
  • 11
  • 1
0
votes
1 answer

-bash: php: command not found - Centos6.7

I have two versions of PHP installed on the server: $ find / -name php -type f result: /opt/rh/php54/root/usr/bin/php /opt/rh/php55/root/usr/bin/php I've added php54 path to ~/.bash_profile $ echo…
keeg
  • 3,990
  • 8
  • 49
  • 97
0
votes
1 answer

trying to install docker registry on fedora over digitalcloud

I'm trying to install docker registry on fedora 24 by using this command: yum install docker-registry all I get is this output: Yum command has been deprecated, redirecting to '/usr/bin/dnf install docker-registry'. See 'man dnf' and 'man yum2dnf'…