http://foss2serve.org/index.php?title=Linux_Package_Management_(Distribute_Your_App)&feed=atom&action=historyLinux Package Management (Distribute Your App) - Revision history2024-03-29T13:33:49ZRevision history for this page on the wikiMediaWiki 1.18.1http://foss2serve.org/index.php?title=Linux_Package_Management_(Distribute_Your_App)&diff=13763&oldid=prevClif.kussmaul at 11:29, 6 August 20202020-08-06T11:29:59Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 11:29, 6 August 2020</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 5:</td>
<td colspan="2" class="diff-lineno">Line 5:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Linux RPM package management Part 1 (Packaging the 'htop' command)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Linux RPM package management Part 1 (Packaging the 'htop' command)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|overview=  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|overview=  </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Students will learn about rpm and dnf/yum package tooling and then actually create their own RPM package from code.  </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Students will learn about <ins class="diffchange diffchange-inline"><code></ins>rpm<ins class="diffchange diffchange-inline"></code> </ins>and <ins class="diffchange diffchange-inline"><code></ins>dnf<ins class="diffchange diffchange-inline"><</ins>/<ins class="diffchange diffchange-inline">code>/<code></ins>yum<ins class="diffchange diffchange-inline"></code> </ins>package tooling and then actually create their own RPM package from code.  </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>This can be advertised to students as being able to distribute their own <del class="diffchange diffchange-inline">linux</del>-based application to the world.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>This can be advertised to students as being able to distribute their own <ins class="diffchange diffchange-inline">Linux</ins>-based application to the world.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|prerequisites=</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|prerequisites=</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Students should be familiar with:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Students should be familiar with:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* Beginner to Intermediate Shell knowledge (<del class="diffchange diffchange-inline">linux </del>command line)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* Beginner to Intermediate Shell knowledge (<ins class="diffchange diffchange-inline">Linux </ins>command line)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>** Getting around the <del class="diffchange diffchange-inline">linux </del>file system, sudo'ing, editing files, etc.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>** Getting around the <ins class="diffchange diffchange-inline">Linux </ins>file system, <ins class="diffchange diffchange-inline"><code></ins>sudo<ins class="diffchange diffchange-inline"></code></ins>'ing, editing files, etc.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Making and compiling Linux software code</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Making and compiling Linux software code</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** see extended note in the [[#Comments:|Comments]] section below</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** see extended note in the [[#Comments:|Comments]] section below</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|objectives=</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|objectives=</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* Install RPM's and use the dnf/yum command to install and inspect packages</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* Install RPM's and use the <ins class="diffchange diffchange-inline"><code></ins>dnf<ins class="diffchange diffchange-inline"><</ins>/<ins class="diffchange diffchange-inline">code>/<code></ins>yum<ins class="diffchange diffchange-inline"></code> </ins>command to install and inspect packages</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Create a compliant .spec file</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Create a compliant .spec file</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Build an RPM from existing code and assure that it works</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Build an RPM from existing code and assure that it works</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 30:</td>
<td colspan="2" class="diff-lineno">Line 30:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>''Are there other related activities?''</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>''Are there other related activities?''</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* [[<del class="diffchange diffchange-inline">Linux_Beginner_Activity</del>]] - Students can follow this to get command-line basics.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* [[<ins class="diffchange diffchange-inline">Linux Beginner Activity</ins>]] - Students can follow this to get command-line basics.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>** Note that the requirements above ask for slightly more in-depth command-line experience via sudo and code compilation.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>** Note that the requirements above ask for slightly more in-depth command-line experience via <ins class="diffchange diffchange-inline"><code></ins>sudo<ins class="diffchange diffchange-inline"></code> </ins>and code compilation.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* [[<del class="diffchange diffchange-inline">Installing_a_Virtual_Machine</del>]] - If Students need virtual <del class="diffchange diffchange-inline">linux </del>machines for command-line access, they can use this activity.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* [[<ins class="diffchange diffchange-inline">Installing a Virtual Machine</ins>]] - If Students need virtual <ins class="diffchange diffchange-inline">Linux </ins>machines for command-line access, they can use this activity.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* [[<del class="diffchange diffchange-inline">Introduction_to_building_open_source_software</del>]] and [[Build a GnomeMusic Clone (Activity)]] both give <del class="diffchange diffchange-inline">linux </del>compilation and build experience.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* [[<ins class="diffchange diffchange-inline">Introduction to Building Open Source Software</ins>]] and [[Build a GnomeMusic Clone (Activity)]] both give <ins class="diffchange diffchange-inline">Linux </ins>compilation and build experience.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>''What is the rationale for this activity?''</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>''What is the rationale for this activity?''</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* Students may wonder how they can distribute <del class="diffchange diffchange-inline">linux</del>-based code that they develop out to other everyday users. Not many users enjoy compiling code, so the RPM package structure allows easy installation of binary pre-compiled code packages. Basically, a student could have coded a small sample command-line application and now they can send it to others easily. The other side of it is that students, as users of Linux, will be interfacing with RPM packages not of their making and it will be good to have an understanding of the backends of how this works. Students will interface with the dnf and yum commands even if simply using <del class="diffchange diffchange-inline">linux </del>for fun. Now, they can have knowledge into how it works and how they can employ it for their careers and personal uses.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* Students may wonder how they can distribute <ins class="diffchange diffchange-inline">Linux</ins>-based code that they develop out to other everyday users. Not many users enjoy compiling code, so the RPM package structure allows easy installation of binary pre-compiled code packages. Basically, a student could have coded a small sample command-line application and now they can send it to others easily. The other side of it is that students, as users of Linux, will be interfacing with RPM packages not of their making and it will be good to have an understanding of the backends of how this works. Students will interface with the <ins class="diffchange diffchange-inline"><code></ins>dnf<ins class="diffchange diffchange-inline"></code> </ins>and <ins class="diffchange diffchange-inline"><code></ins>yum<ins class="diffchange diffchange-inline"></code> </ins>commands even if simply using <ins class="diffchange diffchange-inline">Linux </ins>for fun. Now, they can have knowledge into how it works and how they can employ it for their careers and personal uses.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 43:</td>
<td colspan="2" class="diff-lineno">Line 43:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==== Keep a working log ====</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==== Keep a working log ====</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Log your shell commands, answers to questions, and commentary in a text file, wiki, or blog. You will be constructing and troubleshooting numerous <del class="diffchange diffchange-inline">linux </del>shell command's and their outputs. Your assignment is to document these commands and the process you went through in an organized fashion. You might use bullet points or a new set of commands on each line. Make sure it is easily consumable by a human (your instructor), as well as yourself 10 years from now.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Log your shell commands, answers to questions, and commentary in a text file, wiki, or blog. You will be constructing and troubleshooting numerous <ins class="diffchange diffchange-inline">Linux </ins>shell command's and their outputs. Your assignment is to document these commands and the process you went through in an organized fashion. You might use bullet points or a new set of commands on each line. Make sure it is easily consumable by a human (your instructor), as well as yourself 10 years from now.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>The data that is the output of the commands is not as interesting as key lines or a summary/comment of their output or on what the command has done - ex: failed, succeeded, why, what it did, what it changed, etc. Write these in complete sentences. Commentary is especially important if you run into problems. When this occurs, state the problem and how you intend to solve it. At the end, you should have a text document with all of the commands, right and wrong, that you went through to get this activity completed. It should read as a timeline of what you did and what your thoughts were, to get the assignment complete. After this is complete, you will summarize the most useful commands into a sort of cheat sheet - this can come in useful for years to come.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>The data that is the output of the commands is not as interesting as key lines or a summary/comment of their output or on what the command has done - ex: failed, succeeded, why, what it did, what it changed, etc. Write these in complete sentences. Commentary is especially important if you run into problems. When this occurs, state the problem and how you intend to solve it. At the end, you should have a text document with all of the commands, right and wrong, that you went through to get this activity completed. It should read as a timeline of what you did and what your thoughts were, to get the assignment complete. After this is complete, you will summarize the most useful commands into a sort of cheat sheet - this can come in useful for years to come.</div></td></tr>
</table>Clif.kussmaulhttp://foss2serve.org/index.php?title=Linux_Package_Management_(Distribute_Your_App)&diff=12644&oldid=prevClif.kussmaul at 10:33, 8 September 20182018-09-08T10:33:51Z<p></p>
<a href="http://foss2serve.org/index.php?title=Linux_Package_Management_(Distribute_Your_App)&diff=12644&oldid=9498">Show changes</a>Clif.kussmaulhttp://foss2serve.org/index.php?title=Linux_Package_Management_(Distribute_Your_App)&diff=9498&oldid=prevDarci.burdge at 17:49, 8 March 20172017-03-08T17:49:59Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:49, 8 March 2017</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 254:</td>
<td colspan="2" class="diff-lineno">Line 254:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category: Coding_and_Style]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category: Coding_and_Style]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category: Product_Packaging_and_Distribution]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category: Product_Packaging_and_Distribution]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">[[Category: Good_Draft]]</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Appendix ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Appendix ===</div></td></tr>
</table>Darci.burdgehttp://foss2serve.org/index.php?title=Linux_Package_Management_(Distribute_Your_App)&diff=9076&oldid=prevHeidi.ellis at 18:43, 15 February 20172017-02-15T18:43:06Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 18:43, 15 February 2017</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 254:</td>
<td colspan="2" class="diff-lineno">Line 254:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category: Coding_and_Style]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category: Coding_and_Style]]</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category: Product_Packaging_and_Distribution]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[Category: Product_Packaging_and_Distribution]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">[[Category: Use_and_Evaluate]]</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
</table>Heidi.ellishttp://foss2serve.org/index.php?title=Linux_Package_Management_(Distribute_Your_App)&diff=8572&oldid=prevClif.kussmaul at 16:11, 5 February 20172017-02-05T16:11:02Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 16:11, 5 February 2017</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 31:</td>
<td colspan="2" class="diff-lineno">Line 31:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Note that the requirements above ask for slightly more in-depth command-line experience via sudo and code compilation.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Note that the requirements above ask for slightly more in-depth command-line experience via sudo and code compilation.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[Installing_a_Virtual_Machine]] - If Students need virtual linux machines for command-line access, they can use this activity.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [[Installing_a_Virtual_Machine]] - If Students need virtual linux machines for command-line access, they can use this activity.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* [[Introduction_to_building_open_source_software]] and [[<del class="diffchange diffchange-inline">Building_a_GnomeMusic_Clone</del>]] both give linux compilation and build experience.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* [[Introduction_to_building_open_source_software]] and [[<ins class="diffchange diffchange-inline">Build a GnomeMusic Clone (Activity)</ins>]] both give linux compilation and build experience.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==== What is the rationale for this activity? ====</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==== What is the rationale for this activity? ====</div></td></tr>
</table>Clif.kussmaulhttp://foss2serve.org/index.php?title=Linux_Package_Management_(Distribute_Your_App)&diff=5301&oldid=prevNyeates: /* Is there background reading material? */2016-02-15T07:19:19Z<p><span class="autocomment">Is there background reading material?</span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 07:19, 15 February 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 21:</td>
<td colspan="2" class="diff-lineno">Line 21:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Background: ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Background: ===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==== Is there background reading material? ====</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==== Is there background reading material? ====</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* http://www.howtogeek.com/191245/beginner-geek-how-to-install-software-on-linux/ - <del class="diffchange diffchange-inline">Read about </del>the <del class="diffchange diffchange-inline">various software installation methods on Linux</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* http://www.control-escape.com/linux/lx-swinstall.html - Various methods to install Linux software</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">* http://www.control-escape.com/linux/lx-swinstall.html</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* http://www.howtogeek.com/191245/beginner-geek-how-to-install-software-on-linux/ - <ins class="diffchange diffchange-inline">Ubuntu-oriented version of </ins>the <ins class="diffchange diffchange-inline">above</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* https://help.ubuntu.com/community/SoftwarePackagingFormats</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* https://help.ubuntu.com/community/SoftwarePackagingFormats <ins class="diffchange diffchange-inline">- This document summarizes major Linux software packaging formats.</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* http://www.rpm.org/wiki/Docs</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* http://www.rpm.org/wiki/Docs <ins class="diffchange diffchange-inline">- List of books and documentation for RPM</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* https://en.m.wikipedia.org/wiki/DNF_(software)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* https://en.m.wikipedia.org/wiki/DNF_(software) <ins class="diffchange diffchange-inline">- General DNF information</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==== Are there other related activities? ====</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==== Are there other related activities? ====</div></td></tr>
</table>Nyeateshttp://foss2serve.org/index.php?title=Linux_Package_Management_(Distribute_Your_App)&diff=5300&oldid=prevNyeates: better interwiki links; added instructor difficulties; spiffied up Appendix2016-02-15T07:06:03Z<p>better interwiki links; added instructor difficulties; spiffied up Appendix</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 07:06, 15 February 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 10:</td>
<td colspan="2" class="diff-lineno">Line 10:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Getting around the linux file system, sudo'ing, editing files, etc.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Getting around the linux file system, sudo'ing, editing files, etc.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Making and compiling Linux software code</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Making and compiling Linux software code</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>** see extended note in the [[#Comments:]] section below</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>** see extended note in the [[#Comments:<ins class="diffchange diffchange-inline">|Comments</ins>]] section below</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|'''Learning Objectives''' || Upon completion, students should be able to:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|'''Learning Objectives''' || Upon completion, students should be able to:</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 112:</td>
<td colspan="2" class="diff-lineno">Line 112:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Compile the ''htop'' project to test that the code can be turned into binary form in your environment.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Compile the ''htop'' project to test that the code can be turned into binary form in your environment.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Before you can create an RPM, code '''must''' compile manually.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Before you can create an RPM, code '''must''' compile manually.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>** See [[#Dependency_Issues]] in the appendix below for detailed configure and make issues that you might run into.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>** See [[#Dependency_Issues<ins class="diffchange diffchange-inline">|Dependency Issues</ins>]] in the appendix below for detailed configure and make issues that you might run into.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Once you have ./configure, make, and make install compiling ''htop'', you can move on to building an RPM for it</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Once you have ./configure, make, and make install compiling ''htop'', you can move on to building an RPM for it</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 196:</td>
<td colspan="2" class="diff-lineno">Line 196:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>What should the instructor know before using this activity?</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>What should the instructor know before using this activity?</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Students should know how to compile Linux software code before doing this activity.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">* </ins>Students should know how to compile Linux software code before doing this activity.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* There exists an activity which covers this: [[Introduction_to_building_open_source_software]]</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*</ins>* There exists an activity which covers this: [[Introduction_to_building_open_source_software]]</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* Particularly, students should have experience using the ''configure'', ''make'', and ''make install'' commands</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*</ins>* Particularly, students should have experience using the ''configure'', ''make'', and ''make install'' commands</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* If students have not compiled in the past, it is common to not have all of the required libraries and modules already installed for the compilation process to succeed. This is a major part of creating RPM's. This setup takes time to troubleshoot and setup, and it could be different on each system if students are not using identical operating systems.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*</ins>* If students have not compiled in the past, it is common to not have all of the required libraries and modules already installed for the compilation process to succeed. This is a major part of creating RPM's. This setup takes time to troubleshoot and setup, and it could be different on each system if students are not using identical operating systems.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div> </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*</ins>If you wanted to do this activity in Ubuntu, Debian, etc:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>If you wanted to do this activity in Ubuntu, Debian, etc:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*</ins>* Students could optionally do this activity on Ubuntu or other Linux OS's which use a different Package Management toolset.  </div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* Students could optionally do this activity on Ubuntu or other Linux OS's which use a different Package Management toolset.  </div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*</ins>* Ubuntu is debian-based and uses the ``dpkg`` command. For more info on equivalent commands, see:</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* Ubuntu is debian-based and uses the ``dpkg`` command. For more info on equivalent commands, see:</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*</ins>** http://wiki.openvz.org/Package_managers</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>** http://wiki.openvz.org/Package_managers</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">*</ins>** http://askubuntu.com/questions/85839/deb-equivalents-to-rpm-commands/85849</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>** http://askubuntu.com/questions/85839/deb-equivalents-to-rpm-commands/85849</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>What are some likely difficulties that an instructor may encounter using this activity?</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>What are some likely difficulties that an instructor may encounter using this activity?</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* Instructors may run into students having build problems. The instructor should implement the commands of this activity on a machine themselves. You may still run into student problems that you did not see, but at least you have the context.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* If you allow students to run on their own systems, there may be more of these compatibility problems. Consider a lab / virtual machine environment or telling students that are on their own environments that they will need to support themselves.</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 225:</td>
<td colspan="2" class="diff-lineno">Line 227:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|'''Materials/Environment''' ||  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|'''Materials/Environment''' ||  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Access to the shell of a Linux operating system that uses RPM (virtualized or on hardware can work)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Access to the shell of a Linux operating system that uses RPM (virtualized or on hardware can work)</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* root access is likely needed - another good vote for virtualized systems (might use <del class="diffchange diffchange-inline">openshift or </del>virtualbox)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* root access is likely needed - another good vote for virtualized systems (might use virtualbox)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|'''Author''' || Nick Yeates</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|'''Author''' || Nick Yeates</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 233:</td>
<td colspan="2" class="diff-lineno">Line 235:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|'''License''' || Creative Commons CC-BY</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|'''License''' || Creative Commons CC-BY</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|}</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Suggestions for Open Source Community: ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Suggestions for Open Source Community: ===</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 279:</td>
<td colspan="2" class="diff-lineno">Line 282:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Other readings<del class="diffchange diffchange-inline">:</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">==== </ins>Other readings <ins class="diffchange diffchange-inline">====</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">While researching this activity, these other resources were found. Instructors and students may find them useful for added reading or background.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div> </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [http://dnf.readthedocs.org/en/latest/command_ref.html DNF Man Page]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* [http://dnf.readthedocs.org/en/latest/command_ref.html DNF Man Page]</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">* https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Writing_a_package_from_scratch</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* https://wiki.archlinux.org/index.php/Arch_User_Repository</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* https://wiki.archlinux.org/index.php/Arch_User_Repository</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* https://wiki.archlinux.org/index.php/Arch_packaging_standards</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* https://wiki.archlinux.org/index.php/Arch_packaging_standards</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>* <del class="diffchange diffchange-inline">https</del>://<del class="diffchange diffchange-inline">fedoraproject</del>.<del class="diffchange diffchange-inline">org</del>/<del class="diffchange diffchange-inline">wiki/Packaging:Guidelines?rd=Packaging</del>/<del class="diffchange diffchange-inline">Guidelines#Writing_a_package_from_scratch</del></div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>* <ins class="diffchange diffchange-inline">http</ins>://<ins class="diffchange diffchange-inline">www</ins>.<ins class="diffchange diffchange-inline">tecmint.com</ins>/<ins class="diffchange diffchange-inline">command-line-tools-to-monitor-linux-performance</ins>/</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Consider breaking these additional steps into a new activity</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">==== </ins>Consider breaking these additional steps into a new activity <ins class="diffchange diffchange-inline">====</ins></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div># Have students host the package on a web source (<del class="diffchange diffchange-inline">ftp? Some </del>free internet service that makes the .rpm accessible by URL)</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">The following can be additional future steps, or a completely separate activity:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div># Have students host the package on a web source (<ins class="diffchange diffchange-inline">A </ins>free internet service that makes the .rpm accessible by URL)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>#* Package Repo location</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>#* Package Repo location</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>#**http://copr.fedorainfracloud.org - Use this for students to make their own packages and repositories</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>#** http://copr.fedorainfracloud.org - Use this for students to make their own packages and repositories</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>#** https://fedorahosted.org/copr/ - The actual community / project page where user manuals and developer resources exist</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>#** https://fedorahosted.org/copr/ - The actual community / project page where user manuals and developer resources exist</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Have each student in the class pair up and try to install the other person's RPM and run the new command</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># Have each student in the class pair up and try to install the other person's RPM and run the new command</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">Ideas on what to create into an RPM:</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">* screen</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">* htop</del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;">* from http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/</del></div></td><td colspan="2"> </td></tr>
</table>Nyeateshttp://foss2serve.org/index.php?title=Linux_Package_Management_(Distribute_Your_App)&diff=5299&oldid=prevNyeates: reworded overview; testing interwiki links2016-02-15T06:50:43Z<p>reworded overview; testing interwiki links</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 06:50, 15 February 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 4:</td>
<td colspan="2" class="diff-lineno">Line 4:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|'''Title''' || Linux RPM package management Part 1 (Packaging the 'htop' command)</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|'''Title''' || Linux RPM package management Part 1 (Packaging the 'htop' command)</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>|'''Overview''' || Students will learn about rpm and dnf/yum package tooling and then actually create their own package from code<del class="diffchange diffchange-inline">, upload it to a public package repository and finally have a classmate install their compiled package</del>. This can be advertised to students as being able to distribute their own linux-based application to the world.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>|'''Overview''' || Students will learn about rpm and dnf/yum package tooling and then actually create their own <ins class="diffchange diffchange-inline">RPM </ins>package from code. This can be advertised to students as being able to distribute their own linux-based application to the world.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-  </div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|'''Prerequisite Knowledge''' ||  Students should be familiar with:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|'''Prerequisite Knowledge''' ||  Students should be familiar with:</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 10:</td>
<td colspan="2" class="diff-lineno">Line 10:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Getting around the linux file system, sudo'ing, editing files, etc.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>** Getting around the linux file system, sudo'ing, editing files, etc.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Making and compiling Linux software code</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Making and compiling Linux software code</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>** see extended note in Comments section below</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>** see extended note in <ins class="diffchange diffchange-inline">the [[#</ins>Comments<ins class="diffchange diffchange-inline">:]] </ins>section below</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|'''Learning Objectives''' || Upon completion, students should be able to:</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|'''Learning Objectives''' || Upon completion, students should be able to:</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 94:</td>
<td colspan="2" class="diff-lineno">Line 94:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* What does the rpmbuild command do?</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* What does the rpmbuild command do?</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Quickly summarize the directory structure when making your own RPM - you will stick this into your cheat sheet later, so make it short.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Quickly summarize the directory structure when making your own RPM - you will stick this into your cheat sheet later, so make it short.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==== Step 3: Create your own 'htop' RPM ====</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==== Step 3: Create your own 'htop' RPM ====</div></td></tr>
</table>Nyeateshttp://foss2serve.org/index.php?title=Linux_Package_Management_(Distribute_Your_App)&diff=5298&oldid=prevNyeates: /* Step 2: RPM's and rpmbuild */ reworded2016-02-15T06:38:58Z<p><span class="autocomment">Step 2: RPM's and rpmbuild: </span> reworded</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 06:38, 15 February 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 85:</td>
<td colspan="2" class="diff-lineno">Line 85:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>#* Document authored by Guru Labs, L.C. released under the CC-BY-NC-ND 2.0 license</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>#* Document authored by Guru Labs, L.C. released under the CC-BY-NC-ND 2.0 license</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># [http://www.ibm.com/developerworks/library/l-rpm1/ Packaging the `wget` command] - Review this example in its entirety</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div># [http://www.ibm.com/developerworks/library/l-rpm1/ Packaging the `wget` command] - Review this example in its entirety</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>#* This will take some time to read <del class="diffchange diffchange-inline">through</del>, but <del class="diffchange diffchange-inline">dont </del>worry about details, as we will step through it again below.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>#* This will take some time to read, but <ins class="diffchange diffchange-inline">don't </ins>worry about details, as we will step through it again below.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>#* If you were to try to follow along in the shell, there may be some <del class="diffchange diffchange-inline">hickups </del>with ''wget''.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>#* If you were to try to follow along in the shell, there may be some <ins class="diffchange diffchange-inline">difficulties </ins>with ''wget''.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>#* Instead, save it for Part 3; You will use this readings structure to <del class="diffchange diffchange-inline">RPM'ize </del>the ''htop'' <del class="diffchange diffchange-inline">project</del>.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>#* Instead, save it for Part 3 <ins class="diffchange diffchange-inline">below</ins>; You will use this readings structure to <ins class="diffchange diffchange-inline">turn </ins>the ''htop'' <ins class="diffchange diffchange-inline">code into an RPM</ins>.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 94:</td>
<td colspan="2" class="diff-lineno">Line 94:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* What does the rpmbuild command do?</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* What does the rpmbuild command do?</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Quickly summarize the directory structure when making your own RPM - you will stick this into your cheat sheet later, so make it short.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>* Quickly summarize the directory structure when making your own RPM - you will stick this into your cheat sheet later, so make it short.</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del style="color: red; font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==== Step 3: Create your own 'htop' RPM ====</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>==== Step 3: Create your own 'htop' RPM ====</div></td></tr>
</table>Nyeateshttp://foss2serve.org/index.php?title=Linux_Package_Management_(Distribute_Your_App)&diff=5297&oldid=prevNyeates at 06:33, 15 February 20162016-02-15T06:33:20Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 06:33, 15 February 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 140:</td>
<td colspan="2" class="diff-lineno">Line 140:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>=== <del class="diffchange diffchange-inline">Deliverables</del>: ===</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>=== <ins class="diffchange diffchange-inline">Deliverable's</ins>: ===</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>One single text document can hold all of what needs to be handed in below. Put them in the following order, first to last, so that the instructor can find them easily.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>One single text document can hold all of what needs to be handed in below. Put them in the following order, first to last, so that the instructor can find them easily.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 191:</td>
<td colspan="2" class="diff-lineno">Line 191:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|}</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|}</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Comments: ===</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>=== Comments: ===</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 220:</td>
<td colspan="2" class="diff-lineno">Line 222:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|'''Level of Difficulty''' || Easy-Medium, for students that meet the pre-req's</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|'''Level of Difficulty''' || Easy-Medium, for students that meet the pre-req's</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>|'''Estimated Time to Completion''' || <del class="diffchange diffchange-inline"> 2-</del>3 hours</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>|'''Estimated Time to Completion''' || 3<ins class="diffchange diffchange-inline">-4 </ins>hours</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|-</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|'''Materials/Environment''' ||  </div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>|'''Materials/Environment''' ||  </div></td></tr>
</table>Nyeates