- Download vpython from http://sourceforge.net/project/showfiles.php?group_id=6013&package_id=6822&release_id=576326
- Go to a command prompt, usually with a terminal like gnome-terminal, xterm, or aterm.
- Make sure you have the required packages: talk to your system administrator about isssuing the following command:
`yum install freetype2-devel pangomm-devel gtkglextmm-devel libglademm24-devel gtk-devel pango-devel python-tools` - type
`cd /path/to/visual-4.beta26` - Uncompress file: type
`tar -xjf visual-*.tar.bz2` - Change directory: type
`cd visual-4.beta26/` - Configure the package: type
`./configure --prefix=/usr` - Make sure you have all the requirement. If you get an error that says 'error: blahblah x.x is required', then see step 3 above about installing dependencies.
- Build the binaries from source: type
`make`. This may take a while. I had a strange lib problem. It seems recent rpms of boost don't have the file /usr/lib/libboost_thread.so, so I had to make a symlink with the command`ln -s /usr/lib/libboost_thread-mt.so /usr/lib/libboost_thread.so` - Talk to your sysadmin about issuing the following command:
'make install' - The script to start vpython is
/usr/bin/vpython. We need to edit this, so open up the file in your favorite text editor and edit it as follows:
Sunday, March 2, 2008
How to Install Visual Python in Fedora Core 8
This is a short tutorial on how to install visual python (vpython) 4.beta26 in Fedora Core 8. This should also work with other versions of linux.
Subscribe to:
Comments (Atom)