    <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/">
     <channel>
        <title>Linux.com :: how does portage work???</title>
        <link>http://www.linux.com/archive/forums/topic/4492</link>
        <description>Everything Linux and Open Source</description>
        <dc:language>en-us</dc:language> 
        <dc:creator>Linux.com Admin</dc:creator> 
        <admin:generatorAgent rdf:resource="http://www.linux.com" /> 
        <admin:errorReportsTo rdf:resource="mailto:noreply@linux.com" />
       <sy:updatePeriod>hourly</sy:updatePeriod>
       <sy:updateFrequency>1</sy:updateFrequency>
       <docs>http://backend.userland.com/rss</docs>



<div class="xarbb-noteswrapper">
</div>

   <div class="xarbb-noteswrapper">
       <div class="xar-sub rightnote">
           <div>
                    <a href="http://www.linux.com/archive/forums/topic/3290">
Previous Topic</a>
|
                    <a href="http://www.linux.com/archive/forums/topic/4628">
Next Topic</a>
</div>

           <div>
                    <a href="http://www.linux.com/archive/forums/printtopic/4492?theme=print">
Print this topic</a> |
You are not subscribed            </div>
        </div>
        <div style="clear: both;"></div>
    </div>

    <h1>
        <a class="xar-title" href="http://www.linux.com/archive/forums/topic/4492">how does portage work???</a>
   </h1>


   <div class="xarbb-topiccontrols">
<form action="http://www.linux.com/archive/forums?func=jump" method="post">
   <label for="xarbb_jump_menu">Forum Jump</label>
    <select name="f" id="xarbb_jump_menu" onchange="this.form.submit();">
        <optgroup label="Options">
            <option value="3" selected="selected">
Please select forum            </option>
            <option value="3">--------------------</option>
        </optgroup>
        <optgroup label="Forums">
                <option value="1">New to Linux</option>
                <option value="2">Hardware</option>
                <option value="3">Linux Distributions</option>
                <option value="4">Applications</option>
                <option value="5">Programming and Development</option>
                <option value="6">Miscellaneous Discussion</option>
                <option value="7">Linux.com Writers Forum</option>
                <option value="8">Jobs</option>
        </optgroup>
    </select>
    <input type="submit" class="button" value="Jump" />
</form>
<div style="clear: both;"></div>
   </div>

   <div class="xarbb-topiccontrols">

<span class="xar-sub">
    <a href="http://www.linux.com/archive/forums">
Forum Index    </a>
    <span style="font-size: larger;">&#187;</span>
    <a href="http://www.linux.com/archive/forums/category/4181">
        Forums 
    </a>
    <span style="font-size: larger;">&#187;</span>
    <a href="http://www.linux.com/archive/forums/forum/3">
        Linux Distributions   </a>
</span>
<div style="clear: both;"></div>
   </div>

<div class="xarbb-tablewrapper">



   <table>
       <tr>
           <th scope="col">
Author</th>
           <th scope="col">
Message</th>
       </tr>



            <tr>
                <td class="xar-norm author">
                    <div>
                        <a href="http://www.linux.com/archive/roles/418284">r22003</a>
                   </div>
                   <div class="xar-sub">
Joined: Feb 04, 2009<br/>Posts: 10                        <br />
                        <a href="http://www.linux.com/archive/forums?by=418284&amp;func=searchtopics">
Other Topics</a>
                   </div>
               </td>

               <td class="xar-norm message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted Feb 13, 2009 at 7:04:27 PM</span>
                       </div>



<div style="float: left;">
                           <strong class="xar-sub">
Subject: how does portage work???                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div>
                        i was wondering how portage works on a gentoo system.  just curious as how it compares to rpm or deb based systems.  also i can't d/l the dvd for sabayon which i think would be a good shot at me to see this gentoo based portage system.  thanks for the advice.</div>

                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/4492#top">
Back to top</a>
</td>
               <td class="xar-alt">

                        <a href="http://www.linux.com/archive/roles/418284">
                            <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                        </a>
                        <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=418284">
                            <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                       </a>
                            <a href="http://">
                                <img src="modules/xarbb/xarimages/new/icon_www.gif" alt="Website" />
                           </a>
</td>
           </tr>





           <tr>
               <td class="xar-norm author">
                   <strong>

                            <a href="http://www.linux.com/archive/roles/397661">
                                Reed                           </a>
</strong>

                   <span class="xar-sub">
<br />
Joined Feb 07, 2008<br/>Posts: 758<br />
                        <br />
                        <a href="http://www.linux.com/archive/forums?by=397661&amp;func=searchtopics">
