[root@fedora25 ~]# cat /etc/*release Fedora release 25 (Twenty Five) NAME=Fedora VERSION="25 (Workstation Edition)" ID=fedora VERSION_ID=25 PRETTY_NAME="Fedora 25 (Workstation Edition)" ANSI_COLOR="0;34" CPE_NAME="cpe:/o:fedoraproject:fedora:25" HOME_URL="https://fedoraproject.org/" BUG_REPORT_URL="https://bugzilla.redhat.com/" REDHAT_BUGZILLA_PRODUCT="Fedora" REDHAT_BUGZILLA_PRODUCT_VERSION=25 REDHAT_SUPPORT_PRODUCT="Fedora" REDHAT_SUPPORT_PRODUCT_VERSION=25 PRIVACY_POLICY_URL=https://fedoraproject.org/wiki/Legal:PrivacyPolicy VARIANT="Workstation Edition" VARIANT_ID=workstation Fedora release 25 (Twenty Five) Fedora release 25 (Twenty Five) [root@fedora25 ~]# root@fedora25 ~]# rpm -qa|grep python python3-blockdev-1.9-10.fc25.x86_64 libpeas-loader-python3-1.20.0-3.fc25.x86_64 python3-gobject-3.22.0-1.fc25.x86_64 python-enum34-1.0.4-6.fc25.noarch python3-caribou-0.4.21-1.fc25.noarch python3-kickstart-2.32-1.fc25.noarch python3-3.5.3-4.fc25.x86_64 python3-pycurl-7.43.0-4.fc25.x86_64 python3-brlapi-0.6.5-2.fc25.x86_64 python2-crypto-2.6.1-13.fc25.x86_64 python3-cups-1.9.72-9.fc25.x86_64 python3-lxml-3.7.2-1.fc25.x86_64 python3-hawkey-0.6.4-3.fc25.x86_64 libreport-python3-2.8.0-1.fc25.x86_64 python3-wrapt-1.10.10-1.fc25.x86_64 policycoreutils-python-2.5-20.fc25.x86_64 python2-cffi-1.7.0-2.fc25.x86_64 python3-pyxdg-0.25-10.fc25.noarch python3-blivet-2.1.6-4.fc25.noarch python-libs-2.7.13-1.fc25.x86_64 python3-pid-2.0.1-5.fc25.noarch python3-libxml2-2.9.4-2.fc25.x86_64 abrt-addon-python3-2.9.0-1.fc25.x86_64 libselinux-python3-2.5-13.fc25.x86_64 libselinux-python-2.5-13.fc25.x86_64 python3-pysocks-1.5.6-5.fc25.noarch python3-sssdconfig-1.15.2-2.fc25.noarch python2-ply-3.8-2.fc25.noarch python3-setuptools-25.1.1-1.fc25.noarch python3-slip-dbus-0.6.4-4.fc25.noarch newt-python3-0.52.19-2.fc25.x86_64 python3-libcomps-0.1.7-5.fc25.x86_64 python3-pytz-2016.6.1-1.fc25.noarch python3-decorator-4.0.11-1.fc25.noarch python3-librepo-1.7.18-3.fc25.x86_64 system-python-3.5.3-4.fc25.x86_64 libsemanage-python3-2.5-9.fc25.x86_64 python3-dnf-plugins-core-0.1.21-5.fc25.noarch python-gssapi-1.2.0-5.fc25.x86_64 python3-enchant-1.6.8-1.fc25.noarch python3-pyparted-3.10.7-4.fc25.x86_64 python3-pyatspi-2.20.3-1.fc25.noarch python2-decorator-4.0.11-1.fc25.noarch python2-paramiko-2.1.1-2.fc25.noarch python3-six-1.10.0-3.fc25.noarch python3-iniparse-0.4-20.fc25.noarch python3-markupsafe-0.23-10.fc25.x86_64 python3-requests-2.10.0-4.fc25.noarch langtable-python3-0.0.36-2.fc25.noarch python3-pygpgme-0.3-18.fc25.x86_64 audit-libs-python3-2.7.6-1.fc25.x86_64 python3-bytesize-0.7-5.fc25.x86_64 python-IPy-0.81-16.fc25.noarch python3-iscsi-initiator-utils-6.2.0.873-34.git4c1f2d9.fc25.x86_64 python3-mako-1.0.6-1.fc25.noarch python2-pyasn1-0.2.3-1.fc25.noarch python-systemd-doc-232-1.fc25.x86_64 python3-rpm-4.13.0.1-1.fc25.x86_64 python3-dbus-1.2.4-2.fc25.x86_64 python3-systemd-232-1.fc25.x86_64 python3-beaker-1.5.4-14.fc25.noarch python3-urllib3-1.15.1-3.fc25.noarch python3-inotify-0.9.6-6.fc25.noarch python-IPy-python3-0.81-16.fc25.noarch python3-beautifulsoup4-4.5.3-1.fc25.noarch python3-firewall-0.4.4.4-1.fc25.noarch python3-dnf-1.1.10-6.fc25.noarch policycoreutils-python-utils-2.5-20.fc25.x86_64 abrt-python3-2.9.0-1.fc25.x86_64 python3-meh-0.44-2.fc25.noarch python-six-1.10.0-3.fc25.noarch python-ipaddress-1.0.16-3.fc25.noarch python3-gobject-base-3.22.0-1.fc25.x86_64 python3-dmidecode-3.12.2-4.fc25.x86_64 python3-pyudev-0.21.0-1.fc25.noarch python3-louis-2.6.2-6.fc25.noarch python3-requests-file-1.4-4.fc25.noarch python3-ntplib-0.3.3-4.fc25.noarch python3-cssselect-0.9.2-1.fc25.noarch python3-libs-3.5.3-4.fc25.x86_64 python2-cryptography-1.5.3-3.fc25.x86_64 python3-ordered-set-2.0.0-4.fc25.noarch python3-coverage-4.2-1.fc25.x86_64 python-pycparser-2.14-7.fc25.noarch python2-idna-2.5-1.fc25.noarch python3-speechd-0.8.6-1.fc25.x86_64 python3-pip-8.1.2-2.fc25.noarch python3-slip-0.6.4-4.fc25.noarch python3-pillow-3.4.2-1.fc25.x86_64 python3-pwquality-1.3.0-6.fc25.x86_64 policycoreutils-python3-2.5-20.fc25.x86_64 python3-meh-gui-0.44-2.fc25.noarch python3-html5lib-0.999-9.fc25.noarch python3-requests-ftp-0.3.1-4.fc25.noarch audit-libs-python-2.7.6-1.fc25.x86_64 python3-cairo-1.10.0-17.fc25.x86_64 python3-javapackages-4.7.0-6.1.fc25.noarch python3-augeas-0.5.0-6.fc25.noarch python3-chardet-2.3.0-1.fc25.noarch python3-humanize-0.5.1-5.fc25.noarch libsemanage-python-2.5-9.fc25.x86_64 system-python-libs-3.5.3-4.fc25.x86_64 [root@fedora25 ~]# root@fedora25 ~]# yum install mysql-shell Redirecting to '/usr/bin/dnf install mysql-shell' (see 'man yum2dnf') Last metadata expiration check: 0:12:56 ago on Sat Apr 29 00:51:15 2017. Dependencies resolved. ================================================================================================================================================================================ Package Arch Version Repository Size ================================================================================================================================================================================ Installing: mysql-shell x86_64 1.0.9-1.fc25 mysql-tools-community 4.4 M Transaction Summary ================================================================================================================================================================================ Install 1 Package Total download size: 4.4 M Installed size: 16 M Is this ok [y/N]: y Downloading Packages: mysql-shell-1.0.9-1.fc25.x86_64.rpm 153 kB/s | 4.4 MB 00:29 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 152 kB/s | 4.4 MB 00:29 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Installing : mysql-shell-1.0.9-1.fc25.x86_64 1/1 Verifying : mysql-shell-1.0.9-1.fc25.x86_64 1/1 Installed: mysql-shell.x86_64 1.0.9-1.fc25 Complete! [root@fedora25 ~]# [root@fedora25 ~]# mysqlsh Welcome to MySQL Shell 1.0.9 Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type '\help', '\h' or '\?' for help, type '\quit' or '\q' to exit. Currently in JavaScript mode. Use \sql to switch to SQL mode and execute queries. mysql-js> \py Switching to Python mode... mysql-py> help() Welcome to Python 2.7! This is the online help utility. If this is your first time using Python, you should definitely check out the tutorial on the Internet at http://docs.python.org/2.7/tutorial/. Enter the name of any module, keyword, or topic to get help on writing Python programs and using Python modules. To quit this help utility and return to the interpreter, just type "quit". To get a list of available modules, keywords, or topics, type "modules", "keywords", or "topics". Each module also comes with a one-line summary of what it does; to list the modules whose summaries contain a given word such as "spam", type "modules spam". help> Traceback (most recent call last): File "", line 1, in File "/usr/lib64/python2.7/site.py", line 450, in __call__ return pydoc.help(*args, **kwds) File "/usr/lib64/python2.7/pydoc.py", line 1795, in __call__ self.interact() File "/usr/lib64/python2.7/pydoc.py", line 1807, in interact request = self.getline('help> ') File "/usr/lib64/python2.7/pydoc.py", line 1818, in getline return raw_input(prompt) AttributeError: 'module' object has no attribute 'readline' mysql-py>