{"id":22694,"date":"2023-10-27T17:58:32","date_gmt":"2023-10-27T17:58:32","guid":{"rendered":"https:\/\/linuxways.net\/?p=22694"},"modified":"2023-10-27T17:59:59","modified_gmt":"2023-10-27T17:59:59","slug":"how-to-install-postgresql-in-ubuntu-22-04","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/how-to-install-postgresql-in-ubuntu-22-04\/","title":{"rendered":"How to install PostgreSQL in Ubuntu 22.04?"},"content":{"rendered":"<p><strong>PostgreSQL <\/strong>is a Relational Database Management System used as a data warehouse for various Software Applications. PostgreSQL is faster at processing read-write queries, especially in Larger Datasets where complex queries are required. Postgres is a cross-platform database that can be installed on Ubuntu to perform different database operations.<\/p>\n<p>This article discusses how you can install PostgreSQL in Ubuntu 22.04.<\/p>\n<h2><strong>How to Install PostgreSQL in Ubuntu 22.04?<\/strong><\/h2>\n<p><strong>Ubuntu <\/strong>is a Linux-based operating system that allows us to install and use different software applications securely and efficiently. PostgreSQL can be installed on Ubuntu by executing the \u201capt\u201d command. Once installed, you can access the Postgres Account. You will also be able to access the Databases. Follow the steps below to install PostgreSQL in Ubuntu 22.04.<\/p>\n<h3><strong>Step 1: Update Packages<\/strong><\/h3>\n<p>Before installing a new package in Ubuntu, update the existing Ubuntu packages repository:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt update<\/div><\/div>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"964\" height=\"480\" class=\"wp-image-22695\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-1.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-1.png 964w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-1-300x149.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-1-768x382.png 768w\" sizes=\"auto, (max-width: 964px) 100vw, 964px\" \/><\/p>\n<p>Once the packages are updated, upgrade the packages that require upgradation using the below-provided command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt upgrade <span class=\"re5\">-y<\/span><\/div><\/div>\n<p>The \u201c-y\u201d option confirms the upgradation of packages:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"957\" height=\"485\" class=\"wp-image-22696\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-2.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-2.png 957w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-2-300x152.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-2-768x389.png 768w\" sizes=\"auto, (max-width: 957px) 100vw, 957px\" \/><\/p>\n<h3><strong>Step 2: Install PostgreSQL<\/strong><\/h3>\n<p>After updating the existing Ubuntu Packages, Install PostgreSQL from the PostgreSQL repository. To Install PostgreSQL, use the \u201capt install\u201d command with sudo privileges:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt <span class=\"kw2\">install<\/span> postgresql postgresql-contrib<\/div><\/div>\n<p>The Terminal will ask for additional disk space. Enter \u201cY\u201d to continue with the installation process:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"963\" height=\"478\" class=\"wp-image-22697\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-3.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-3.png 963w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-3-300x149.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-3-768x381.png 768w\" sizes=\"auto, (max-width: 963px) 100vw, 963px\" \/><\/p>\n<h3><strong>Step 3: Using PostgreSQL<\/strong><\/h3>\n<p>Once the PostgreSQL packages are installed, you must switch to the PostgreSQL Account to use it.<\/p>\n<h3><strong>Switch to Postgres Account<\/strong><\/h3>\n<p>To switch to the PostgreSQL account in the Terminal, use the \u201cpostgres\u201d command with the \u201c-iu\u201d option:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> <span class=\"re5\">-i<\/span> <span class=\"re5\">-u<\/span> postgres<\/div><\/div>\n<p>The \u201c-i\u201d option will ensure the start of the shell with root privileges. The Terminal command line will change to the \u201cpostgres\u201d command line ensuring that you are now using PostgreSQL:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"966\" height=\"63\" class=\"wp-image-22698\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-4.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-4.png 966w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-4-300x20.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-4-768x50.png 768w\" sizes=\"auto, (max-width: 966px) 100vw, 966px\" \/><\/p>\n<h3><strong>Access Postgres Prompt<\/strong><\/h3>\n<p>Now to access the PostgreSQL prompt, use the \u201cpsql\u201d command which will allow you to run SQL queries in the Terminal:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">psql<\/div><\/div>\n<p>Once you run the \u201cpsql\u201d command, the command line will change to the \u201cpostgres=#\u201d meaning you can now use the SQL queries inside the Terminal from the Postgres Account:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"964\" height=\"119\" class=\"wp-image-22699\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-5.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-5.png 964w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-5-300x37.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-5-768x95.png 768w\" sizes=\"auto, (max-width: 964px) 100vw, 964px\" \/><\/p>\n<h3><strong>Logout of Postgres Account:<\/strong><\/h3>\n<p>You can simply log out of the Postgres Account with the symbol \u201c\\\u201d followed by the alphabet \u201cq\u201d. Run the command below to log out from the Postgres Account:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">\\q<\/div><\/div>\n<p>This will switch back to PostgreSQL meaning you can now run queries directly from the terminal without having to access the Postgres Prompt:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"968\" height=\"63\" class=\"wp-image-22700\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-6.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-6.png 968w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-6-300x20.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-6-768x50.png 768w\" sizes=\"auto, (max-width: 968px) 100vw, 968px\" \/><\/p>\n<p>You can also log out or exit from PostgreSQL with the \u201cexit\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw3\">exit<\/span><\/div><\/div>\n<p>The command line changes to your username meaning you are no longer using the PostgreSQL Account:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"964\" height=\"95\" class=\"wp-image-22701\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-7.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-7.png 964w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-7-300x30.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-7-768x76.png 768w\" sizes=\"auto, (max-width: 964px) 100vw, 964px\" \/><\/p>\n<h3><strong>Directly access the Postgres Prompt<\/strong><\/h3>\n<p>Instead of logging in to PostgreSQL and then accessing the Postgres Prompt to run queries, you can directly access the Postgres Prompt as well. To access the Postgres Prompt directly, use the \u201cpostgres\u201d and \u201cpsql\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> <span class=\"re5\">-u<\/span> postgres psql<\/div><\/div>\n<p>The command line directly changes to the Postgres Prompt:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"960\" height=\"122\" class=\"wp-image-22702\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-8.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-8.png 960w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-8-300x38.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-8-768x98.png 768w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/p>\n<h3><strong>Creating a New Role<\/strong><\/h3>\n<p>A New Role in PostgreSQL is important for performing different operations in the database. Also, with the New Role, privileges for each role can be changed. A new role can be added to the Postgres Account. To create a New Role, log in to your PostgreSQL with the below-stated command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> <span class=\"re5\">-i<\/span> <span class=\"re5\">-u<\/span> postgres<\/div><\/div>\n<p>The PostgreSQL command line will appear in the Terminal:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"964\" height=\"124\" class=\"wp-image-22704\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-9.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-9.png 964w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-9-300x39.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-9-768x99.png 768w\" sizes=\"auto, (max-width: 964px) 100vw, 964px\" \/><\/p>\n<p>To create a new role, the \u201ccreateuser\u201d command is used. The \u201c&#8211;interactive\u201d option will ask for the new role permissions:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">createuser <span class=\"re5\">--interactive<\/span><\/div><\/div>\n<p>The \u201c&#8211;interactive\u201d command will ensure that the command line asks for the new user or new role name and superuser permission. Enter the name, and permission and then hit \u201cEnter\u201d:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"968\" height=\"189\" class=\"wp-image-22705\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-10.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-10.png 968w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-10-300x59.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-10-768x150.png 768w\" sizes=\"auto, (max-width: 968px) 100vw, 968px\" \/><\/p>\n<p>You can also use the command below without having to log in to PostgreSQL to create a new role:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> <span class=\"re5\">-u<\/span> postgres createuser <span class=\"re5\">-interactive<\/span><\/div><\/div>\n<p>This will directly ask for the new role details in the Terminal:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"964\" height=\"159\" class=\"wp-image-22706\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-11.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-11.png 964w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-11-300x49.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-11-768x127.png 768w\" sizes=\"auto, (max-width: 964px) 100vw, 964px\" \/><\/p>\n<h3><strong>Creating a New Database<\/strong><\/h3>\n<p>The PostgreSQL Database is used as a data warehouse for numerous applications. To create a new database in PostgreSQL, log in to your Postgres Account and execute the following \u201ccreatedb\u201d Command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">createdb darren<\/div><\/div>\n<p>The command line in the Terminal moves to the next line indicating that the database was created successfully:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"964\" height=\"149\" class=\"wp-image-22707\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-12.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-12.png 964w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-12-300x46.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-12-768x119.png 768w\" sizes=\"auto, (max-width: 964px) 100vw, 964px\" \/><\/p>\n<h3><strong>Connecting to a Database<\/strong><\/h3>\n<p>From the PostgreSQL Prompt, the Postgres account database can also be accessed. Once the database is accessed, the Postgres User can perform different queries in the Database. To connect to the Database, the \u201cpsql\u201d command is used along with the Database Name:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">psql <span class=\"re5\">-d<\/span> <span class=\"sy0\">&lt;<\/span>databaseName<span class=\"sy0\">&gt;<\/span><\/div><\/div>\n<p>In our case, the Database Name is \u201cdarren\u201d. Thus to access the \u201cdarren\u201d database, ensure that you have accessed the PostgreSQL Prompt. To access the \u201cdarren\u201d database, the \u201cpsql\u201d command will be:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">psql <span class=\"re5\">-d<\/span> darren<\/div><\/div>\n<p>The option \u201c-d\u201d ensures access to the Database of the Postgres User \u201cdarren\u201d. Once accessed, the command line changes from \u201c<strong>=#<\/strong>\u201d to \u201c<strong>-#<\/strong>\u201d for Database:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"724\" height=\"89\" class=\"wp-image-22708\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-13.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-13.png 724w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-13-300x37.png 300w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/p>\n<p>After you\u2019ve accessed the Postgres Account Database, you can check the information of the Database as well. To list the Database Details, the \u201cconninfo\u201d command is used:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">\\conninfo<\/div><\/div>\n<p>In our case, we listed the \u201cdarren\u201d database details:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"728\" height=\"87\" class=\"wp-image-22709\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-14.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-14.png 728w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-14-300x36.png 300w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/p>\n<h3><strong>List all Databases in PostgreSQL<\/strong><\/h3>\n<p>All the Databases created inside the PostgreSQL can also be listed in the Ubuntu Terminal. To list the databases in PostgreSQL ensure that you have accessed the Postgres Prompt and then use \u201c\\list\u201d to list all databases:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">\\list<\/div><\/div>\n<p>In our case, we have Six PostgreSQL Databases in total:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"976\" height=\"480\" class=\"wp-image-22710\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-15.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-15.png 976w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-15-300x148.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-15-768x378.png 768w\" sizes=\"auto, (max-width: 976px) 100vw, 976px\" \/><\/p>\n<h3><strong>List all Postgres Users in PostgreSQL<\/strong><\/h3>\n<p>Similar to listing all the Databases in PostgreSQL, all the Postgres Users can also be listed. To list all the Postgres User Accounts, the \u201c\\du\u201d command is used. Before listing the User Accounts, ensure that you are logged in to the Postgres Prompt. Once logged in, use the command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\">\\<span class=\"kw2\">du<\/span><\/div><\/div>\n<p>In our case, we have Three Postgres User Roles:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"728\" height=\"484\" class=\"wp-image-22711\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-16.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-16.png 728w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-16-300x199.png 300w\" sizes=\"auto, (max-width: 728px) 100vw, 728px\" \/><\/p>\n<h2><strong>Uninstalling PostgreSQL<\/strong><\/h2>\n<p>After you are done with using PostgreSQL and you do not require Postgres anymore, you can uninstall it to free up some space on your Ubuntu System. To uninstall PostgreSQL, use the \u201cremove\u201d command:<\/p>\n<div class=\"codecolorer-container bash blackboard\" style=\"width:100%;\"><div class=\"bash codecolorer\"><span class=\"kw2\">sudo<\/span> apt remove postgresql postgresql-contrib<\/div><\/div>\n<p>Enter \u201cY\u201d during uninstalling to continue with the removal process:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"733\" height=\"315\" class=\"wp-image-22712\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-17.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-17.png 733w, https:\/\/linuxways.net\/wp-content\/uploads\/2023\/10\/word-image-22694-17-300x129.png 300w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><\/p>\n<p>That\u2019s all about installing, using, and uninstalling PostgreSQL on Ubuntu 22.04.<\/p>\n<h2><strong>Conclusion<\/strong><\/h2>\n<p>PostgreSQL can be installed on Ubuntu 22.04 using the \u201c<strong>apt install postgresql<\/strong>\u201d command. Once installed, you can create new roles, create new databases, and access databases from your Ubuntu System to perform queries. This article discusses the installation and usage of PostgreSQL in Ubuntu 22.04.<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>PostgreSQL is installed using the \u201capt install postgresql\u201d command. With PostgreSQL, you can create new roles, databases, and access Postgres Prompt as well.<\/p>","protected":false},"author":110,"featured_media":22703,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-22694","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/22694","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/110"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=22694"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/22694\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/22703"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=22694"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=22694"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=22694"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}