在debian lenny中安装postgres 9.0 [英] Install postgres 9.0 in debian lenny
问题描述
亲爱的,
我的系统具有以下分发详情
Dear all,
My system has the following distribution details
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 5.0 (lenny)
Release: 5.0
Codename: lenny
我需要在这台机器上安装postgres 9.0,但是我找不到任何稳定的lenny软件包的postgres 9.0,有没有其他方法这样做
任何建议将不胜感激!
I need to install postgres 9.0 in this machine , but I cannot find any stable lenny packages for postgres 9.0 , Is there any other way to do this
Any suggestion would be appreciated !
推荐答案
感谢新的debian backports套件,以下是如何在Debian lenny上安装PostgreSQL 9.0:
Thanks to the new debian backports suite, here's how to install PostgreSQL 9.0 on Debian lenny:
添加以下内容到/etc/apt/sources.list:
Add the following to /etc/apt/sources.list:
deb http://backports.debian.org/debian-backports lenny-backports main
deb http://backports.debian.org/debian-backports lenny-backports-sloppy main
然后运行这两个命令
apt-get install -t lenny-backports postgresql-common
apt-get install -t lenny-backports-sloppy postgresql-9.0 postgresql-client-9.0 postgresql-contrib-9.0
请注意,这利用了新的lenny-backports-sloppy后台套件 - 请阅读公告,以便意识到o f使用这个套件的折衷。
Note that this utilizes the new lenny-backports-sloppy backport suite - please read the announcement in order to be aware of the trade offs of using this suite.
这篇关于在debian lenny中安装postgres 9.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!