1. Download .src.rpm
2. Install
rpm -ivh package.src.rpm
3. Go to SPECS dir
cd /usr/src/redhat/SPEC (or cd ~/rpmbuild/SPECS)
Note. If you can't find SPECS dir, install rpm with -ivvh then you can see where .spec located
4. build binary package only from
rpm -bb package.spec
5. Install .rpm
rpm -Uvh package.rpm
2. Install
rpm -ivh package.src.rpm
3. Go to SPECS dir
cd /usr/src/redhat/SPEC (or cd ~/rpmbuild/SPECS)
Note. If you can't find SPECS dir, install rpm with -ivvh then you can see where .spec located
4. build binary package only from
rpm -bb package.spec
5. Install .rpm
rpm -Uvh package.rpm