<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.darenet.org/skins/common/feed.css?12"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.darenet.org/index.php?action=history&amp;feed=atom&amp;title=Python_en%3AInstallation</id>
		<title>Python en:Installation - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.darenet.org/index.php?action=history&amp;feed=atom&amp;title=Python_en%3AInstallation"/>
		<link rel="alternate" type="text/html" href="http://wiki.darenet.org/index.php?title=Python_en:Installation&amp;action=history"/>
		<updated>2026-05-21T05:48:42Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.15.1</generator>

	<entry>
		<id>http://wiki.darenet.org/index.php?title=Python_en:Installation&amp;diff=5530&amp;oldid=prev</id>
		<title>Admin:&amp;#32;1 revision</title>
		<link rel="alternate" type="text/html" href="http://wiki.darenet.org/index.php?title=Python_en:Installation&amp;diff=5530&amp;oldid=prev"/>
				<updated>2010-04-03T02:52:48Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 02:52, 3 April 2010&lt;/td&gt;
		&lt;/tr&gt;
		&lt;!-- diff generator: internal 2026-05-21 04:58:25 --&gt;

&lt;!-- diff cache key wiki:diff:version:1.11a:oldid:5529:newid:5530 --&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>http://wiki.darenet.org/index.php?title=Python_en:Installation&amp;diff=5529&amp;oldid=prev</id>
		<title>Swaroop:&amp;#32;/* For Linux and BSD users */ Note on python3 binary</title>
		<link rel="alternate" type="text/html" href="http://wiki.darenet.org/index.php?title=Python_en:Installation&amp;diff=5529&amp;oldid=prev"/>
				<updated>2009-02-05T05:23:39Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;For Linux and BSD users:&amp;#32;&lt;/span&gt; Note on python3 binary&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;div class=&amp;quot;python book&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you have Python 2.x installed already, you do '''not''' have to remove it to install Python 3.0. You can have both installed at the same time.&lt;br /&gt;
&lt;br /&gt;
== For Linux and BSD users ==&lt;br /&gt;
&lt;br /&gt;
If you are using a Linux distribution such as Ubuntu, Fedora, OpenSUSE or {put your choice here}, or a BSD system such as FreeBSD, then it is most likely you already have Python installed on your system.&lt;br /&gt;
&lt;br /&gt;
To test if you have Python already installed on your Linux box, open a shell program (like &amp;lt;tt&amp;gt;konsole&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;gnome-terminal&amp;lt;/tt&amp;gt;) and enter the command &amp;lt;tt&amp;gt;python -V&amp;lt;/tt&amp;gt; as shown below.&lt;br /&gt;
&lt;br /&gt;
    $ python -V&lt;br /&gt;
    Python 3.0b1&lt;br /&gt;
&lt;br /&gt;
; Note&lt;br /&gt;
: &amp;lt;tt&amp;gt;$&amp;lt;/tt&amp;gt; is the prompt of the shell. It will be different for you depending on the settings of your OS, hence I will indicate the prompt by just the &amp;lt;tt&amp;gt;$&amp;lt;/tt&amp;gt; symbol.&lt;br /&gt;
&lt;br /&gt;
If you see some version information like the one shown above, then you have Python installed already.&lt;br /&gt;
&lt;br /&gt;
However, if you get a message like this one:&lt;br /&gt;
&lt;br /&gt;
    $ python -V&lt;br /&gt;
    bash: Python: command not found&lt;br /&gt;
