@@ -33,11 +33,12 @@ <h2>PostgreSQL Apt Repository</h2>
33
33
< a href ="/support/versioning/ "> lifetime</ a > of PostgreSQL.
34
34
</ p >
35
35
< p >
36
- The PostgreSQL Apt Repository supports the current versions of Ubuntu:
36
+ The PostgreSQL Apt repository supports the current versions of Ubuntu:
37
37
</ p >
38
38
< ul >
39
+ < li > plucky (25.04, non-LTS)</ li >
40
+ < li > oracular (24.10, non-LTS)</ li >
39
41
< li > noble (24.04, LTS)</ li >
40
- < li > mantic (23.10, non-LTS)</ li >
41
42
< li > jammy (22.04, LTS)</ li >
42
43
< li > focal (20.04, LTS)</ li >
43
44
</ ul >
@@ -48,7 +49,6 @@ <h2>PostgreSQL Apt Repository</h2>
48
49
< li > amd64</ li >
49
50
< li > arm64 (LTS releases only)</ li >
50
51
< li > ppc64el (LTS releases only)</ li >
51
- < li > s390x (LTS releases only)</ li >
52
52
</ ul >
53
53
54
54
< p >
@@ -72,13 +72,14 @@ <h2>PostgreSQL Apt Repository</h2>
72
72
sudo curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc
73
73
74
74
# Create the repository configuration file:
75
- sudo sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
75
+ . /etc/os-release
76
+ sudo sh -c "echo 'deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $VERSION_CODENAME-pgdg main' > /etc/apt/sources.list.d/pgdg.list"
76
77
77
78
# Update the package lists:
78
79
sudo apt update
79
80
80
81
# Install the latest version of PostgreSQL:
81
- # If you want a specific version, use 'postgresql-16 ' or similar instead of 'postgresql'
82
+ # If you want a specific version, use 'postgresql-17 ' or similar instead of 'postgresql'
82
83
sudo apt -y install postgresql</ pre >
83
84
< button id ="copy-btn2 " class ="pg-script-copy-btn "> Copy Script</ button >
84
85
</ div >
@@ -98,23 +99,23 @@ <h2>Packages</h2>
98
99
< table class ="table table-striped ">
99
100
< tbody >
100
101
< tr >
101
- < th scope ="row "> postgresql-client-16 </ th >
102
+ < th scope ="row "> postgresql-client-17 </ th >
102
103
< td > client libraries and client binaries</ td >
103
104
</ tr >
104
105
< tr >
105
- < th scope ="row "> postgresql-16 </ th >
106
+ < th scope ="row "> postgresql-17 </ th >
106
107
< td > core database server</ td >
107
108
</ tr >
108
109
< tr >
109
- < th scope ="row "> postgresql-doc-16 </ th >
110
+ < th scope ="row "> postgresql-doc-17 </ th >
110
111
< td > documentation</ td >
111
112
</ tr >
112
113
< tr >
113
114
< th scope ="row "> libpq-dev</ th >
114
115
< td > libraries and headers for C language frontend development</ td >
115
116
</ tr >
116
117
< tr >
117
- < th scope ="row "> postgresql-server-dev-16 </ th >
118
+ < th scope ="row "> postgresql-server-dev-17 </ th >
118
119
< td > libraries and headers for C language backend development</ td >
119
120
</ tr >
120
121
</ tbody >
0 commit comments