Page 1 of 1

CentOS 8 Trouble Installing PowerTools Packages

Posted: 2019/11/04 17:43:15
by pstieber
I have a fresh CentOS 8 install and I believe I have the PowerTools repo setup properly, but when I attempt to install one of the packages, yum/dnf says it cannot be found:

Code: Select all

sudo dnf install antlr-C++
CentOS-8 - AppStream                                                                     969 kB/s | 6.3 MB     00:06
CentOS-8 - Base                                                                          1.3 MB/s | 7.9 MB     00:06
CentOS-8 - Extras                                                                        649  B/s | 2.1 kB     00:03
CentOS-8 - PowerTools                                                                    378 kB/s | 1.8 MB     00:04
Extra Packages for Enterprise Linux 8 - x86_64                                           231 kB/s | 3.2 MB     00:14
github_git-lfs                                                                           2.8 kB/s |  12 kB     00:04
github_git-lfs-source                                                                    237  B/s | 1.9 kB     00:08
RPM Fusion for EL 8 - Free - Updates                                                      37 kB/s | 151 kB     00:04
RPM Fusion for EL 8 - Nonfree - Updates                                                   14 kB/s |  56 kB     00:04
No match for argument: antlr-C++
Error: Unable to find a match
It looks like this should be available:

https://centos.pkgs.org/8/centos-powertools-x86_64/

Any ideas?

Re: CentOS 8 Trouble Installing PowerTools Packages

Posted: 2019/11/04 20:17:07
by TrevorH
It's a module and part of javapackages-tools so dnf module enable javapackages-tools and then you can dnf install it.

Re: CentOS 8 Trouble Installing PowerTools Packages

Posted: 2019/11/05 16:05:41
by pstieber
Thank you Trevor!