Differences

This shows you the differences between two versions of the page.

Link to this comparison view

debian:build_a_package_from_squeeze [2010/10/25 11:35]
wadmin created
debian:build_a_package_from_squeeze [2010/10/25 11:38] (current)
wadmin
Line 5: Line 5:
 <​file>​deb-src http://​http.us.debian.org/​debian squeeze main contrib non-free</​file>​ <​file>​deb-src http://​http.us.debian.org/​debian squeeze main contrib non-free</​file>​
  
-Run <​file>​apt-get update</​file> ​(as root)+Run (as root):<​file>​apt-get update</​file>​
  
-Run <​file>​apt-get install fakeroot</​file> ​(as root)+Run (as root):<​file>​apt-get install fakeroot</​file>​
  
-Run <​file>​apt-get build-dep imagemagick</​file> ​(as root, this installs the build-dependencies)+Run (as root):<​file>​apt-get build-dep imagemagick</​file>​
  
 Change to a directory you'll be using for building. Change to a directory you'll be using for building.
Line 15: Line 15:
 For the next part you can be a regular user. For the next part you can be a regular user.
  
-Run <​file>​apt-get source imagemagick</​file> ​(should automatically pick up the version from Testing, currently 6.6.0)+Run (which should automatically pick up the version from Testing)<​file>​apt-get source imagemagick</​file>​
  
-This will download and unpack the latest source package. CD into the directory created that contains the unpacked source (imagemagick-6.6.0.4/​ as of this writing).+if not run <​file>​apt-get -t squeeze source imagemagick</​file>​ 
 + 
 +This will download and unpack the latest source package. CD into the directory created that contains the unpacked source (imagemagick-6.6.0.4/​ as of this writing) ​<​file>​cd imagemagick-*</​file>​
  
 Run <​file>​fakeroot debian/​rules binary</​file>​ and if all goes well, cd .. Run <​file>​fakeroot debian/​rules binary</​file>​ and if all goes well, cd ..
/var/customers/webs/cw01/wiki/data/pages/debian/build_a_package_from_squeeze.txt · Last modified: 2010/10/25 11:38 by wadmin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki