Click to See Complete Forum and Search --> : checking for the installed software


mjaniszewski2
10-17-2004, 03:44 AM
Hi there.
On my linux I've spotted some strange thing - i'm not sure if i can install any software, which is not in the rpm format - recently i've tried install qt 3.3.3 package in order to get the new kde working. But after i had compiled qt (with no errors at all, doing exactly as said in the INSTALL file) and chceking installed versin with rpm -q it showed the old 3.1.(something) version. i wonder if rpm -q command isn't only for checking the rpm packages? how can i check version of software installed from the source? or is it some sort of error?

serz
10-17-2004, 04:01 AM
recently i've tried install qt 3.3.3 package in order to get the new kde working. But after i had compiled qt (with no errors at all, doing exactly as said in the INSTALL file) and chceking installed versin with rpm -q it showed the old 3.1.(something) version.
I think you should have removed kde first and then compile it.


i wonder if rpm -q command isn't only for checking the rpm packages? how can i check version of software installed from the source? or is it some sort of error?
It's only for the rpm packages. There are usually flags in the programs so you can check its version. (program --version or something / use --help or -h).

Now, to be able to remove what you've installed from source, take a look at make_uninstall and checkinstall (look for them at Freshmeat (www.freshmeat.net).

mjaniszewski2
10-17-2004, 04:04 AM
Thanks for the insant reply!
I'm on my way to check this. Thanks.

----EDIT----

I've checked my qt version by running qtconfig and selecting help -> about qt. But when i had ran the 'qtconfig' it showed the old 3.1 version and after running './qtconfig' in the /usr/local/qt (where i have it installed) it showed the 3.3.3 version. If i want to compile new kde, shouldn't i have qt installed somewhere in the /usr/bin, so by running qtconfig it should run the proper version? How can i make this? should i uninstall the previous version first? qt and kde?

PS. Sorry for my english, hope you understand :)

blingbling!!
10-17-2004, 12:44 PM
If i want to compile new kde, shouldn't i have qt installed somewhere in the /usr/bin, so by running qtconfig it should run the proper version?
Yes.
Also, if you want to run 'new kde' you have to install both sets of binaries on your system. It sounds like your compilation of qt went ok, but maybe didn't get installed properly. Did you run 'make install' as root? This would place the binaries wherever the install script specifies.
If you're going to compile the 'new KDE' as well, then maybe you should compile against the working non-system libraries by passing args (/usr/local/qt) in to ./configure, then move all the new binaries on to you system path together.
Remember you could bork the whole thing if you mess up, so maybe get gnome working just in case ;)

hth
--Robin

mjaniszewski2
10-17-2004, 01:07 PM
yes, i had ran 'make install' as root. In the install file it was assumed, that the path of the qt is /usr/local/qt, so i've copied source and worked there. is it bad? should i copy it to another directory? Sorry, but i don't understand this you should compile against the working non-system libraries by passing args (/usr/local/qt) in to ./configure, then move all the new binaries on to you system path together. (partly because of my lack of english knowledge). Quold you please explain it more simply?
I have working gnome - getting the new one is the next point on my way to teach myself linux :)