Other Topics                        </a>
                    </span>
                </td>

                <td class="xar-accent message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted:
                                Feb 13, 2009 7:45:49 PM                           </span>
                       </div>
                       <div class="rightnote">
</div>
                       <div style="float:left;">
                           <strong class="xar-sub">
Subject:
                                <a name="1209257" href="http://www.linux.com/archive/forums/topic/4492#1209257">
                                    Re:  how does portage work???                                </a>
                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div style="clear: left;">
                        http://en.wikipedia.org/wiki/Portage_(software)
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&amp;chap=1

The biggest difference between deb or rpm systems, is probably that portage uses a shell script that downloads and compiles the software from source, rather than installing a binary package.  As such, you can specify different features you'd like to include or exclude based on your needs, and, since it's compiled for your system, you should in theory get some performance boost.  Although with most programs on a modern system, the increase isn't likely to be very significant.  It can also take a very long time to compile a large program from source.

Another option is Arch Linux, http://www.archlinux.org/, which primarily uses binary packages, but also has the option to use their Arch Build Tree to compile from source through a PKGBUILD script, similar to Gentoo's ebuild scripts. There is also the Arch Users Repository, which is a collection of unofficial PKGBUILDs created by the community.
[Modified by: Reed on February 13, 2009 02:46 PM]
                    </div>
                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/4492#top">
Back to top</a>
</td>

               <td class="xar-alt">

                            <a href="http://www.linux.com/archive/roles/397661">
                                <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                            </a>
                            <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=397661">
                                <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                           </a>
                                <a href="http://">
                                    <img src="modules/xarbb/xarimages/new/icon_www.gif" alt="Website" />
                               </a>
</td>
           </tr>

           <tr>
               <td class="xar-norm author">
                   <strong>

                            <a href="http://www.linux.com/archive/roles/416738">
                                FieserKiller                           </a>
</strong>

                   <span class="xar-sub">
<br />
Joined Jan 12, 2009<br/>Posts: 25<br />
                        <br />
                        <a href="http://www.linux.com/archive/forums?by=416738&amp;func=searchtopics">
Other Topics                        </a>
                    </span>
                </td>

                <td class="xar-norm message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted:
                                Feb 13, 2009 8:44:02 PM                           </span>
                       </div>
                       <div class="rightnote">
</div>
                       <div style="float:left;">
                           <strong class="xar-sub">
Subject:
                                <a name="1209261" href="http://www.linux.com/archive/forums/topic/4492#1209261">
                                    how does portage work???                                </a>
                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div style="clear: left;">
                        yeah, portage ebuilds are basically shell scripts (mostly just defining some dependencies and setting some variables like version, licence, forbidden optimization flags for gcc, download path, etc). Portage then downloads and untars the sources and runs configure,make &amp; make install. Packages which can be configured on build time (eg. to remove/add features, such as optional codec support for media players, or gui frontends in qt/gtk) are handled by so called use-flags which are simple keywords you can set or unset. 
When finished portage merges the compiled result into the system watching for filename collisions (colliding config files mostly on updates) and lets you merge that files interactively.                    </div>
                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/4492#top">
Back to top</a>
</td>

               <td class="xar-alt">

                            <a href="http://www.linux.com/archive/roles/416738">
                                <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                            </a>
                            <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=416738">
                                <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                           </a>
                                <a href="http://">
                                    <img src="modules/xarbb/xarimages/new/icon_www.gif" alt="Website" />
                               </a>
</td>
           </tr>

           <tr>
               <td class="xar-norm author">
                   <strong>

                            <a href="http://www.linux.com/archive/roles/417615">
                                gimcrack                           </a>
</strong>

                   <span class="xar-sub">
<br />
Joined Jan 25, 2009<br/>Posts: 6<br />
                        <br />
                        <a href="http://www.linux.com/archive/forums?by=417615&amp;func=searchtopics">
Other Topics                        </a>
                    </span>
                </td>

                <td class="xar-accent message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted:
                                Feb 15, 2009 4:11:45 AM                           </span>
                       </div>
                       <div class="rightnote">
</div>
                       <div style="float:left;">
                           <strong class="xar-sub">
Subject:
                                <a name="1209345" href="http://www.linux.com/archive/forums/topic/4492#1209345">
                                    Re:  how does portage work???                                </a>
                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div style="clear: left;">
                        I use Sabayon for a while. Only thing I didn't like about it. That I think portage is much slower then using deb. So I'm a much of a debian distro user. I stay away from any Gentoo distro. That's just my two cent worth.                    </div>
                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/4492#top">
