I am running Amazon Linux centos however the version of the file which gets installed is 5.30. I require a later version.
file: Compiled magic version  does not match with shared library magic version 
steps to reproduce:
wget -m ftp://ftp.astron.com/pub/file/file-5.34.tar.gz cd ftp.astron.com/pub/file/ tar -zxf file-5.34.tar.gz cd file-5.34 ./configure --prefix=/usr make make install
on my ubuntu machine, I can follow which involved removing libmagic before doing the install. What's the equivalent on centos / amazon linux?
Or is there an easier way to yum install file 5.34 other than by compiling it?