Sunday, April 14, 2013

How to install opencv(cv2) with python bindings in Linux - Ubuntu/Fedora

  1. Install gcc, g++/gcc-c++, cmake (apt-get or yum, in case of yum use gcc-c++)#apt-get install gcc, g++, cmake
  2. Downlaod latest opencv from openCV's website (
  3. Untar it #tar - xvf opencv-*
  4. Inside the untarred folder make a new folder called "release" (or any folder name) and run this command in it
    #"cmake -D

    the ".." will pull files from the parents folder and will get the system ready for installation for your specific platform.
  5. in the release folder  (#cd release) run #make
  6. After about 3-4 mins (obviously could be faster on your machine) of make processing when its finished run #make install
That's it, now go to python and try ">>> import cv2" you should not get any error message.
I've tested it on python 2.7, should be virtually similar to python 3.x.

Friday, January 4, 2013

Microsoft Office works flawlessly in Linux

Microsoft Office 2007 on Linux (Ubuntu 12.10 and Fedora)
Microsoft Office 2007 on Linux (Ubuntu 12.10 and Fedora 17)

Thanks to PlayOnLinux all Microsoft office products including Office 2007 and Office 2010 work flawlessly on Linux desktops. I tested my -purchased- version of Office 2007 on Fedora 17 and Ubuntu 12.10. Finally I can delete Windows (especially after the Windows 8 Metro confusion) and keep my laptop fast and efficient with couple of Linux Flavours.

The PlayOnLinux is based on Wine. But don’t fret, it's a much refined version compared to the manual hacks and cracks that use of Wine brings to mind. During the installation the software automatically downloads all the libraries and dll’s that Microsoft products require. The downloads are on the fly from their pre-set repositories. The process is surprisingly totally seamless and in no time your Office products will pop-up in the Ubuntu Unity Launch bar.

They also promise that all the Windows based games are playable in Linux. I still need to try my Mass Effect 3 DVD, if it manages to pull our decent FPS, then Hallelujah!

NOTE: If you like the product PlayOnLinux please consider donating to the developers, they have done an awesome job.