RpmBuildInstructions

Chair for Computer Aided Medical Procedures & Augmented Reality
Lehrstuhl für Informatikanwendungen in der Medizin & Augmented Reality

THIS WEBPAGE IS DEPRECATED - please visit our new website

Build rpm-files from a src-rpm

ALERT! Important: NEVER build rpms as root because the included .spec file ( a shell script) will be executed and may contain destructive executions

For building rpm-files you will need the following Directory Structure on the computer you want to build for:

/Compile/packages/ 
   BUILD 
   RPMS
   SOURCES  
   SPECS 
   SRPMS 

  • Get the src.rpm file
  • Put it in SRPMS
  • Execute rpm -i src_rpm_file.rpm
  • look in the SOURCES directory: a .gz or .tar file is placed here
  • look in the SPECS directory: a .spec file is placed here... edit this file for changes or patches of the installation
  • in this dir type rpm -ba specfile.spec this starts the build process
  • When building has finished without errors you will find the new build rpm in the RPMS directory
    • Now Install it!

-- NikolasDoerfler - 20 Nov 2003


Edit | Attach | Refresh | Diffs | More | Revision r1.5 - 23 Mar 2005 - 12:44 - NikolasDoerfler

Lehrstuhl für Computer Aided Medical Procedures & Augmented Reality    rss.gif