2012年5月30日 星期三

Upgrade/Update Fedora 16 to 17

Today, I upgrade my fedora 16 to 17 on my laptop Fujitsu SH561.
There is some note about updating process.

1. Dump or back up your data first to ensure you can recover when issue occurred.

2. Get root permission
 
    # yum update
    # yum clean all
    # yum install preupgrade
    # preupgrade

After you make command "preupgrade", GUI upgrade GUI program will lead you finish upgrade process.
Or your can do this command by CLI.

# preupgrade-cli "Fedora 17 (Beefy Miracle)"

(It will take a period of long time and reboot your OS, be patient)

2012年1月2日 星期一

Mac OSX Python IDLE installation easy way

When we use Python on Mac OSX, we are confusing on Python environment with different version.
How can we develop each version Python on Mac without complex environment set up?
Using IDLE is a simple way and graphic user interface IDE.
First, we need to install tcl/tk GUI tookit to combine back-end python to front-end IDLE.
We can download ActiveTcl 8.5.11 (10.5+ x86_64/x86) and install via DMG file.
http://www.activestate.com/activetcl/downloads

Second, after we installed AvtiveTcl 8.5.11, we can choose Python version DMG file to install.
Python 2.7.2 (10.6 10.7 x86_64/x86)
Python 3.2.2 (10.6 10.7 x86_64/x86)

Then we can see Python X.X directory in our Applications directory.

Open the Python X.X directory and click IDLE, we can open a IDLE window with Python version.

Now we can write code on IDLE with different Python version by easy way.
 
創用 CC 授權條款