Linux 安装Google应用程序

本文介绍如何为Linux系统配置Google软件源,并详细解释了稳定版与测试版源的区别。此外,还提供了遇到公钥验证问题时的解决办法,并展示了如何使用yum命令来安装Picasa软件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1. 添加Google源
稳定版源:
vi /etc/yum.repos.d/google-stable.repo
x86
----------------------------------------------------------------------------------------------------

[google]
name=Google - i386
baseurl=http://dl.google.com/linux/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
----------------------------------------------------------------------------------------------------
x86-64
----------------------------------------------------------------------------------------------------
[google64]
name=Google - x86_64
baseurl=http://dl.google.com/linux/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
----------------------------------------------------------------------------------------------------
测试源:
vi /etc/yum.repos.d/google-testing.repo
x86
----------------------------------------------------------------------------------------------------
[google]
name=Google - i386
baseurl=http://dl.google.com/linux/rpm/testing/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
----------------------------------------------------------------------------------------------------
x86-64
----------------------------------------------------------------------------------------------------
[google64]
name=Google - x86_64
baseurl=http://dl.google.com/linux/rpm/testing/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
----------------------------------------------------------------------------------------------------

出现如下错误:

----------------------------------------------------------------------------------------------------
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 7fac5991
picasa-3.0.5744-02.i386.rpm 的公钥没有安装
----------------------------------------------------------------------------------------------------
解决办法:(来自Google官方帮助: http://www.google.com/linuxrepositories/rpm.html)

Run these commands as root:

wget https://dl-ssl.google.com/linux/linux_signing_key.pub
rpm --import linux_signing_key.pub

You can verify the key installation by running:

rpm -qi gpg-pubkey-7fac5991-*

To manually verify an RPM package, you can run the command:

rpm --checksig -v packagename.rpm

RPM can verify and install packages, but it doesn't interact with repositories directly. See the other configuration guides for information on configuring your system to use the Google repositories.

======================================================================


安装应用:
安装Picasa:
# yum install picasa

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值