مرورگر شما انتخاب بدون JavaScript را پشتیبانی نمیکند؛ دستورهای همهٔ ترکیبها زیر هم آمدهاند.
bash · Ubuntu 24.04
کپی همه
۱ کلید امضای dacker
کپی
# 1) Add the dacker signing key sudo curl -fsSL https://repo.dacker.ir/dacker.gpg -o /usr/share/keyrings/dacker.gpg
۲ افزودن مخزن
کپی
# 2) Add the repository sudo curl -fsSL https://repo.dacker.ir/apt/sources/dacker-postgresql.sources -o /etc/apt/sources.list.d/dacker-postgresql.sources
۳ نصب
کپی
# 3) Install sudo apt update sudo apt install postgresql-18
۴ بررسی نصب
کپی
# 4) Check the installation psql --version
بهجای فایل .sources ، یک خط .list میخواهید؟
جایگزین مرحلهٔ ۲
کپی
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/dacker.gpg] https://repo.dacker.ir/apt/postgresql noble main" | sudo tee /etc/apt/sources.list.d/dacker-postgresql.list
bash · Ubuntu 22.04
کپی همه
۱ کلید امضای dacker
کپی
# 1) Add the dacker signing key sudo curl -fsSL https://repo.dacker.ir/dacker.gpg -o /usr/share/keyrings/dacker.gpg
۲ افزودن مخزن
کپی
# 2) Add the repository sudo curl -fsSL https://repo.dacker.ir/apt/sources/dacker-postgresql.list -o /etc/apt/sources.list.d/dacker-postgresql.list
۳ نصب
کپی
# 3) Install sudo apt update sudo apt install postgresql-18
۴ بررسی نصب
کپی
# 4) Check the installation psql --version
PostgreSQL 18 برای CentOS 7 در دسترس نیست.
PGDG برای این توزیع مخزن PostgreSQL 18 منتشر نمیکند.
برای این توزیعها هست: Ubuntu 24.04 ، Ubuntu 22.04 ، AlmaLinux / Rocky / RHEL 9 ، AlmaLinux / Rocky / RHEL 8
bash · Ubuntu 24.04
کپی همه
۱ کلید امضای dacker
کپی
# 1) Add the dacker signing key sudo curl -fsSL https://repo.dacker.ir/dacker.gpg -o /usr/share/keyrings/dacker.gpg
۲ افزودن مخزن
کپی
# 2) Add the repository sudo curl -fsSL https://repo.dacker.ir/apt/sources/dacker-postgresql.sources -o /etc/apt/sources.list.d/dacker-postgresql.sources
۳ نصب
کپی
# 3) Install sudo apt update sudo apt install postgresql-17
۴ بررسی نصب
کپی
# 4) Check the installation psql --version
بهجای فایل .sources ، یک خط .list میخواهید؟
جایگزین مرحلهٔ ۲
کپی
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/dacker.gpg] https://repo.dacker.ir/apt/postgresql noble main" | sudo tee /etc/apt/sources.list.d/dacker-postgresql.list
bash · Ubuntu 22.04
کپی همه
۱ کلید امضای dacker
کپی
# 1) Add the dacker signing key sudo curl -fsSL https://repo.dacker.ir/dacker.gpg -o /usr/share/keyrings/dacker.gpg
۲ افزودن مخزن
کپی
# 2) Add the repository sudo curl -fsSL https://repo.dacker.ir/apt/sources/dacker-postgresql.list -o /etc/apt/sources.list.d/dacker-postgresql.list
۳ نصب
کپی
# 3) Install sudo apt update sudo apt install postgresql-17
۴ بررسی نصب
کپی
# 4) Check the installation psql --version
PostgreSQL 17 برای CentOS 7 در دسترس نیست.
PGDG برای این توزیع مخزن PostgreSQL 17 منتشر نمیکند.
برای این توزیعها هست: Ubuntu 24.04 ، Ubuntu 22.04 ، AlmaLinux / Rocky / RHEL 9 ، AlmaLinux / Rocky / RHEL 8
bash · Ubuntu 24.04
کپی همه
۱ کلید امضای dacker
کپی
# 1) Add the dacker signing key sudo curl -fsSL https://repo.dacker.ir/dacker.gpg -o /usr/share/keyrings/dacker.gpg
۲ افزودن مخزن
کپی
# 2) Add the repository sudo curl -fsSL https://repo.dacker.ir/apt/sources/dacker-postgresql.sources -o /etc/apt/sources.list.d/dacker-postgresql.sources
۳ نصب
کپی
# 3) Install sudo apt update sudo apt install postgresql-16
۴ بررسی نصب
کپی
# 4) Check the installation psql --version
بهجای فایل .sources ، یک خط .list میخواهید؟
جایگزین مرحلهٔ ۲
کپی
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/dacker.gpg] https://repo.dacker.ir/apt/postgresql noble main" | sudo tee /etc/apt/sources.list.d/dacker-postgresql.list
bash · Ubuntu 22.04
کپی همه
۱ کلید امضای dacker
کپی
# 1) Add the dacker signing key sudo curl -fsSL https://repo.dacker.ir/dacker.gpg -o /usr/share/keyrings/dacker.gpg
۲ افزودن مخزن
کپی
# 2) Add the repository sudo curl -fsSL https://repo.dacker.ir/apt/sources/dacker-postgresql.list -o /etc/apt/sources.list.d/dacker-postgresql.list
۳ نصب
کپی
# 3) Install sudo apt update sudo apt install postgresql-16
۴ بررسی نصب
کپی
# 4) Check the installation psql --version
PostgreSQL 16 برای CentOS 7 در دسترس نیست.
PGDG برای این توزیع مخزن PostgreSQL 16 منتشر نمیکند.
برای این توزیعها هست: Ubuntu 24.04 ، Ubuntu 22.04 ، AlmaLinux / Rocky / RHEL 9 ، AlmaLinux / Rocky / RHEL 8