Skip to content

Commit

Permalink
Added CentOS 8 little readme
Browse files Browse the repository at this point in the history
  • Loading branch information
xvybihal committed Feb 18, 2020
1 parent 8f35948 commit e16750f
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions README.centos8
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Install rpm in CentOS 8

## Prereqs

You need at least these installed:
```
perl(Env::Path) is needed by perl-App-Cope-1.1-1.el8.noarch
perl(File::ShareDir) is needed by perl-App-Cope-1.1-1.el8.noarch
perl(IO::Pty) is needed by perl-App-Cope-1.1-1.el8.noarch
perl(IO::Stty) is needed by perl-App-Cope-1.1-1.el8.noarch
perl(List::MoreUtils) is needed by perl-App-Cope-1.1-1.el8.noarch
perl(Number::Format) is needed by perl-App-Cope-1.1-1.el8.noarch
perl(Regexp::Common) is needed by perl-App-Cope-1.1-1.el8.noarch
perl(Regexp::IPv6) is needed by perl-App-Cope-1.1-1.el8.noarch
```

You can try to install all of them via CPAN or endlessly google for their (s)rpms. Not all of them are in repos. I have been there, done that, and it sucks. So here is an easier way:

I have build these, attached into release assets:
```
rpm -Uvh perl-Env-Path-0.19-1.el8.noarch.rpm
rpm -Uvh perl-IO-Stty-0.03-10.el8.noarch.rpm
rpm -Uvh perl-Number-Format-1.73-14.el8.noarch.rpm
rpm -Uvh perl-Regexp-IPv6-0.03-11.el8.noarch.rpm
```

```
yum config-manager --set-enabled PowerTools && dnf update -y
```

You probably want `epel` enabled too.

```
dnf install perl-File-ShareDir perl-IO-Tty perl-List-MoreUtils perl-Regexp-Common -y
```

```
rpm -Uvh perl-App-Cope-1.1-1.el8.noarch.rpm
```

And have `PATH=$(cope_path.pl):$PATH` in your .bashrc, .bash_profile, or whatever :)


The src.rpm is also available.

0 comments on commit e16750f

Please sign in to comment.