Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29544

How to install PostGIS extension for Postgres in an instance of EC2 in AWS running Amazon Linux 2023?

$
0
0

I'm trying to install PostGIS extension in Postgres 15 in a EC2 instance of AWS running Amazon Linux 2023 (AL2023). But, the method that I have used previously with Amazon Linux 2 doesn't work with the new version. Basically, AL2023 doesn't include extras, so the command amazon-linux-extras used previously to install the extension is not available now. I check in AWS FAQ and this package is no part now of Amazon Linux 2023 (AL2023 FAQ).

I know that RDS in AWS includes PostGIS, but my current need doesn't require an extra server, different from a single EC2 instance for app and DB. On the other hand, maybe some repositories for Redhat/Centos family allow the installation but I have not found information about that that will be safe.

As a reference output for command looking at available packages gives me

$ yum search post*Last metadata expiration check: 2:05:28 ago on Fri Jun  9 20:36:37 2023.=========================================== Name & Summary Matched: post* ============================================postfix.x86_64 : Postfix Mail Transport Agentpostfix-cdb.x86_64 : Postfix CDB map supportpostfix-ldap.x86_64 : Postfix LDAP map supportpostfix-lmdb.x86_64 : Postfix LDMB map supportpostfix-mysql.x86_64 : Postfix MySQL map supportpostfix-pcre.x86_64 : Postfix PCRE map supportpostfix-perl-scripts.x86_64 : Postfix utilities written in perlpostfix-pgsql.x86_64 : Postfix PostgreSQL map supportpostfix-sqlite.x86_64 : Postfix SQLite map supportpostgresql15.x86_64 : PostgreSQL client programspostgresql15-private-devel.x86_64 : PostgreSQL development header files for this build of PostgreSQL serverpostgresql15-server-devel.x86_64 : PostgreSQL development header files and libraries================================================ Name Matched: post* =================================================postgresql15-contrib.x86_64 : Extension modules distributed with PostgreSQLpostgresql15-docs.x86_64 : Extra documentation for PostgreSQLpostgresql15-llvmjit.x86_64 : Just-in-time compilation support for PostgreSQLpostgresql15-plperl.x86_64 : The Perl procedural language for PostgreSQLpostgresql15-plpython3.x86_64 : The Python3 procedural language for PostgreSQLpostgresql15-pltcl.x86_64 : The Tcl procedural language for PostgreSQLpostgresql15-private-libs.x86_64 : The shared libraries required only for this build of PostgreSQL serverpostgresql15-server.x86_64 : The programs needed to create and run a PostgreSQL serverpostgresql15-static.x86_64 : Statically linked PostgreSQL librariespostgresql15-test.x86_64 : The test suite distributed with PostgreSQLpostgresql15-test-rpm-macros.noarch : Convenience RPM macros for build-time testing against PostgreSQL serverpostgresql15-upgrade.x86_64 : Support for upgrading from the previous major release of PostgreSQLpostgresql15-upgrade-devel.x86_64 : Support for build of extensions required for upgrade process=============================================== Summary Matched: post* ===============================================collectd-postgresql.x86_64 : PostgreSQL plugin for collectddovecot-pgsql.x86_64 : Postgres SQL back end for dovecotlibpq.x86_64 : PostgreSQL client libraryperl-Module-Package.noarch : Postmodern Perl Module Packagingperl-autouse.noarch : Postpone load of modules until a function is usedpsutils.noarch : PostScript utilitiespython3-dnf-plugin-post-transaction-actions.noarch : Post transaction actions Plugin for DNFt1lib.x86_64 : PostScript Type 1 font rasterizertexlive-esstix.noarch : PostScript versions of the ESSTIX, with macro supporttexlive-pspicture.noarch : PostScript picture supporttexlive-pstricks.noarch : PostScript macros for TeX

Viewing all articles
Browse latest Browse all 29544

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>