<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>install on PIG</title>
    <link>https://pig.pgsty.com/tags/install/</link>
    <description>Recent content in install on PIG</description>
    <generator>Hugo</generator>
    <language>en</language>
    
    
    
      <lastBuildDate>Thu, 03 Sep 2026 14:13:40 +0800</lastBuildDate>
    
    
      <atom:link href="https://pig.pgsty.com/tags/install/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
        <title>pig v1.6.1</title>
        <link>https://pig.pgsty.com/release/pig-1.6.1/</link>
        <pubDate>Thu, 30 Jul 2026 00:00:00 +0000</pubDate>
        
        <guid>https://pig.pgsty.com/release/pig-1.6.1/</guid>
        <description>&lt;p&gt;&lt;code&gt;pig&lt;/code&gt; v1.6.1 is a maintenance release on top of &lt;a href=&#34;https://pig.pgsty.com/release/pig-1.6.0/&#34;&gt;v1.6.0&lt;/a&gt;. It carries no new&#xA;commands and no flag changes — the point of the release is the catalog that ships inside the&#xA;binary.&lt;/p&gt;&#xA;&lt;h2 id=&#34;what-changed&#34;&gt;What changed&#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Extension catalog refreshed.&lt;/strong&gt; The embedded &lt;code&gt;extension.csv&lt;/code&gt; is regenerated from the&#xA;Pigsty package repositories, so &lt;code&gt;pig ext list&lt;/code&gt; and &lt;code&gt;pig install&lt;/code&gt; resolve against current&#xA;package versions without a &lt;code&gt;pig ext reload&lt;/code&gt; round trip.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Pigsty version aligned to 4.5.0.&lt;/strong&gt; The embedded Pigsty version that &lt;code&gt;pig sty&lt;/code&gt; and&#xA;&lt;code&gt;pig status&lt;/code&gt; report now points at Pigsty 4.5.0.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Version strings bumped&lt;/strong&gt; across the build metadata and &lt;code&gt;pig update&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The catalog embedded in the v1.6.1 release covers 562 packaged extensions across PostgreSQL&#xA;14–18 on EL 8/9/10, Debian 12/13, and Ubuntu 22/24/26, for both &lt;code&gt;x86_64&lt;/code&gt; and &lt;code&gt;aarch64&lt;/code&gt;.&#xA;Running &lt;code&gt;pig ext reload&lt;/code&gt; can replace that release snapshot with a newer online catalog.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Getting Started</title>
        <link>https://pig.pgsty.com/start/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://pig.pgsty.com/start/</guid>
        <description>&lt;p&gt;Here is a simple getting started tutorial to help you experience the core capabilities of the PIG package manager.&lt;/p&gt;&#xA;&lt;h2 id=&#34;short-version&#34;&gt;Short Version&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-75b61dfa-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;bash&#34; data-td-line-count=&#34;3&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-75b61dfa-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   &lt;span class=&#34;c1&#34;&gt;# Install PIG from Cloudflare&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pig repo &lt;span class=&#34;nb&#34;&gt;set&lt;/span&gt;                                   &lt;span class=&#34;c1&#34;&gt;# One-time setup for Linux, Pigsty + PGDG repos (overwrites!)&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pig install -v &lt;span class=&#34;m&#34;&gt;18&lt;/span&gt; -y pg18 pg_duckdb vector     &lt;span class=&#34;c1&#34;&gt;# Install PG 18 kernel, pg_duckdb, pgvector extensions...&lt;/span&gt;&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;These commands install &lt;strong&gt;host packages&lt;/strong&gt;. They do not run &lt;code&gt;CREATE EXTENSION&lt;/code&gt;, change &lt;code&gt;shared_preload_libraries&lt;/code&gt;, or restart PostgreSQL. After installation, run &lt;code&gt;pig ext info pg_duckdb&lt;/code&gt; and &lt;code&gt;pig ext info vector&lt;/code&gt;, apply the displayed preload/DDL steps to the intended database, and validate the service before production use.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Installation</title>
        <link>https://pig.pgsty.com/install/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://pig.pgsty.com/install/</guid>
        <description>&lt;h2 id=&#34;script-installation&#34;&gt;Script Installation&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;The simplest way to install &lt;code&gt;pig&lt;/code&gt; is to run the following installation script:&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Default Installation&lt;/strong&gt; (Cloudflare CDN):&lt;/p&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-6474aa43-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-6474aa43-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&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;&lt;strong&gt;China Mirror&lt;/strong&gt;:&lt;/p&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-6474aa43-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-6474aa43-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&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;This script downloads the latest &lt;code&gt;pig&lt;/code&gt; RPM/DEB package from the Pigsty &lt;a href=&#34;https://pigsty.io/docs/repo/&#34;&gt;software repository&lt;/a&gt; and installs it using &lt;code&gt;rpm&lt;/code&gt; or &lt;code&gt;dpkg&lt;/code&gt;.&#xA;Script installation targets Linux x86_64 / aarch64 RPM or DEB distributions. On macOS, use the binary from the release tarball.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Bootstrapping a Pigsty Controller as a Recoverable Transaction</title>
        <link>https://pig.pgsty.com/design/native-sty-boot/</link>
        <pubDate>Fri, 14 Aug 2026 00:00:00 +0000</pubDate>
        
        <guid>https://pig.pgsty.com/design/native-sty-boot/</guid>
        <description>&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;strong&gt;Decision date:&lt;/strong&gt; 2026-08-14&lt;br&gt;&#xA;&lt;strong&gt;Status:&lt;/strong&gt; Implemented and released in &lt;a href=&#34;https://pig.pgsty.com/release/pig-1.8.0/&#34;&gt;pig v1.8.0&lt;/a&gt;.&lt;br&gt;&#xA;&lt;strong&gt;Current reference:&lt;/strong&gt; &lt;a href=&#34;https://pig.pgsty.com/sty/#sty-boot&#34;&gt;&lt;code&gt;pig sty boot&lt;/code&gt;&lt;/a&gt;&lt;br&gt;&#xA;&lt;strong&gt;Scope:&lt;/strong&gt; Preparing a Pigsty controller and its package sources; not deploying a database cluster.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;decision&#34;&gt;Decision&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;code&gt;pig sty boot&lt;/code&gt; should be one native, failure-aware controller bootstrap workflow. It resolves an&#xA;explicit source before privilege elevation, prepares online or offline repositories, installs only&#xA;the required controller packages, proves Ansible is usable, and performs bounded finishing checks.&lt;/p&gt;</description>
      </item>
    <item>
        <title>pig v0.7.0</title>
        <link>https://pig.pgsty.com/release/pig-0.7.0/</link>
        <pubDate>Fri, 07 Nov 2025 00:00:00 +0000</pubDate>
        
        <guid>https://pig.pgsty.com/release/pig-0.7.0/</guid>
        <description>&lt;ul&gt;&#xA;&lt;li&gt;Add support for Debian 13 and EL 10 distributions&lt;/li&gt;&#xA;&lt;li&gt;Massive extension updates to the latest versions with PostgreSQL 18 support&lt;/li&gt;&#xA;&lt;li&gt;Almost all Rust extensions now support PG 18 via pgrx 0.16.1&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;pig build&lt;/code&gt; command overhaul&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;pig build pkg &amp;lt;pkg&amp;gt;&lt;/code&gt; will now download source, prepare deps, and build in one go&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;pig build pgrx&lt;/code&gt; is now separated from &lt;code&gt;pig build rust&lt;/code&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;pig build pgrx [-v pgrx_version]&lt;/code&gt; can now use existing PG installation directly&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;pig build dep&lt;/code&gt; will now handle extension dependencies on both EL and Debian systems&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;pig build ext&lt;/code&gt; now has more compact and elegant output, can build RPM on EL without build script&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;pig build spec&lt;/code&gt; now supports downloading spec files directly from Pigsty repo&lt;/li&gt;&#xA;&lt;li&gt;&lt;code&gt;pig build repo&lt;/code&gt; / &lt;code&gt;pig repo add&lt;/code&gt; / &lt;code&gt;pig repo set&lt;/code&gt; now use &lt;code&gt;node,pgsql,infra&lt;/code&gt; as default repo modules instead of &lt;code&gt;node,pgdg,pigsty&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;Optimized error logging&lt;/li&gt;&#xA;&lt;li&gt;Brand new catalog website based on hugo and hextra&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;checksums&#34;&gt;Checksums&#xA;&lt;/h2&gt;&#xA;| File | Checksum |&#xA;| --- | --- |&#xA;| [pig\_0\.7\.0\-1\_amd64\.deb](https://github.com/pgsty/pig/releases/download/v0.7.0/pig_0.7.0-1_amd64.deb) | MD5 · `ad60f9abcde954769e46eb23de61965e` |&#xA;| [pig\_0\.7\.0\-1\_arm64\.deb](https://github.com/pgsty/pig/releases/download/v0.7.0/pig_0.7.0-1_arm64.deb) | MD5 · `aa15d7088d561528e38b2778fe8f7cf9` |&#xA;| [pig\-0\.7\.0\-1\.aarch64\.rpm](https://github.com/pgsty/pig/releases/download/v0.7.0/pig-0.7.0-1.aarch64.rpm) | MD5 · `05549fe01008e04f8d5a59d4f2a5f0b8` |&#xA;| [pig\-0\.7\.0\-1\.x86\_64\.rpm](https://github.com/pgsty/pig/releases/download/v0.7.0/pig-0.7.0-1.x86_64.rpm) | MD5 · `0cc9e46c7c72d43c127a6ad115873b67` |&#xA;| [pig\-v0\.7\.0\.darwin\-amd64\.tar\.gz](https://github.com/pgsty/pig/releases/download/v0.7.0/pig-v0.7.0.darwin-amd64.tar.gz) | MD5 · `ddacfb052f3f3e5567a02e92fdb31cdd` |&#xA;| [pig\-v0\.7\.0\.darwin\-arm64\.tar\.gz](https://github.com/pgsty/pig/releases/download/v0.7.0/pig-v0.7.0.darwin-arm64.tar.gz) | MD5 · `17d25b565308d3d35513e4b0d824946b` |&#xA;| [pig\-v0\.7\.0\.linux\-amd64\.tar\.gz](https://github.com/pgsty/pig/releases/download/v0.7.0/pig-v0.7.0.linux-amd64.tar.gz) | MD5 · `ee7e055ceff638039956765fb747f80b` |&#xA;| [pig\-v0\.7\.0\.linux\-arm64\.tar\.gz](https://github.com/pgsty/pig/releases/download/v0.7.0/pig-v0.7.0.linux-arm64.tar.gz) | MD5 · `284e674807b87447d4b33691fd7a420d` |&lt;div class=&#34;td-release-card-static&#34;&gt;&#xA;  &lt;p&gt;&lt;strong&gt;v0.7.0&lt;/strong&gt; · &lt;time datetime=&#34;2025-11-07&#34;&gt;2025-11-07&lt;/time&gt;&lt;/p&gt;</description>
      </item>
    <item>
        <title>pig v0.3.2</title>
        <link>https://pig.pgsty.com/release/pig-0.3.2/</link>
        <pubDate>Fri, 21 Mar 2025 00:00:00 +0000</pubDate>
        
        <guid>https://pig.pgsty.com/release/pig-0.3.2/</guid>
        <description>&lt;h2 id=&#34;enhancement&#34;&gt;Enhancement&#xA;&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;New extensions&lt;/li&gt;&#xA;&lt;li&gt;Use &lt;code&gt;upx&lt;/code&gt; to reduce binary size&lt;/li&gt;&#xA;&lt;li&gt;Remove embedded pigsty to reduce binary size&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;td-release-card-static&#34;&gt;&#xA;  &lt;p&gt;&lt;strong&gt;v0.3.2&lt;/strong&gt; · &lt;time datetime=&#34;2025-03-21&#34;&gt;2025-03-21&lt;/time&gt;&lt;/p&gt;&#xA;  &lt;ul&gt;&#xA;    &lt;li&gt;&lt;a href=&#34;https://github.com/pgsty/pig/releases/tag/v0.3.2&#34;&gt;View release&lt;/a&gt;&lt;/li&gt;&#xA;    &lt;li&gt;&lt;a href=&#34;https://github.com/pgsty/pig/archive/refs/tags/v0.3.2.tar.gz&#34;&gt;Source · tar.gz&lt;/a&gt;&lt;/li&gt;&#xA;    &lt;li&gt;&lt;a href=&#34;https://github.com/pgsty/pig/archive/refs/tags/v0.3.2.zip&#34;&gt;Source · zip&lt;/a&gt;&lt;/li&gt;&#xA;    &lt;li&gt;&lt;a href=&#34;https://github.com/pgsty/pig&#34;&gt;pgsty/pig&lt;/a&gt;&lt;/li&gt;&#xA;  &lt;/ul&gt;&#xA;&lt;/div&gt;</description>
      </item>
    <item>
        <title>The PostgreSQL &#39;Supply Cut&#39; and Trust Issues in Software Supply Chain</title>
        <link>https://pig.pgsty.com/article/pg-mirror-pigsty/</link>
        <pubDate>Fri, 15 Aug 2025 00:00:00 +0000</pubDate>
        
        <guid>https://pig.pgsty.com/article/pg-mirror-pigsty/</guid>
        <description>&lt;p&gt;This month saw a high-profile &amp;ldquo;open source supply cut&amp;rdquo; incident — &lt;a href=&#34;https://vonng.com/en/cloud/kubesphere-rugpull&#34;&gt;KubeSphere deleting images and running away&lt;/a&gt;,&#xA;but there&amp;rsquo;s another slightly more subtle &amp;ldquo;chokepoint case&amp;rdquo; I mentioned last month — &lt;a href=&#34;https://pig.pgsty.com/article/pg-mirror-break/&#34;&gt;&amp;ldquo;Chokepoint: PGDG Cuts Mirror Sync Channels&amp;rdquo;&lt;/a&gt;.&#xA;This &amp;ldquo;PostgreSQL supply cut&amp;rdquo; played the role of litmus test, nicely revealing the true colors of various database and cloud vendors.&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;m deeply disappointed and have stopped treating domestic cloud vendors and university mirrors as upstream software supply chain sources, directly building my own up-to-date domestic mirror of PGDG YUM/APT repositories.&lt;/p&gt;</description>
      </item>
    <item>
        <title>PGDG Cuts Off Mirror Sync Channel</title>
        <link>https://pig.pgsty.com/article/pg-mirror-break/</link>
        <pubDate>Mon, 07 Jul 2025 00:00:00 +0000</pubDate>
        
        <guid>https://pig.pgsty.com/article/pg-mirror-break/</guid>
        <description>&lt;p&gt;Recently, while building Pigsty offline packages, I discovered that the PostgreSQL version installed during local testing wasn&amp;rsquo;t quite right - 17.4 was behind the latest 17.5 by one minor version. Also, when testing on EL10,&#xA;I found several repositories were throwing errors. Strangely, using the global default repository in Hong Kong worked fine, but once using Chinese mirror sites locally, errors occurred.&lt;/p&gt;&#xA;&lt;img class=&#34;td-image&#34; src=&#34;https://pig.pgsty.com/article/pg-mirror-break/tsinghua.webp&#34; alt=&#34;TUNA PostgreSQL mirror stopped at an old sync timestamp&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;&lt;p&gt;Upon closer inspection, I found that domestic mirror sites had all lost synchronization with the PostgreSQL upstream repository: Tsinghua University Open-Source Software Mirror Site (TUNA) last successful sync was May 16th,&#xA;while Alibaba-Cloud Mirror Site&amp;rsquo;s last sync timestamp was March 31, 2025. Foreign mirror sites like mirrors.xtom.de also had this problem, with last sync on June 20th, though you could clearly see signs of manual updates and disconnection from sync.&lt;/p&gt;</description>
      </item>
    
  </channel>
</rss>
