Tuesday, April 17, 2007

Yet another rpm building method

There is also another method of converting tarball to rpm instead of using rpmbuild -bb filename.spec. Using the method mentioned before requires the user to extract the tarball file first before we can use it. If we do not want to extract it first, we can use :

1. type ->rpmbuild -tb filename.tar.bz2
2. after the rpm file has been created; use ->rpm -Uvh filename.rpm to install it

That's all.

No comments: