Installing Python 3 on Mac OS X Leopard

It’s a long time (almost a month!) I don’t write here anymore, but I’ve come back to teach you how to install Python 3.0 with readline support on Mac OS X 10.5 “Leopard” (incidentally I bought a Macbook
)
- Download the latest readline from the GNU readline homepage.
- Extract it in a folder.
- Download all the patches available here and save them in the same folder.
- Open Terminal and enter in that folder.
- Apply all the patches by running:
patch -p0 < patch_file_name
For example:
patch -p0 < readline52-001 patch -p0 < readline52-002 patch -p0 < readline52-003
- Configure, make and install:
./configure make && sudo make install
- Download the latest Python 3 release from here.
- Extract it and navigate to the folder with Terminal.
- Configure it by running:
./configure --enable-framework --with-readline-dir=/usr/local
- Compile and install it:
make && sudo make frameworkinstall
Here you go!
Installing Ubuntu behind a HTTP Proxy
1 ) Put a Ubuntu CD in your CD/DVD drive, reboot, and set the BIOS to boot from the CD drive. Wait until you see the Ubuntu desktop
2 ) Go to Applications -> Accessories -> Terminal and gain root priviledges with
sudo su
3 ) Load your keyabord map with
setxkbmap language_code
Example:
setxkbmap it
4 ) Create a new file with
nano /etc/apt/apt.conf
5 ) Write the line
Acquire::http::Proxy "http://[user]:[pass]@[proxy_ip]:[port]";Example:
Acquire::http::Proxy "http://camp:1234@192.168.10.4:3128";6 ) Ctrl + O to save and Ctrl + X to exit
7 ) Go to System -> Preferences -> Network Proxy and fill the proxy settings (don’t forget to click on advanced, if the proxy requires authentication)
8 ) Launch the Ubuntu usual installer
9 ) Cross your fingers and pray thy Holy Shuttleworth to have pity for thy damned soul
Here you go!