Forem

ダニエリ for WoMakersCode

Posted on • Edited on

3

[Tutorial] Instalando o Python 3.7 e o IDLE no Linux (Ubuntu/Mint/distros derivadas do Debian) pelo terminal

No terminal digite o seguinte comando:

$ sudo apt install python3.7 python3.7-dev python3.7-venv python3-pip python3-tk idle-python3.7 build-essential python3-setuptools python3-wheel
Enter fullscreen mode Exit fullscreen mode
  • $ indica que você deve usar o usuário comum para fazer essa operação.

  • sudo serve para pedir permissões de administrador temporariamente.

  • apt do inglês, Advanced Package Tool, em português, Ferramenta de Empacotamento Avançada; é a ferramenta que nos ajuda na instalação, atualização e desinstalação de programas, entre outras funções.

  • install é o comando de instalar, indicando ao apt o que fazer.

Para verificar a versão instalada, basta digitar no terminal:

$ python3.7 -V
Enter fullscreen mode Exit fullscreen mode

Agora você pode usar o interpretador no modo interativo com o comando:

$ python3.7
Enter fullscreen mode Exit fullscreen mode

Ou se desejar executar um script com:

$ python3.7 nome_do_arquivo.py
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay