Skip to content

Commit de0a237

Browse files
michal-josef-spacekdveeden
authored andcommitted
Rewrite yum name to dnf
In all described systems is dnf actual tool to work with packages.
1 parent 29010dc commit de0a237

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

lib/DBD/mysql/INSTALL.pod

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ or L<Strawberry Perl|http://www.strawberryperl.com>.
4747
You need not install the actual MySQL database server, the
4848
client files and the development files are sufficient. For
4949
example, Fedora Linux distribution comes with RPM files
50-
(using YUM) B<mysql> and B<mysql-server> (use "yum search"
50+
(using DNF) B<mysql> and B<mysql-server> (use "dnf search"
5151
to find exact package names). These are sufficient, if the MySQL
5252
server is located on a foreign machine. You may also create client
5353
files by compiling from the MySQL source distribution and using
@@ -134,7 +134,9 @@ CentOS, and Fedora come with MySQL and DBD::mysql.
134134

135135
Use the following command to install DBD::mysql:
136136

137-
yum install "perl(DBD::mysql)"
137+
dnf install "perl(DBD::mysql)"
138+
139+
Previous name of installation command was C<yum>.
138140

139141

140142
=head2 Debian and Ubuntu
@@ -208,8 +210,8 @@ will work just as well.
208210
In this example we install and start a local server for running the
209211
tests against.
210212

211-
yum -y install make gcc mariadb-devel mariadb-libs mariadb-server
212-
yum -y install "perl(Test::Deep)" "perl(Test::More)"
213+
dnf -y install make gcc mariadb-devel mariadb-libs mariadb-server
214+
dnf -y install "perl(Test::Deep)" "perl(Test::More)"
213215
systemctl start mariadb.service
214216

215217

0 commit comments

Comments
 (0)