OS: Fedora 12, x86_64 [root@earth]# rpm -qa cmakecmake-2.6.4-5.fc12.x86_64But I installed cmake-3.2.3 from source code.How to check installed version that is installed from source code?How to update the package version to system?But [root@earth]# cmake --versioncmake version 3.2.3[root@earth]# /usr/local/bin/cmake --versioncmake version 3.2.3
Installed from source code, but when checking installed-version, it's showing old-version. How to reslove?
fedora;package management;rpm
Since you installed from source code (I'm guessing with ./configure; make; make install), the RPMDB (RPM database) didn't get updated, so RPM thinks you still ahve the old version installed. If you want RPM to know about the new version, find an RPM of the new version (or make one) and install it with RPM (rpm -i).