Last active
October 30, 2023 00:20
-
-
Save askdkc/8054b0edc794db8a902a140460f06fbf to your computer and use it in GitHub Desktop.
Set Up PGroonga Ver 16 on Ubuntu 22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install -y software-properties-common | |
sudo add-apt-repository -y universe | |
sudo add-apt-repository -y ppa:groonga/ppa | |
sudo apt install -y wget lsb-release | |
wget https://packages.groonga.org/ubuntu/groonga-apt-source-latest-$(lsb_release --codename --short).deb | |
sudo apt install -y -V ./groonga-apt-source-latest-$(lsb_release --codename --short).deb | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo gpg --no-default-keyring --keyring /usr/share/keyrings/pdgd-keyring.gpg --import - | |
echo "deb [signed-by=/usr/share/keyrings/pdgd-keyring.gpg] http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list | |
sudo apt update | |
sudo apt install -y postgresql-16 postgresql-contrib-16 | |
sudo apt update | |
sudo apt install -y -V postgresql-16-pgdg-pgroonga |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment