Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How can I update Python 2.7 to Python 3.3

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
User avatar
manchristiano
Posts: 2
Joined: 2014-03-31 12:50

How can I update Python 2.7 to Python 3.3

#1 Post by manchristiano »

Please am new to the Debian Linux and am also addicted to programing. After installing Debian only have Python 2.7 can anyone help me to upgrade it?

User avatar
roseway
Posts: 1528
Joined: 2007-12-31 22:50
Location: Kent, UK
Has thanked: 3 times
Been thanked: 4 times

Re: How can I update Python 2.7 to Python 3.3

#2 Post by roseway »

Install the package python3:

(with root privilege):

apt-get update
apt-get install python3

If you have installed Debian Stable, then the above will give you python 3.2.3 . It's possible that 3.3 is in the backports repository, but I haven't checked that.
Eric

User avatar
manchristiano
Posts: 2
Joined: 2014-03-31 12:50

Re: How can I update Python 2.7 to Python 3.3

#3 Post by manchristiano »

Thanks a lot "Boss Eric" pls would that new a valid internet connection?

User avatar
roseway
Posts: 1528
Joined: 2007-12-31 22:50
Location: Kent, UK
Has thanked: 3 times
Been thanked: 4 times

Re: How can I update Python 2.7 to Python 3.3

#4 Post by roseway »

If you didn't configure an internet connection when you installed Debian, then when you run the commands I mentioned you will be asked to insert the original installation CD (or DVD). What I don't know is whether python3 is on the installation CD.
Eric

Post Reply