&lt;br /&gt;
Then you don't have Python installed. This is highly unlikely but possible.&lt;br /&gt;
&lt;br /&gt;
; Note&lt;br /&gt;
: If you have Python 2.x already installed, then try &amp;lt;tt&amp;gt;python3 -V&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In this case, you have two ways of installing Python on your system.&lt;br /&gt;
&lt;br /&gt;
* You can compile Python from the [http://www.python.org/download/releases/3.0/ source code] and install it. The compilation instructions are provided at the website.&lt;br /&gt;
* [This option will be available after the final release of Python 3.0] Install the binary packages using the package management software that comes with your OS, such as &amp;lt;tt&amp;gt;apt-get&amp;lt;/tt&amp;gt; in Ubuntu/Debian and other Debian-based Linux, &amp;lt;tt&amp;gt;yum&amp;lt;/tt&amp;gt; in Fedora Linux, &amp;lt;tt&amp;gt;pkg_add&amp;lt;/tt&amp;gt; in FreeBSD, etc. Note that you will need an internet connection to use this method. Alternatively, you can download the binaries from somewhere else and then copy to your PC and install it.&lt;br /&gt;
&lt;br /&gt;
== For Windows Users ==&lt;br /&gt;
&lt;br /&gt;
Visit http://www.python.org/download/releases/3.0/ and download the latest version from this website, which was [http://www.python.org/ftp/python/3.0/python-3.0b1.msi 3.0 beta 1] as of this writing. This is just 12.8 MB which is very compact compared to most other languages or software. The installation is just like any other Windows-based software.&lt;br /&gt;
&lt;br /&gt;
; Caution&lt;br /&gt;
: When you are given the option of unchecking any &amp;quot;optional&amp;quot; components, don't uncheck any! Some of these components can be useful for you, especially IDLE.&lt;br /&gt;
&lt;br /&gt;
An interesting fact is that majority of Python downloads are by Windows users. Of course, this doesn't give the complete picture since almost all Linux users will have Python installed already on their systems by default.&lt;br /&gt;
&lt;br /&gt;
=== DOS Prompt ===&lt;br /&gt;
&lt;br /&gt;
If you want to be able to use Python from the Windows command line i.e. the DOS prompt, then you need to set the PATH variable appropriately.&lt;br /&gt;
&lt;br /&gt;
For Windows 2000, XP, 2003 , click on &amp;lt;tt&amp;gt;Control Panel&amp;lt;/tt&amp;gt; -&amp;gt; &amp;lt;tt&amp;gt;System&amp;lt;/tt&amp;gt; -&amp;gt; &amp;lt;tt&amp;gt;Advanced&amp;lt;/tt&amp;gt; -&amp;gt; &amp;lt;tt&amp;gt;Environment Variables&amp;lt;/tt&amp;gt;. Click on the variable named '''PATH''' in the 'System Variables' section, then select &amp;lt;tt&amp;gt;Edit&amp;lt;/tt&amp;gt; and add &amp;lt;tt&amp;gt;;C:\Python30&amp;lt;/tt&amp;gt; to the end of what is already there. Of course, use the appropriate directory name.&lt;br /&gt;
&lt;br /&gt;
For older versions of Windows, add the following line to the file &amp;lt;tt&amp;gt;C:\AUTOEXEC.BAT&amp;lt;/tt&amp;gt; : '&amp;lt;tt&amp;gt;PATH=%PATH%;C:\Python30&amp;lt;/tt&amp;gt;' (without the quotes) and restart the system. For Windows NT, use the &amp;lt;tt&amp;gt;AUTOEXEC.NT&amp;lt;/tt&amp;gt; file.&lt;br /&gt;
&lt;br /&gt;
== For Mac OS X Users ==&lt;br /&gt;
&lt;br /&gt;
Mac OS X Users will find Python already installed on their system. Open the &amp;lt;tt&amp;gt;Terminal.app&amp;lt;/tt&amp;gt; and run &amp;lt;tt&amp;gt;python -V&amp;lt;/tt&amp;gt; and follow the advice in the above Linux section.&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
For a Linux system, you most probably already have Python installed on your system.  Otherwise, you can install it using the package management software that comes with your distribution. For a Windows system, installing Python is as easy as downloading the installer and double-clicking on it. From now on, we will assume that you have Python installed on your system.&lt;br /&gt;
&lt;br /&gt;
Next, we will write our first Python program.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;paging&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;prev&amp;quot;&amp;gt;[[Python_en:Introduction|Previous]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;span class=&amp;quot;next&amp;quot;&amp;gt;[[Python_en:First Steps|Next]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:A Byte of Python|Installation]]&lt;/div&gt;</summary>
		<author><name>Swaroop</name></author>	</entry>

	</feed>