如何在16.04上安装Firefox 52 ESR?

这个问题询问如何在保持64位的同时安装FF32位。

我想要更简单的事情:是否有一种规范的方法在我的16.04中安装firefox 52 ESR作为“默认”firefox?

我找到了这个启动板团队 ……但是没有包裹; 鉴于链接的博客文章的历史可以追溯到2012年,这也许就不足为奇了。

那么,2017年,Ubuntu 16.04; 如何安装FF 52 ESR(因为我只需要java插件为我工作)。

(我目前的解决方案:我从mozilla下载了TAR文件,将其解压缩到/ opt;然后将/ usr / bin / firefox更改为火狐的ESR版本的链接。但是很难看)

这个firefox-esr PPA适用于Xenial: https ://launchpad.net/~jonathonf/+archive/ubuntu/firefox-esr

sudo add-apt-repository ppa:jonathonf/firefox-esr-52 sudo apt-get update sudo apt-get install firefox-esr 

但请注意, 由于此版本已过时 ,您将无法获得安全更新

有一个支持Ubuntu版本的官方Firefox ESR PPA: https : //launchpad.net/~mozillateam/+archive/ubuntu/ppa

 sudo add-apt-repository ppa:mozillateam/ppa sudo apt-get update sudo apt-get install firefox-esr 

我已将此添加到我的ansible剧本中 ,感谢@galatians。

 # Firefox ESR. - name: add apt key of firefox-esr become: true apt_key: keyserver: "hkp://p80.pool.sks-keyservers.net:80" id: 4AB0F789CBA31744CC7DA76A8CF63AD3F06FC659 - name: add apt repository of firefox-esr become: true apt_repository: repo: "deb http://ppa.launchpad.net/jonathonf/firefox-esr/ubuntu {{ ansible_distribution_release }} main" state: present - name: install third-party apt packages of desktop become: true apt: name: firefox-esr state: present 

https://github.com/chusiang/hacking-ubuntu.ansible/blob/develop/tasks/setup_desktop.yml#L27

尝试我构建的开源Web应用程序,以生成包含每个应用程序安装步骤的bash脚本。 https://www.ins2all.com/?a=Firefox_ESR

它将生成一个包含内容的bash脚本:

 #!/bin/bash # Firefox ESR sudo add-apt-repository ppa:jonathonf/firefox-esr #Update system sudo apt-get update #Installing Firefox ESR sudo apt-get install firefox-esr 

您可以运行它来安装所选的应用程序。