Back to top</a>
</td>

               <td class="xar-alt">

                            <a href="http://www.linux.com/archive/roles/417615">
                                <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                            </a>
                            <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=417615">
                                <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                           </a>
                                <a href="http://">
                                    <img src="modules/xarbb/xarimages/new/icon_www.gif" alt="Website" />
                               </a>
</td>
           </tr>

           <tr>
               <td class="xar-norm author">
                   <strong>

                            <a href="http://www.linux.com/archive/roles/386456">
                                Rubberman                           </a>
</strong>

                   <span class="xar-sub">
<br />
Joined Jul 30, 2007<br/>Posts: 944<br />
Location:40 miles west of Chicago<br />
                        <br />
                        <a href="http://www.linux.com/archive/forums?by=386456&amp;func=searchtopics">
Other Topics                        </a>
                    </span>
                </td>

                <td class="xar-norm message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted:
                                Feb 16, 2009 5:20:56 AM                           </span>
                       </div>
                       <div class="rightnote">
</div>
                       <div style="float:left;">
                           <strong class="xar-sub">
Subject:
                                <a name="1209378" href="http://www.linux.com/archive/forums/topic/4492#1209378">
                                    how does portage work???                                </a>
                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div style="clear: left;">
                        Of course portage is slower than deb, or yum, or synaptic (apt-get). Those install already-built binaries whereas portage does a complete build of the software before installing it. However, if it builds successfully, you know that it is built specifically to run in your system.<p class="hiddensignature">
Sometimes real fast is almost as good as real time.
Remember, Google is your friend!</p>
                    </div>
                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/4492#top">
Back to top</a>
</td>

               <td class="xar-alt">

                            <a href="http://www.linux.com/archive/roles/386456">
                                <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                            </a>
                            <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=386456">
                                <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                           </a>
                                <a href="http://">
                                    <img src="modules/xarbb/xarimages/new/icon_www.gif" alt="Website" />
                               </a>
                                <a href="aim:goim?screenname=vikrant48&amp;message=Hello+Are+you+there?">
                                    <img src="modules/xarbb/xarimages/new/icon_aim.gif" alt="AOL Instant Messenger" />
                               </a>
</td>
           </tr>

           <tr>
               <td class="xar-norm author">
                   <strong>

                            <a href="http://www.linux.com/archive/roles/419364">
                                Crash-Override                           </a>
</strong>

                   <span class="xar-sub">
<br />
Joined Feb 20, 2009<br/>Posts: 3<br />
Location:Dallas, TX<br />
                        <br />
                        <a href="http://www.linux.com/archive/forums?by=419364&amp;func=searchtopics">
Other Topics                        </a>
                    </span>
                </td>

                <td class="xar-accent message">
                   <div class="xarbb-messagecontrols">
                       <div class="leftnote">
                           <span class="xar-sub">
Posted:
                                Feb 20, 2009 6:05:52 PM                           </span>
                       </div>
                       <div class="rightnote">
</div>
                       <div style="float:left;">
                           <strong class="xar-sub">
Subject:
                                <a name="1209709" href="http://www.linux.com/archive/forums/topic/4492#1209709">
                                    how does portage work???                                </a>
                            </strong>
                        </div>
                        <div style="clear: both;"></div>
                    </div>

                    <div style="clear: left;">
                        its just like yum and apt-get except it compiles from source instead of untarballing/unrpming the binariesm, I like it<p class="hiddensignature">
HACKERS OF THE WORLD UNITE!</p>
                    </div>
                </td>
            </tr>

            <tr>
                <td class="xar-norm author">
                    <a href="http://www.linux.com/archive/forums/topic/4492#top">
Back to top</a>
</td>

               <td class="xar-alt">

                            <a href="http://www.linux.com/archive/roles/419364">
                                <img src="modules/xarbb/xarimages/new/icon_profile.gif" alt="Profile" />
                            </a>
                            <a href="http://www.linux.com/archive/?module=roles&amp;func=email&amp;uid=419364">
                                <img src="modules/xarbb/xarimages/new/icon_email.gif" alt="Email" />
                           </a>
                                <a href="http://">
                                    <img src="modules/xarbb/xarimages/new/icon_www.gif" alt="Website" />
                               </a>
</td>
           </tr>
</table>
</div>

<div class="xarbb-topiccontrols">

<span class="xar-sub">
    <a href="http://www.linux.com/archive/forums">
Forum Index    </a>
    <span style="font-size: larger;">&#187;</span>
    <a href="http://www.linux.com/archive/forums/category/4181">
        Forums 
    </a>
    <span style="font-size: larger;">&#187;</span>
    <a href="http://www.linux.com/archive/forums/forum/3">
        Linux Distributions   </a>
</span>

</div>



            </channel>
</rss>
