Build and Package Notes | EduRev

: Build and Package Notes | EduRev

 Page 1


Build and Package 
CSE 403 section, 2011 Feb 3, Hao Lu 
Page 2


Build and Package 
CSE 403 section, 2011 Feb 3, Hao Lu 
How can others run your code? 
• Build from code? 
• Installation? 
• Resources or dependencies? 
• Options? 
• Documentation 
Page 3


Build and Package 
CSE 403 section, 2011 Feb 3, Hao Lu 
How can others run your code? 
• Build from code? 
• Installation? 
• Resources or dependencies? 
• Options? 
• Documentation 
Example 1 
• Precompiled distribution 
• Run setup.exe 
 
Page 4


Build and Package 
CSE 403 section, 2011 Feb 3, Hao Lu 
How can others run your code? 
• Build from code? 
• Installation? 
• Resources or dependencies? 
• Options? 
• Documentation 
Example 1 
• Precompiled distribution 
• Run setup.exe 
 
Example 2 
• Download source code tarball 
• $ ./configure 
• $ make 
• $ make install 
Page 5


Build and Package 
CSE 403 section, 2011 Feb 3, Hao Lu 
How can others run your code? 
• Build from code? 
• Installation? 
• Resources or dependencies? 
• Options? 
• Documentation 
Example 1 
• Precompiled distribution 
• Run setup.exe 
 
Example 2 
• Download source code tarball 
• $ ./configure 
• $ make 
• $ make install 
Example 3 
• Download package.deb 
• $ dpkg -i package.deb 
Read More
Offer running on EduRev: Apply code STAYHOME200 to get INR 200 off on our premium plan EduRev Infinity!