<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>repo on PIG</title>
    <link>https://pig.pgsty.com/v1.11/tags/repo/</link>
    <description>Recent content in repo on PIG</description>
    <generator>Hugo</generator>
    <language>en</language>
    
    
    
      <lastBuildDate>Sun, 06 Dec 2026 08:44:11 +0800</lastBuildDate>
    
    
      <atom:link href="https://pig.pgsty.com/v1.11/tags/repo/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
        <title>pig repo</title>
        <link>https://pig.pgsty.com/v1.11/repo/</link>
        
        
        
        <guid>https://pig.pgsty.com/v1.11/repo/</guid>
        <description>&lt;p&gt;&lt;code&gt;pig repo&lt;/code&gt; manages Linux package repositories. Use it to add or remove APT/YUM/DNF sources, refresh indexes, and create or extract offline bundles. &lt;code&gt;repo create&lt;/code&gt; also supports macOS through SOW.&lt;/p&gt;&#xA;&lt;div class=&#34;td-table-scroll td-table-scroll--full td-table-scroll--static&#34;&gt;&#xA;&lt;table class=&#34;full-width wide expand td-table--wide&#34;&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th scope=&#34;col&#34; style=&#34;text-align: left&#34;&gt;Command&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34; style=&#34;text-align: left&#34;&gt;Description&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34; style=&#34;text-align: left&#34;&gt;Notes&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo list&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Print available repositories and modules&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo info&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Show repository details&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo status&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Show current repository status&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo add&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Add repositories&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo set&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Clear, overwrite, and update repositories&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo rm&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Remove repositories&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo update&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Update repository cache&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo create&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Create local YUM/APT repository&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Linux: sudo/root; macOS: current user&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo cache&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Create offline package from local repo&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo boot&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Bootstrap repository from offline package&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Requires sudo or root&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;repo reload&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;Refresh repository catalog&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: left&#34;&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;h2 id=&#34;quick-start&#34;&gt;Quick Start&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;On a host with working OS repositories, add the PostgreSQL repositories and refresh their indexes:&lt;/p&gt;</description>
      </item>
    <item>
        <title>Installation</title>
        <link>https://pig.pgsty.com/v1.11/install/</link>
        
        
        
        <guid>https://pig.pgsty.com/v1.11/install/</guid>
        <description>&lt;p&gt;Install PIG with the Linux installer, a system package, or a release archive. The current version is &lt;strong&gt;v1.11.0&lt;/strong&gt;. The &lt;a href=&#34;https://pig.pgsty.com/v1.11/download/&#34;&gt;download page&lt;/a&gt; lists all release files.&lt;/p&gt;&#xA;&lt;h2 id=&#34;script-installation&#34;&gt;Script installation&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;On Linux, run:&lt;/p&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-4cb3a390-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;bash&#34; data-td-line-count=&#34;1&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-4cb3a390-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;curl -fsSL https://repo.pigsty.io/pig &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; bash -s 1.11.0&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;In mainland China, use:&lt;/p&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-4cb3a390-fence-1&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;bash&#34; data-td-line-count=&#34;1&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-4cb3a390-fence-1-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;curl -fsSL https://repo.pigsty.cc/pig &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; bash -s 1.11.0&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;The script detects the architecture, downloads the RPM or DEB package, and installs it with &lt;code&gt;rpm&lt;/code&gt; or &lt;code&gt;dpkg&lt;/code&gt;. Installation requires root or &lt;code&gt;sudo&lt;/code&gt; access.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Getting Started</title>
        <link>https://pig.pgsty.com/v1.11/start/</link>
        
        
        
        <guid>https://pig.pgsty.com/v1.11/start/</guid>
        <description>&lt;p&gt;This tutorial installs PostgreSQL 18 and pgvector, starts a local test instance, and enables the extension in a database.&lt;/p&gt;&#xA;&lt;p&gt;Use a &lt;a href=&#34;https://pig.pgsty.com/v1.11/intro/#linux-compatibility&#34;&gt;supported Linux test host&lt;/a&gt; with internet access and &lt;code&gt;curl&lt;/code&gt; installed. You need root or &lt;code&gt;sudo&lt;/code&gt; access. Run the commands in order.&lt;/p&gt;&#xA;&lt;h2 id=&#34;installation&#34;&gt;Install PIG&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-ef5fdf82-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;bash&#34; data-td-line-count=&#34;2&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-ef5fdf82-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;curl -fsSL https://repo.pigsty.io/pig &lt;span class=&#34;p&#34;&gt;|&lt;/span&gt; bash -s 1.11.0&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pig version&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;In mainland China, use &lt;code&gt;https://repo.pigsty.cc/pig&lt;/code&gt; instead. The installer selects the RPM or DEB package for your host. See &lt;a href=&#34;https://pig.pgsty.com/v1.11/install/&#34;&gt;Installation&lt;/a&gt; for other methods.&lt;/p&gt;</description>
      </item>
    
  </channel>
</rss>
