当前位置: 首页>>技术问答>>正文


我将如何安装Picasa 3.9?

, ,

问题描述

我注意到Picasa的新版本(3.9)。我如何将它安装在我目前安装的Picasa上?

最佳解决思路

安装Picasa 3.9

1)安装winewinetrickssudo apt-get install wine winetricks

2)从谷歌下载Picasa 3.9cd ~/ && wget http://dl.google.com/picasa/picasa39-setup.exe

3)用wine安装Picasa:

wine ~/picasa39-setup.exe  

修复登录

现在您已安装Picasa 3.9,但如果您想登录Google以上传一些图片,则会出现问题,因此要解决该问题,请执行以下操作:

4)安装Internet Explorer 6:env WINEARCH=win32 WINEPREFIX=~/.tmp winetricks ie6

您必须在几个窗口中单击”Next”和”Accept”:

software-installation,google-picasa,ubuntu

5)将安装复制到wine文件夹中:cp -r ~/.tmp/* ~/.wine/

6)完成!现在只需像其他任何程序一样打开Picasa:

打开Dash并搜索Picasa。点击右上角登录:

software-installation,google-picasa,ubuntu

software-installation,google-picasa,ubuntu


注意:I)使用此方法,每个用户必须运行步骤2到5才能使Picasa完全进入他/她的用户文件夹。或者要求他/她在码头运行一次:

 cd ~/ && wget http://dl.google.com/picasa/picasa39-setup.exe && wine ~/picasa39-setup.exe && env WINEARCH=win32 WINEPREFIX=~/.tmp winetricks ie6 && cp -r ~/.tmp/* ~/.wine/    

II)如果你感觉很懒,只需将它粘贴到终端上,以上所有步骤都将为你完成(作为用户特定的安装):

 sudo apt-get install wine winetricks && cd ~/ && wget http://dl.google.com/picasa/picasa39-setup.exe && wine ~/picasa39-setup.exe && env WINEARCH=win32 WINEPREFIX=~/.tmp winetricks ie6 && cp -r ~/.tmp/* ~/.wine/  

III)在步骤5之后,可以删除文件”picasa39-setup.exe”:rm ~/picasa39-setup.exe

还有文件夹”~/.tmp”:rm ~/.tmp

四)卸载一切:

sudo apt-get remove --purge wine ; sudo apt-get remove --purge winetricks ; sudo apt-get autoremove ; sudo rm /usr/share/applications/Picasa3.desktop ; rm ~/picasa39-setup.exe ; rm -r ~/.tmp ; rm -r ~/.wine ; rm -r ~/.local/share/applications/wine* ; sed -i '/wine/d' ~/.local/share/applications/mimeinfo.cache

V)我制作了两个脚本(见:checkinstallp),可以检查是否安装了Picasa,并在需要时使用IE6安装它来修复登录。以下命令将从我的保管箱下载Deviantart qyasogk中的漂亮图标。运行此命令后,只需在Dash中搜索”Picasa”,如果需要,将开始安装,如果不需要,Picasa将运行。

sudo apt-get install wine winetricks ; cd ~/ ; wget -c http://dl.dropbox.com/u/4098082/picasa/check ; wget -c http://dl.dropbox.com/u/4098082/picasa/installp ; wget -c http://dl.dropbox.com/u/4098082/picasa/Picasa-icon.png ; wget -c http://dl.dropbox.com/u/4098082/picasa/Picasa3.desktop ; sudo mkdir /opt/picasa ; sudo mv ~/check /opt/picasa/ ; sudo mv ~/installp /opt/picasa/ ; sudo mv ~/Picasa-icon.png /opt/picasa/ ; sudo mv ~/Picasa3.desktop /usr/share/applications/ ; sudo chmod 777 /opt/picasa/check ; sudo chmod 777 /opt/picasa/installp

删除它:

sudo rm -r /opt/picasa ; sudo rm /usr/share/applications/Picasa3.desktop ; rm ~/.firstpicasarun  

次佳解决思路

如果您使用Picasa 3.9,则无法连接到您的Google帐户。 According to Google employee Brian Rose, the authentication mechanism was changed to OAuth using an implementation that is currently not compatible with Wine.

an entry in Wine’s AppDB for Picasa 3.9,我提交了a bug report。作为解决方法,请使用Winetricks安装Internet Explorer 6。您必须使用上游Winetricks脚本,因为它是打包在Ubuntu has a broken Internet Explorer link中的脚本。

wget http://winetricks.org/winetricks
chmod +x winetricks
WINEPREFIX=~/.wine ./winetricks ie6

第三种解决思路

PlayOnLinux supports Picasa 3.9

PlayOnLinux:

PlayOnLinux is a graphical front-end for the Wine software compatibility layer which allows Linux users to install Windows-based video games, as well as many other applications such as Apple iTunes, Safari, Microsoft Office, Microsoft Internet Explorer.

安装:

wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
sudo wget http://deb.playonlinux.com/playonlinux_trusty.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt-get update
sudo apt-get install playonlinux

搜索并执行向导所说的内容:

图片来自:League of Legends under Ubuntu – EuroBytes

software-installation,google-picasa,ubuntu

参考:

参考资料

本文由Ubuntu问答整理, 博文地址: https://ubuntuqa.com/article/904.html,未经允许,请勿转载。