I'm new to RHEL and I use python as my programming language.
IDLE seems to me a good editor for my programs. In case of debian (which i used previously) I know how to install this. But, the package installer command apt doesn't work here.
There are two separate questions here:
Apt analog for RedHat systems. If you use RedHat, CentOS or analog, it is
yum. If it is Fedora,
dnf are usually present, with preference to the latter one.
IDLE presence. According to this, IDLE is available in python-tools, but first you should install
epel-release package to reach EPEL repository. Exact package name is
python34-tools, provided you need Python3.
You would just enter
yum install python3 at the console as this includes python libs and the editor.