add hint for building from source
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								686554358a
							
						
					
				
			
			
				commit
				
					
						676687dee1
					
				
			
		
					 1 changed files with 20 additions and 0 deletions
				
			
		
							
								
								
									
										20
									
								
								README
									
										
									
									
									
								
							
							
						
						
									
										20
									
								
								README
									
										
									
									
									
								
							| 
						 | 
					@ -104,6 +104,10 @@ Archlinux already has python >= 3.2, so you only need to do:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    pacman -S python
 | 
					    pacman -S python
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#### CentOS
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					See the "From source" section
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### Debian
 | 
					#### Debian
 | 
				
			||||||
 | 
					
 | 
				
			||||||
For Debian >= wheezy:
 | 
					For Debian >= wheezy:
 | 
				
			||||||
| 
						 | 
					@ -167,6 +171,22 @@ You can choose between Homebrew and Macports, either way works:
 | 
				
			||||||
    port install python32
 | 
					    port install python32
 | 
				
			||||||
    ln -s /opt/local/bin/python3.2 /opt/local/bin/python3
 | 
					    ln -s /opt/local/bin/python3.2 /opt/local/bin/python3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#### From Source
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					For those operating systems not yet support Python 3.2:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    pyversion=3.2.3
 | 
				
			||||||
 | 
					    wget http://www.python.org/ftp/python/$pyversion/Python-${pyversion}.tar.bz2
 | 
				
			||||||
 | 
					    tar xvfj Python-${pyversion}.tar.bz2
 | 
				
			||||||
 | 
					    cd Python-${pyversion}
 | 
				
			||||||
 | 
					    ./configure
 | 
				
			||||||
 | 
					    make
 | 
				
			||||||
 | 
					    sudo make install
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					This installs python 3.2 to /usr/local/bin. Ensure this directory is in
 | 
				
			||||||
 | 
					your PATH environment variable.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Get cdist
 | 
					### Get cdist
 | 
				
			||||||
 | 
					
 | 
				
			||||||
You can clone cdist from git, which gives you the advantage of having
 | 
					You can clone cdist from git, which gives you the advantage of having
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue