类似于此:https://stackoverflow.com/questions/23136670/where-can-i-find-tutorial-files-of-postgresql
但是,我试图找到src/教程文件夹,启动SQL教程,甚至了解我是否下载了正确的发行版。
使用apt list --installed
显示了以下包:
postgresql-10
postgresql-client-10
postgresql-client-common
postgresql-common
postgresql-server-dev-10
同样,当我使用命令:sudo find . -type d -name "tutorial
时,它不会返回"src“中指向的任何文件夹”教程“。(我从root dir运行了这个命令)
有人能帮我指点一下从哪里开始这个教程吗?
在这里尝试获得额外的包:https://wiki.postgresql.org/wiki/Compile_和_安装_从…_来源_代码
发布于 2018-03-14 22:33:07
在我的Debian "Buster“安装中,教程包含在postgresql-doc
包中。
sudo apt-get install postgresql-doc
教程安装在以下目录中:
/usr/share/doc/postgresql-doc-10/tutorial
我正在运行PostgreSQL10,因此文档与安装的版本相匹配。
因为Mint是基于Debian的,所以包和文件的位置可能是相同的。以下是来自“apt-cache”的包信息:
$ apt-cache show postgresql-doc
Package: postgresql-doc
Source: postgresql-common (190)
Version: 10+190
Installed-Size: 62
Maintainer: Debian PostgreSQL Maintainers <pkg-postgresql-public@lists.alioth.debian.org>
Architecture: all
Depends: postgresql-doc-10
Description-en: documentation for the PostgreSQL database management system
This metapackage always depends on the currently supported PostgreSQL database documentation package.
.
PostgreSQL is a fully featured object-relational database management
system. It supports a large part of the SQL standard and is designed
to be extensible by users in many aspects. Some of the features are:
ACID transactions, foreign keys, views, sequences, subqueries,
triggers, user-defined types and functions, outer joins, multiversion
concurrency control. Graphical user interfaces and bindings for many
programming languages are available as well.
您可能需要安装build-essential
包才能编译教程程序。
https://unix.stackexchange.com/questions/430252
复制相似问题