3
votes
1answer
30 views

How can I tell whether a package is installed via yum in a bash script?

I am trying to write a script that installs packages, but if it fails at any point later in the script rolls back whatever it installed. Of course if the user has already previously installed a ...
1
vote
1answer
115 views

Update a Red Hat repo with no packages

I'm attempting to install a handful of packages on my RHEL 5.10 (Tikanga) server, however I'm prevented from doing this because of an installed repo with zero packages. When I do yum repolist, it ...
0
votes
2answers
139 views

Install multiple packages via different methods in one Yum command

Is it possible to group these three commands into one? yum install emacs yum groupinstall "Virtualization" yum localinstall /tmp/hello.rpm I'd like to install a number of packages using all three ...
3
votes
1answer
465 views

Error while loading shared libraries after installing a program

I was installing rfc5766-turn-server. But it fails to launch with an error: error while loading shared libraries: libevent_core-2.0.so.5: cannot open shared object file: No such file or directory ...
0
votes
0answers
56 views

RedHat server packages are never found

I set up a virtual server Red Hat machine but every time I try to use the "yum" command to install new packages, the command works properly but it is never been able to find any package even the ...
3
votes
2answers
994 views

CentOS: Install packages listed in a text file?

I have an existing CentOS installation which I'd like to install extra packages to. The packages to be installed were supplied to me in a list, one package per line, which looks like: .... ...