I would like to install a batch of openoffice.org-* packages from the yum repository. The catch is that I want to exclude the dozens of openoffice.org-langpack* files when I do it. I also don't want to have to run two commands (i.e. yum install openoffice.org-*;yum remove openoffice.org-lang*
). I've attempted to run the command yum install openoffice.org-[^l].*
without any luck, as it looks for a package labeled exactly as typed. What command can I run to achieve this?
Install yum packages based on regular expression
regular expressionsyum
Related Topic
- Yum: the same packages in two repositories, force to install the package from a different repo
- Centos – Removing yum repository in CentOS
- Yum – How to Force Yum to Ignore Exclude List
- Redhat – yum client doesn’t see new packages though server is updated
- Not able to install or update packages using Yum Local respository
- Linux – Install PHP 5.6 on CentOS 7 – No package php56 available – yum misconfiguration
- Python – why yum could not find the python-pip packages on some PCs
Best Answer
There are few problems that can't be solved with a healthy dose of awk-fu: