Determining which version of an application is in use

Asked by Julianloui

I originally installed eSpeak 1.46.02 directly from the Ubuntu Software Center on my Ubuntu 12.04 computer. I recently removed it by running 'apt-get remove espeak' prior to downloading and installing the source code of eSpeak 1.47.11 from www.sourceforge.net. My installation/compilation of eSpeak 1.47.11 went error-free. But now I still see only the 1.46.02 version listed when I run 'dpkg -l'.

(1) How can I tell which version is invoked when I run espeak?
(2) Have I removed 1.46.02 incompletely?

Thank you very much.

Julianloui

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Daniel Letzeisen (dtl131) said :
#1

Unless you installed a .deb package, dpkg will have no idea about your custom espeak installation.

Command:
espeak --version

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

apt-cache policy espeak

Will show the installed version of espeak as well as the versions available to install.

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#3

If you compile source I recommend you use 'checkinstall' rather than 'make install'.

Checkinstall will make a deb file of your binaries and will integrate with the rest better than putting binaries in the file system. It also allows easy uninstall as you would expect

Revision history for this message
Julianloui (julianloui) said :
#4

Hi Andrew and Daniel,

Thank you both for your very useful instructions, which identically confirm for me that I have not succeeded in removing espeak 1.46-02. In other words, it is still alive, in spite of the fact that Linux told me otherwise. This logically leads me to conclude that neither have I succeeded n installing espeak 1.47.11 from its source code even though my related work produced no system errors.

I feel that I should try using 'checkinstall' to compile espeak 1.47.11 from its source code. Since I am totally new to this utility, I would like to know how to use it to compile espeak 1.47.11's source code. Thank you very much again.

Julianloui

Revision history for this message
Julianloui (julianloui) said :
#5

Hi Andrew,

I've just found the answer to my last question on compiling/installing a apckage from source. Thanks again.
I hereby close Question #237870.

Julianloui

Revision history for this message
Julianloui (julianloui) said :
#6

Thanks actionparsnip, that solved my question.