tachtler:installation_von_python3_in_centos_7
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
tachtler:installation_von_python3_in_centos_7 [2019/09/06 15:48] – klaus | tachtler:installation_von_python3_in_centos_7 [2019/12/07 07:45] (aktuell) – [Eclipse IDE - Python] klaus | ||
---|---|---|---|
Zeile 20: | Zeile 20: | ||
Nachfolgend soll das Repository des Drittanbieters [[https:// | Nachfolgend soll das Repository des Drittanbieters [[https:// | ||
* [[tachtler: | * [[tachtler: | ||
+ | |||
+ | ===== Installation ===== | ||
+ | |||
+ | Zur Installation von [[https:// | ||
+ | * **'' | ||
+ | * **'' | ||
+ | * **'' | ||
+ | * **'' | ||
+ | enthalten | ||
+ | |||
+ | Mit nachfolgendem Befehl, wird das Pakete **'' | ||
+ | < | ||
+ | # yum install -y python36 python36-libs python36-devel python36-pip | ||
+ | Loaded plugins: changelog, langpacks, priorities | ||
+ | adobe-linux-x86_64 | ||
+ | base | 3.6 kB | ||
+ | epel | 5.3 kB | ||
+ | extras | ||
+ | mailserver.guru-os | ||
+ | teamviewer | ||
+ | updates | ||
+ | (1/3): teamviewer/ | ||
+ | (2/3): epel/ | ||
+ | (3/3): epel/ | ||
+ | 325 packages excluded due to repository priority protections | ||
+ | Resolving Dependencies | ||
+ | --> Running transaction check | ||
+ | ---> Package python36.x86_64 0: | ||
+ | ---> Package python36-devel.x86_64 0: | ||
+ | --> Processing Dependency: python-rpm-macros for package: python36-devel-3.6.8-1.el7.x86_64 | ||
+ | --> Processing Dependency: python3-rpm-macros for package: python36-devel-3.6.8-1.el7.x86_64 | ||
+ | --> Processing Dependency: redhat-rpm-config for package: python36-devel-3.6.8-1.el7.x86_64 | ||
+ | ---> Package python36-libs.x86_64 0: | ||
+ | ---> Package python36-pip.noarch 0: | ||
+ | --> Processing Dependency: python36-setuptools for package: python36-pip-8.1.2-8.el7.noarch | ||
+ | --> Running transaction check | ||
+ | ---> Package python-rpm-macros.noarch 0:3-25.el7 will be installed | ||
+ | --> Processing Dependency: python-srpm-macros for package: python-rpm-macros-3-25.el7.noarch | ||
+ | ---> Package python3-rpm-macros.noarch 0:3-25.el7 will be installed | ||
+ | ---> Package python36-setuptools.noarch 0: | ||
+ | ---> Package redhat-rpm-config.noarch 0: | ||
+ | --> Processing Dependency: dwz >= 0.4 for package: redhat-rpm-config-9.1.0-87.el7.centos.noarch | ||
+ | --> Processing Dependency: perl-srpm-macros for package: redhat-rpm-config-9.1.0-87.el7.centos.noarch | ||
+ | --> Running transaction check | ||
+ | ---> Package dwz.x86_64 0: | ||
+ | ---> Package perl-srpm-macros.noarch 0:1-8.el7 will be installed | ||
+ | ---> Package python-srpm-macros.noarch 0:3-25.el7 will be installed | ||
+ | --> Finished Dependency Resolution | ||
+ | |||
+ | Changes in packages about to be updated: | ||
+ | |||
+ | |||
+ | Dependencies Resolved | ||
+ | |||
+ | ================================================================================ | ||
+ | | ||
+ | Size | ||
+ | ================================================================================ | ||
+ | Installing: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | Installing for dependencies: | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | Transaction Summary | ||
+ | ================================================================================ | ||
+ | Install | ||
+ | |||
+ | Total download size: 12 M | ||
+ | Installed size: 51 M | ||
+ | Downloading packages: | ||
+ | (1/11): perl-srpm-macros-1-8.el7.noarch.rpm | ||
+ | (2/11): python-rpm-macros-3-25.el7.noarch.rpm | ||
+ | (3/11): dwz-0.11-3.el7.x86_64.rpm | ||
+ | (4/11): python-srpm-macros-3-25.el7.noarch.rpm | ||
+ | (5/11): python3-rpm-macros-3-25.el7.noarch.rpm | ||
+ | (6/11): python36-3.6.8-1.el7.x86_64.rpm | ||
+ | (7/11): python36-devel-3.6.8-1.el7.x86_64.rpm | ||
+ | (8/11): python36-pip-8.1.2-8.el7.noarch.rpm | ||
+ | (9/11): python36-setuptools-39.2.0-3.el7.noarch.rpm | ||
+ | (10/11): redhat-rpm-config-9.1.0-87.el7.centos.noarch.rpm | ||
+ | (11/11): python36-libs-3.6.8-1.el7.x86_64.rpm | ||
+ | -------------------------------------------------------------------------------- | ||
+ | Total 8.6 MB/s | 12 MB 00:01 | ||
+ | Running transaction check | ||
+ | Running transaction test | ||
+ | Transaction test succeeded | ||
+ | Running transaction | ||
+ | Installing : python36-libs-3.6.8-1.el7.x86_64 | ||
+ | Installing : python36-3.6.8-1.el7.x86_64 | ||
+ | Installing : python36-setuptools-39.2.0-3.el7.noarch | ||
+ | Installing : python3-rpm-macros-3-25.el7.noarch | ||
+ | Installing : dwz-0.11-3.el7.x86_64 | ||
+ | Installing : perl-srpm-macros-1-8.el7.noarch | ||
+ | Installing : redhat-rpm-config-9.1.0-87.el7.centos.noarch | ||
+ | Installing : python-srpm-macros-3-25.el7.noarch | ||
+ | Installing : python-rpm-macros-3-25.el7.noarch | ||
+ | Installing : python36-devel-3.6.8-1.el7.x86_64 | ||
+ | Installing : python36-pip-8.1.2-8.el7.noarch | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | Verifying | ||
+ | |||
+ | Installed: | ||
+ | python36.x86_64 0: | ||
+ | python36-libs.x86_64 0: | ||
+ | |||
+ | Dependency Installed: | ||
+ | dwz.x86_64 0: | ||
+ | perl-srpm-macros.noarch 0: | ||
+ | python-rpm-macros.noarch 0: | ||
+ | python-srpm-macros.noarch 0: | ||
+ | python3-rpm-macros.noarch 0: | ||
+ | python36-setuptools.noarch 0: | ||
+ | redhat-rpm-config.noarch 0: | ||
+ | |||
+ | Complete! | ||
+ | </ | ||
+ | |||
+ | Mit nachfolgendem Befehl kann überprüft werden, welche Inhalte mit den Paket **'' | ||
+ | < | ||
+ | # rpm -qil python36 | ||
+ | Name : python36 | ||
+ | Version | ||
+ | Release | ||
+ | Architecture: | ||
+ | Install Date: Fri 06 Sep 2019 03:35:15 PM CEST | ||
+ | Group : Unspecified | ||
+ | Size : 39976 | ||
+ | License | ||
+ | Signature | ||
+ | Source RPM : python36-3.6.8-1.el7.src.rpm | ||
+ | Build Date : Thu 25 Apr 2019 11:52:31 PM CEST | ||
+ | Build Host : buildvm-14.phx2.fedoraproject.org | ||
+ | Relocations : (not relocatable) | ||
+ | Packager | ||
+ | Vendor | ||
+ | URL : https:// | ||
+ | Bug URL : https:// | ||
+ | Summary | ||
+ | Description : | ||
+ | Python is an accessible, high-level, dynamically typed, interpreted programming | ||
+ | language, designed with an emphasis on code readability. | ||
+ | It includes an extensive standard library, and has a vast ecosystem of | ||
+ | third-party libraries. | ||
+ | |||
+ | The python36 package provides the " | ||
+ | interpreter for the Python language, version 3. | ||
+ | The majority of its standard library is provided in the python36-libs package, | ||
+ | which should be installed automatically along with python36. | ||
+ | The remaining parts of the Python standard library are broken out into the | ||
+ | python36-tkinter and python36-test packages, which may need to be installed | ||
+ | separately. | ||
+ | |||
+ | Documentation for Python is provided in the python36-docs package. | ||
+ | |||
+ | Packages containing additional libraries for Python are generally named with | ||
+ | the " | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | Zum Abschluss kann mit nachfolgendem Befehl überprüft werden, ob ein Aufruf möglich ist und [[https:// | ||
+ | < | ||
+ | # / | ||
+ | Python 3.6.8 | ||
+ | </ | ||
+ | |||
+ | ==== Eclipse IDE - Python ==== | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | ^ Beschreibung | ||
+ | | Homepage | ||
+ | | Dokumentation | ||
+ | | Herunterladen | ||
+ | |||
+ | Um in [[http:// | ||
+ | |||
+ | Dazu muss **__innerhalb__** von [[http:// | ||
+ | |||
+ | {{: | ||
+ | |||
+ | In dem sich neu öffnenden Dialogfenster **muss** nun im Eingabefeld **[Find|Suche]** nachfolgender Suchbegriff eingegeben werden: | ||
+ | * **'' | ||
+ | und dies durch drücken der **[Enter|Return|Eingabe]**-Taste bestätigt werden, so dass nachfolgende Suchtrefferauswahl erscheinen sollte, wie in nachfolgender Bildschirmkopie dargestellt: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Als nächstes wird die Schaltfläche **[Install|Installieren]**, | ||
+ | * **'' | ||
+ | ausgewählt, | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Durch drücken der Schaltfläche **[Confirm > | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Durch Auswahl der Radio-Schaltfläche **[I accept the terms of the licence agreement|Ich akzeptiere die Lizenz-Bedingungen]**, | ||
+ | |||
+ | {{: | ||
tachtler/installation_von_python3_in_centos_7.1567777694.txt.gz · Zuletzt geändert: 2019/09/06 15:48 von klaus