- Как установить IDLE (Python IDE) на Ubuntu 20.04
- Sublime Text
- PyCharm
- Установка IDLE на Ubuntu 20.04
- Запуск
- Первая программа на Python с использованием IDLE
- Ubuntu
- How to Install IDLE Python on Ubuntu 22.04 LTS
- Update Ubuntu
- Install IDLE Python IDE Editor
- Install IDLE Python 3.10
- Install IDLE Python 3.9
- Install IDLE Python 2.7
- How to Launch IDLE Python IDE Editor
- How to Update IDLE Python IDE Editor
- APT Update Method
- How to Remove (Uninstall) IDLE Python IDE Editor
- APT Remove Method IDLE Python 3.10
- APT Remove Method IDLE Python 3.9
- APT Remove Method IDLE Python 2.7
- Comments and Conclusion
- How to Install Python IDLE in Linux
- IDLE Features
- Install Python IDLE IDE in Linux
- Writing First Python Program Using IDLE
Как установить IDLE (Python IDE) на Ubuntu 20.04
IDLE расшифровывается как Integrated DeveLopment Environment (интегрированная среда разработки). Это IDE для Python, написанная на языке Python и основанная на Tkinter с привязками к набору виджетов Tk.
Среда IDLE проста в использовании, не перегружена функционалом, поэтому очень подходит для начинающих, хороша для детей, делающих первые шаги в программировании. Также популярна в образовательной среде из-за кроссплатформенности (Mac OS, Windows и Linux), быстрой установки, скорости освоения без необходимости затрата времени на изучение интерфейса.
IDLE поставляется с базовым функционалом:
- позволяет открывать и работать в нескольких окнах;
- подсветка синтаксиса;
- автозаполнение;
- интеллектуальные отступы и др. функции ввода, облегчающие написание кода;
- встроенный отладчик с пошаговым выполнением;
- точки останова;
- видимость стека вызовов.
На момент написания статья доступна последняя версия IDLE 3.10.4
Для опытных программистов лучше использовать более продвинутые редакторы:
Sublime Text
PyCharm
Установка IDLE на Ubuntu 20.04
Откройте терминал (горячие клавиши Ctrl+Alt+T):
$ sudo apt-get update
$ sudo apt-get install idle3
Запуск
Первая программа на Python с использованием IDLE
File → New File. В открывшемся окне нужно написать программу, сохранить файл и нажать F5 или Run → Run Module
Ubuntu
- Просмотр .chm файлов в Xubuntu 14.04 LTS (Trusty Tahr — Надёжный Тар)
- Запись CD, DVD и ISO-образа на Xubuntu 14.04 LTS
- Конвертер видео WinFF в Xubuntu 14.04 LTS
- Установка Crossover в Xubuntu 14.04 LTS
- Монтирование и запись ISO, MDF образов в Xubuntu Linux
- Установка программы Double Commander аналога Total Commander в XUbuntu 14.04
- Файловый менеджер Midnight Commander
- Выбор и установка офисного пакета LibreOffice в Xubuntu
- Установка браузера Google Chrome в Xubuntu 14.04 LTS
- Установка браузера Opera в Xubuntu 14.04 LTS
- Программа FSlint для поиска и удаления одинаковых файлов в Xubuntu 14.04
- Утилита QpxTool в Xubuntu 14.04 LTS
- Восстановление данных, улучшение читаемости на оптических дисках программой dvdisaster Xubuntu 14.04 LTS
- Русификация Xubuntu 16.04. Смена раскладки клавиатуры. Русификация Ubuntu через консоль.
- Установка FTP-клиента FileZilla в Xubuntu 16.04
- P7Zip — аналог RAR архиватора в Xubuntu 16.04 Linux
- Форматирование накопителя USB флеш-карты в Xubuntu 16.04
- Установка редактора Komodo в Xubuntu 14.04
- Браузер Slimjet в Xubuntu 14.04
- Web-браузер Chromium в Xubuntu 14.04
- Установка Acrobat Pro 8.0 на Xubuntu с помощью CrossOver
- Telegram и способы установки в Ubuntu 16.04 и в другие релизы
- Клавиатурный тренажер в Ubuntu
- Удаление CrossOver из операционной системы Ubuntu
- Инструменты для очистки Linux Ubuntu
- Установка Foxit Reader в Ubuntu
- Eric Python IDE — среда разработки на Python
- Как установить или обновить LibreOffice 5.4 в Ubuntu
- Программа Kazam для записи вебинаров и фильмов с экрана
- Программа SimpleScreenRecorder для записи вебинаров и видео с экрана
- Программа Vokoscreen для записи вебинаров и видео с экрана
- XAME Applications Menu Editor как инструмент для редактирования меню приложений XFCE
- Подготовка Xubuntu к работе после установки и настройка рабочего стола XFCE
- MediaInfo в Ubuntu 16.04 (Xenial Xerus), Ubuntu 16.10 (Yakkety Yak), Ubuntu 17.04 (Zesty Zapus), Ubuntu 17.10 (Artful Aardvark)
- Как удалить Konqueror из Ubuntu 16.04
- Установка Java 8 и Java 9 в Ubuntu
- Как узнать версию Ubuntu или Xubuntu и версию ядра
- Открыть PSD-файлы программой XnView MP в Ubuntu
- Установка LibreOffice 6.0 на Ubuntu 16.04 LTS, Ubuntu 17.10 и Ubuntu 18.04
- Сканер уязвимостей RkHunter
- Как установить PostgreSQL 12 на Ubuntu 18.04
- Как установить pgAdmin4 в Ubuntu 18.04
- Как установить WebStorm в Ubuntu 18.04
- Как изменить свой пароль в Ubuntu 18.04
- Установка Node.js 14.0 на Ubuntu 18.04
- Простая установка последней версии Docker на Ubuntu
- Как установить PostgreSQL 13 на Ubuntu 20.04
- Как установить принтер HP Color Laser 150 на Ubuntu
- Как установить Android Studio на Ubuntu
- Как запустить эмулятор в Android Studio
- Как установить IDLE (Python IDE) на Ubuntu 20.04
- Как установить драйверы NVIDIA на Ubuntu 22.04
- Как установить Python 3.11 в Ubuntu 22.04
- Как установить Wine на Ubuntu 22.04
How to Install IDLE Python on Ubuntu 22.04 LTS
IDLE is a free and fundamental Python development environment that beginners can use to practice their skills. It has been integrated with the default language. Hence, it is easy for new users and offers more features than some other IDEs on the market, such as being simple enough and not requiring lots of knowledge or patience to accomplish tasks within the workspace!
IDLE (Integrated DeveLopment Tool Environment) provides an easy way interactively preview code while allowing you to keep up-to-date visual references throughout each project.
In the following tutorial, you will learn how to install IDLE Python IDE Editor on Ubuntu 22.04 LTS Jammy Jellyfish. The tutorial will use the command line terminal with complete steps using both the standard APT repository and how to install different versions of IDLE.
Update Ubuntu
Before proceeding with the tutorial, it is good to ensure your system is up-to-date with all existing packages.
sudo apt update && sudo apt upgrade
Install IDLE Python IDE Editor
Installing IDLE Python is pretty straightforward. Depending on the version of Python you are working with on your Jammyfish system, run the following command.
sudo apt install idle-python
Now, install the IDLE version 3.10, or install 3.9 or 2.7 IDLE Python versions, which are also available.
Install IDLE Python 3.10
sudo apt install idle-python3.10 -y
Install IDLE Python 3.9
sudo apt install idle-python3.9 -y
Install IDLE Python 2.7
sudo apt install idle-python2.7 -y
How to Launch IDLE Python IDE Editor
Now that you have the software installed, launching can be done in a few ways.
In your terminal, use the following command.
If you would like to launch and use the terminal simultaneously, send it to the background to continue using the current terminal.
However, this isn’t practical for desktop users, and you would use the following path on your desktop to open with the approach as follows.
Activities > Show Applications > IDLE Python
Example in Show Applications:
Once open, you will arrive at the default landing start screen, where you can begin to use the IDE editor.
And that is it, and you have successfully installed IDLE IDE.
How to Update IDLE Python IDE Editor
Depending on the method of installation used, the following commands can be used to update the software and any system packages. Ideally, the terminal update command should be used even with auto-updates in your desktop GUI to ensure everything is updating correctly.
APT Update Method
sudo apt upgrade && sudo apt upgrade
How to Remove (Uninstall) IDLE Python IDE Editor
Use one of the following commands to suit the original installation method for users who no longer require the application.
APT Remove Method IDLE Python 3.10
sudo apt autoremove idle-python3.10 --purge -y
APT Remove Method IDLE Python 3.9
sudo apt autoremove idle-python3.9 --purge -y
APT Remove Method IDLE Python 2.7
sudo apt autoremove idle-python2.7 --purge -y
The above command will automatically remove any unused dependencies installed from IDLE Python and other leftovers from previous removals. This command should be run often to keep your system from getting too bloated.
Comments and Conclusion
In the tutorial, you have learned how to install IDLE Python IDE on Ubuntu 22.04 LTS Jammy Jellyfish.
IDLE has been proven as an excellent IDE for python development. It is straightforward and easy to use, popular among beginner developers. The features like syntax highlighting, code completion, debugging support, etc. make it a complete package for python development. Moreover, its integration with the default language also makes it more user-friendly.
How to Install Python IDLE in Linux
IDLE is an Integrated and learning environment created with Python using the GUI Tkinter toolkit. This is mainly used by beginners to get familiar with Python. IDLE is a cross-platform application that works with Mac OS, Windows, and Linux. In windows, IDLE comes by default with the installation. For Mac OS and Linux, we have to install the IDLE separately.
IDLE Features
- Interactive Interpreter.
- A multi-window text editor.
- Smart intends.
- Code coloring.
- Call tips.
- Auto indentation.
- Debugger with persistent breakpoints.
- Stepping and Viewing of local and global Namespace.
If you are a beginner to Python programming or new to programming, IDLE is the best place to start with. But if you are an experienced programmer switching from another language to Python then you may try more advanced editors like Pycharm, VScode, Sublime Text, VIM, etc.
Install Python IDLE IDE in Linux
In most of today’s modern Linux distributions, Python is installed by default and it comes with the IDLE application. However, If isn’t installed, you can install it using your default package manager as shown.
$ sudo apt install idle [On Debian/Ubuntu for Python2] $ sudo apt-get install idle3 [On Debian/Ubuntu for Python3] $ sudo yum install python3-tools [On CentOS/RHEL and Fedora]
Once the installation is completed type «idle» from the terminal or go to start menu → type «idle» → Launch application.
When you open the IDLE, the interactive terminal will be displayed first. The interactive terminal provides auto-completion too, you can press (ALT + SPACE) for auto-completion.
Writing First Python Program Using IDLE
Go to File → New File → To open the text editor. Once the editor is opened you can write the program. To run the program from the text editor, save the file and press F5 or Run → Run Module.
To access the debugger go to Debug → Debugger. Debug mode will be on, you can debug and step through the code.
Go to Options → Configure IDLE. This will open settings windows.
That’s all for today. We have seen what IDLE is and how to install it in Linux. How to write the first python program through interpreter and Text editor. How to access the builtin debugger and how to change the settings of IDLE.