I've two packages available on CentOS 7 system:
I'm looking for a command to fetch the appropriate package full name based on the OS version/architecture (32/64bit).
E.g., when I query from a 64bit OS I should get the latest rpm with full name
package-6.34-1.el7.x86_64.rpm, as I need to install package with
rpm -i --replacefiles <packagename>.rpm