$ sudo apt-get install pstoedit
2. download and install "textext-0.4.4.tar.gz”, from the following website
http://pav.iki.fi/software/textext/
3.
build a file .inkscape
$mkdir .inkscape
copy textext.inx textext.py to .inkscape
$ cp textext.inx textext.py .inkscape/