example how to build RPM package from source package
2011-06-27 22:25
681 查看
This is example how to build RPM package from source package (libaio-0.3.105-2.src.rpm). Note gcc, make and rpm-build (and dependent) packages must be already installed on your system.# rpm -ivh libaio-0.3.105-2.src.rpm
# cd /usr/src/redhat/SPECS/
# rpmbuild --target i386 libaio.spec
# cd ../RPMS/i386/
# rpm -ivh libaio-0.3.105-2.i386.rpm libaio-devel-0.3.105-2.i386.rpm
# cd /usr/src/redhat/SPECS/
# rpmbuild --target i386 libaio.spec
# cd ../RPMS/i386/
# rpm -ivh libaio-0.3.105-2.i386.rpm libaio-devel-0.3.105-2.i386.rpm
相关文章推荐
- How to build ubuntu package from source? Useful for debugging ubuntu packages
- How to build the Robotics Library from source code on Windows
- Build RPM package from source code
- How To Build xfstools, xfsprogs And xfsdump From Source On Ubuntu
- How to build NCL and NCAR Graphics from source code
- 【转】How to build and install PHP 5.6.9 from source on Ubuntu 14.04 VPS
- Install an RPM Package on Ubuntu Linux(from how to geek)
- How To Build Multi-control Components when Inheriting from an Existing Control (Intro and TextBox Example)
- How to Compile Linux Kernel from Source to Build Custom Kernel
- how to build and install vim from source code
- How to build NCL and NCAR Graphics from source code
- How to access Package Name from JNI/NDK?
- How to invoke a function from another .cpp source file
- How to build multiple targets from a single Xcode Project
- How to delete PACKAGE from HANA studio
- How to patch and rebuild an RPM package
- How to build and run ARM Linux on QEMU from scratch
- How to import class from other package when building android image
- how to get toolchain from android source -make windows sdk
- How to create a project from existing source in Eclipse and then find it?