Score:1

E: unable to locate package idle3 in Ubuntu 18.04

ph flag

I have ubuntu 18.04 and python3.6.5. I want to install idle but was unable to. What I tried was,

python3

it displays ( I hide the date and time)

python3.6.5 (default, date, time)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

Then I update the cache

sudo apt-get update

It worked smoothly. After this, I tried to install idle3

sudo apt-get install idle3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package idle3

I am not sure what went wrong. I also tried this

lsb_release -a

which gave me

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.1 LTS
Release:    18.04
Codename:   bionic

I also searched it here here.

And then the next command I wrote was

sudo add-apt-repository universe

and then updated it. But when typed it again, it gave me the same.

sudo apt-get install idle3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package idle3

Can someone help? I am quite new to CS and Ubuntu SE, so really sorry if this question wasn't written well.

N0rbert avatar
zw flag
Does this answer your question? [How do I enable the "Universe" repository?](https://askubuntu.com/questions/148638/how-do-i-enable-the-universe-repository)
Score:1
sa flag

The idle3 package in Ubuntu has been renamed to three different packages: idle-python3.6, idle-python3.7 and idle-python3.8. Please install the idle3 package that matches your system's Python 3.x version. Python 3.6 is the default Python 3.x version in Ubuntu 18.04, and the command to install idle3 for this version in Ubuntu 18.04 is sudo apt install idle-python3.6. To show the system's Python 3.x version open the terminal and type:

python3
Sunaina Pati avatar
ph flag
Actually, we realised it was some problem with PC. It wasn't updating. Now it works! Thanks a lot for answering!
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.