Monday, May 7, 2012

Install latest MyPaint in [X]Ubuntu (ppa and git)

MyPaint is a fast and easy open-source graphics application for digital painters. It lets you focus on the art instead of the program. You work on your canvas with minimum distractions, bringing up the interface only when you need it.

In the screenshot is the MyPaint interface with some subwindows opened (Brush List Editor, Color Triangle and Layers). Hit tab to hide the subwindows or F11 for fullscreen mode and then it'll be only you, the brush and the canvas :p

Please visit my sketch blog (Wilson's Sketch Blog) to see what I've done with MyPaint (besides the portrait of Marion Cotillard in the screenshot).

Install

Bellow are provided instructions for installing MyPaint via ppa and git. Choose git you want the latest version of MyPaint (I recommended it), but unfortunately you won't get automatic updates, so instruction are provided also for updating.

Open a terminal window for typing the following instructions.

ppa - Xubuntu 11.10

Ubuntu Oneiric repositories have MyPaint 0.9.X, so we'll be adding MyPaint Testing ppa to get version >= 1.0:

sudo add-apt-repository ppa:achadwick/mypaint-testing -y
sudo apt-get update && sudo apt-get install mypaint
ppa - Xubuntu 12.04

The Ubuntu Precise repositories already have MyPaint >= 1.0:

sudo apt-get install mypaint
Git - Install

If you choose to pull MyPaint from git repository you'll get the most recent version, but first some dependencies must be installed:

# preparing a folder for storing the sources
cd
mkdir sources
cd sources
# installing dependencies
sudo apt-get install git-core g++ python-dev libglib2.0-dev python-numpy swig scons gettext libpng12-dev liblcms2-dev libjson0-dev
# download the last sources
git clone git://gitorious.org/mypaint/mypaint.git
# enter the directory , compile and install.
cd mypaint
sudo scons prefix=/usr/local install
Git - Update
# going to the sources folder
cd ~/sources/mypaint/
# update the sources
git pull
# recompile and install.
sudo scons prefix=/usr/local install

References

MyPaint
Kubuntu 12.04 install notes (David Revoy's Blog)
MyPaint testing PPA

No comments:

Post a Comment