未加星标

How to Install Firefox Nightly as a Flatpak App on Ubuntu

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二03 | 时间 2017 | 作者 红领巾 ] 0人收藏点击收藏

How to Install Firefox Nightly as a Flatpak App on Ubuntu

I’ve been meaning to write some sort of easy-to-follow ‘ Flatpak How To ‘ article for a while. As the technology is jostling with Snappy, and we regularly feature Snap apps, it feels only fair.

I’ve been waiting for a suitable app to ‘test’ Flatpak with.Jan Horak’s unofficial Firefox Nightly Flatpak builds seem like the idealcandidate.

Install Firefox Nightly Flatpak on Ubuntu 16.04 LTS

Now,I must stressthat Flatpak won’t always be ascomplicated as it appearsbelow.

First, Flatpak isavailable on Ubuntu directly as of17.04, meaning no PPA is required.

Secondly, newer versions of GNOME Software (on which Ubuntu Software is based) support Flatpak repo and ref files. These simplify the process of adding remote repositories and installing applications from them. You just click a link and GNOME Software opens ready for you to install the app.

But, for now, things are a little more complicated, and not quite assimple as running snap install app .

Let’s walk though the process of installing the latest Firefox Nightly build on Ubuntu using Flatpak.The guide that follows is adapted from here and here , and should be simple enough to follow.

1. Install Flatpak on Ubuntu

To install Flatpak on Ubuntu 16.04 LTS or Ubuntu 16.10 you need to add the following PPA to your Software Sources. The fastest way to do this is via the Terminal, where you run this command:

sudo add-apt-repository ppa:alexlarsson/flatpak

Next, run this command toupdate your software sources and install Flatpak:

sudo apt update && sudo apt install flatpak 2.Add TheFirefox Nightly Flatpak Repo
How to Install Firefox Nightly as a Flatpak App on Ubuntu

You can use Firefox Nightly alongside the stable version

With Flatpak installed we can move on to adding the relevant repos and runtimes.

Firefox requires the GNOME runtime, which is available fromthe GNOME repo.

Older versions of Flatpak required you to add these ‘remotes’ (as they’re called) manually. But it’s now possible for to add therepos that we need by running justcommand, this one addstheJan Horak’s unofficial Firefox Nightly Flatpak repo:

flatpak install --from https://firefox-flatpak.mojefedora.cz/org.mozilla.FirefoxNightly.flatpakref

Here’s the neat bit: when you run this command you’ll see a message appearthat reads: This application depends on runtimes from http://sdk.gnome.org/repo . You’ll then have the option to “configure” (add, and enable) this repo.

If you choose to go ahead the GNOME 3.22 runtime will be downloaded and installed first. This isn’t a tinydownload, so be prepared togive Flatpak a bit of time to grab it and install it. Once that’sfinished up with Flatpak willmove on to download and install the latest Firefox Nightly.

After a little pause, everything will be done.Open theUnity Dash (or whatever app launcher you use) and search for/find ‘Firefox Nightly’, and click on it to run (make sure you don’t have an existing Firefox process running when you do this).

If you can’t find an app launcher for it, don’t worry. You can launch it from the Terminal by running

flatpak run org.mozilla.FirefoxNightly Other Helpful Flatpak Commands

You can update the Firefox Nightly Flatpak by running thiscommand:

flatpak update org.mozilla.FirefoxNightly

You can remove the Firefox Nightly Flatpak by running thiscommand:

flatpak uninstall org.mozilla.FirefoxNightly

If you hit any Flatpak-specific issues with Firefox be sure to file a bug on Github.

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

主题: UbuntuFirefoxUnityGit
分页:12
转载请注明
本文标题:How to Install Firefox Nightly as a Flatpak App on Ubuntu
本站链接:http://www.codesec.net/view/534559.html
分享请点击:


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(131)