-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 01/15/2016 05:34 AM, Christopher Ross wrote:
On 14/01/16 17:43, Kevin Wilson wrote:
Is there a way to find out the date on which a Fedora distro was installed on a given machine (assuming that the date was set correctly on the machine when it was installed)?
# rpm -qi fedora-release
Name : fedora-release Version : 22 Release : 1 Architecture: noarch Install Date: Tue 26 May 2015 20:34:10 BST Group : System Environment/Base Size : 4235 License : MIT Signature : RSA/SHA256, Tue 19 May 2015 19:08:23 BST, Key ID 11adc0948e1431d5 Source RPM : fedora-release-22-1.src.rpm Build Date : Tue 19 May 2015 15:27:10 BST Build Host : arm04-builder06.arm.fedoraproject.org Relocations : (not relocatable) Packager : Fedora Project Vendor : Fedora Project URL : http://fedoraproject.org Summary : Fedora release files Description : Fedora release files such as various /etc/ files that define the release.
Hope this helps, Chris R.
That approach will only work if the fedora-release package hasn't been updated (because then you'll see the date of that update, not the original date).
I think the best approach was the first one suggested; checking the ctime of /root/anaconda-ks.cfg