Installing LAMP stack - problems with installing MySQL
by nkamp from LinuxQuestions.org on (#4WHPT)
Hello,
I'm new in Linux land. Normally I have installed XAMPP under windows10. Now I like to start with Linux by learning it on the job.
I have installed fedora 31.
Now I try to installing the LAMP stack by following this:
Beneath I have put my terminal output "....conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64".
The next step "sudo vim /etc/my.cnf.d/mariadb-server.cnf" is also not available
My Question is, how can I resolve this to make progress?
Can someone help me and/or put me in a direction so that I get futher?
Thanks in advance.
Nico
==================================================================================================== ==========
Code:============================================================================================
Package Architecture Version Repository Size
============================================================================================
Installing:
MariaDB-server x86_64 10.4.11-1.fc30 mariadb 25 M
Installing dependencies:
MariaDB-client x86_64 10.4.11-1.fc30 mariadb 11 M
MariaDB-common x86_64 10.4.11-1.fc30 mariadb 81 k
galera-4 x86_64 26.4.3-1.fc30.fc30 mariadb 14 M
perl-Math-Complex noarch 1.59-449.fc31 updates 58 k
boost-program-options x86_64 1.69.0-9.fc31 fedora 161 k
perl-DBI x86_64 1.642-5.fc31 fedora 701 k
perl-Math-BigInt noarch 1:1.9998.16-439.fc31 fedora 185 k
Transaction Summary
============================================================================================
Install 8 Packages
Total size: 51 M
Installed size: 199 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] MariaDB-client-10.4.11-1.fc30.x86_64.rpm: Already downloaded
[SKIPPED] MariaDB-common-10.4.11-1.fc30.x86_64.rpm: Already downloaded
[SKIPPED] MariaDB-server-10.4.11-1.fc30.x86_64.rpm: Already downloaded
[SKIPPED] galera-4-26.4.3-1.fc30.fc30.x86_64.rpm: Already downloaded
[SKIPPED] perl-Math-Complex-1.59-449.fc31.noarch.rpm: Already downloaded
[SKIPPED] boost-program-options-1.69.0-9.fc31.x86_64.rpm: Already downloaded
[SKIPPED] perl-DBI-1.642-5.fc31.x86_64.rpm: Already downloaded
[SKIPPED] perl-Math-BigInt-1.9998.16-439.fc31.noarch.rpm: Already downloaded
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
file /usr/bin/mysql from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/bin/mysqladmin from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/bin/mysqlbinlog from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/bin/mysqlcheck from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/bin/mysqldump from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/bin/mysqlimport from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/bin/mysqlshow from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/bin/mysqlslap from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/share/man/man1/mysql.1.gz from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/share/man/man1/mysqladmin.1.gz from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/share/man/man1/mysqlbinlog.1.gz from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/share/man/man1/mysqlcheck.1.gz from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/share/man/man1/mysqldump.1.gz from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/share/man/man1/mysqlimport.1.gz from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/share/man/man1/mysqlshow.1.gz from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/share/man/man1/mysqlslap.1.gz from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64


I'm new in Linux land. Normally I have installed XAMPP under windows10. Now I like to start with Linux by learning it on the job.
I have installed fedora 31.
Now I try to installing the LAMP stack by following this:
- https://computingforgeeks.com/how-to...l-8-on-fedora/
https://computingforgeeks.com/how-to...ack-on-fedora/.
Beneath I have put my terminal output "....conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64".
The next step "sudo vim /etc/my.cnf.d/mariadb-server.cnf" is also not available
My Question is, how can I resolve this to make progress?
Can someone help me and/or put me in a direction so that I get futher?
Thanks in advance.
Nico
==================================================================================================== ==========
Code:============================================================================================
Package Architecture Version Repository Size
============================================================================================
Installing:
MariaDB-server x86_64 10.4.11-1.fc30 mariadb 25 M
Installing dependencies:
MariaDB-client x86_64 10.4.11-1.fc30 mariadb 11 M
MariaDB-common x86_64 10.4.11-1.fc30 mariadb 81 k
galera-4 x86_64 26.4.3-1.fc30.fc30 mariadb 14 M
perl-Math-Complex noarch 1.59-449.fc31 updates 58 k
boost-program-options x86_64 1.69.0-9.fc31 fedora 161 k
perl-DBI x86_64 1.642-5.fc31 fedora 701 k
perl-Math-BigInt noarch 1:1.9998.16-439.fc31 fedora 185 k
Transaction Summary
============================================================================================
Install 8 Packages
Total size: 51 M
Installed size: 199 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] MariaDB-client-10.4.11-1.fc30.x86_64.rpm: Already downloaded
[SKIPPED] MariaDB-common-10.4.11-1.fc30.x86_64.rpm: Already downloaded
[SKIPPED] MariaDB-server-10.4.11-1.fc30.x86_64.rpm: Already downloaded
[SKIPPED] galera-4-26.4.3-1.fc30.fc30.x86_64.rpm: Already downloaded
[SKIPPED] perl-Math-Complex-1.59-449.fc31.noarch.rpm: Already downloaded
[SKIPPED] boost-program-options-1.69.0-9.fc31.x86_64.rpm: Already downloaded
[SKIPPED] perl-DBI-1.642-5.fc31.x86_64.rpm: Already downloaded
[SKIPPED] perl-Math-BigInt-1.9998.16-439.fc31.noarch.rpm: Already downloaded
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
file /usr/bin/mysql from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/bin/mysqladmin from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/bin/mysqlbinlog from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/bin/mysqlcheck from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/bin/mysqldump from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/bin/mysqlimport from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/bin/mysqlshow from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/bin/mysqlslap from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/share/man/man1/mysql.1.gz from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/share/man/man1/mysqladmin.1.gz from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/share/man/man1/mysqlbinlog.1.gz from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/share/man/man1/mysqlcheck.1.gz from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/share/man/man1/mysqldump.1.gz from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/share/man/man1/mysqlimport.1.gz from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/share/man/man1/mysqlshow.1.gz from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64
file /usr/share/man/man1/mysqlslap.1.gz from install of MariaDB-client-10.4.11-1.fc30.x86_64 conflicts with file from package mysql-community-client-8.0.18-1.fc31.x86_64