I got a message:
Package subcaption Error: `caption' package not loaded
I guess that I should install the cpaton package.
Fedora 19 is already shipped with the latex Tex Live 2013. You can directly install it by yum.
# yum install texlive-caption
For older Fedora releases, such as Fedora 17:
One possible method is to install TeX Live 2012 on Fedora 17: http://fedoraproject.org/wiki/Features/TeXLive
Use Fedora 17 as the example:
# rpm -i http://jnovy.fedorapeople.org/texlive/2012/packages.fc17/texlive-release.noarch.rpm
Erase latex* to avoid conflicts:
# yum erase latex*
Update the system and install the package
# yum update # yum install tex-caption