Ubuntu22.10のFirefoxをPPAのものに変更

先日snap版Firefoxのアップデートに悩んだり,KeepassXCのブラウザ統合がsnap版に非対応だったりしてsnap版のFirefoxが使いづらいなと感じています.
Ubuntu Mozilla TeamのPPA版Firefox ESRに入れ替えてみました.

まず,既存のFirefoxを削除します.

$ sudo snap remove firefox
$ sudo apt purge firefox
Note

snapパッケージだけでなく,Ubuntuのfirefoxパッケージがありました,snap版がない状態で実行するとsnap版を導入するよう言われました.

$ firefox

Command '/usr/bin/firefox' requires the firefox snap to be installed.
Please install it with:

snap install firefox

PPAの登録を行いパッケージの更新を行います.

$ sudo add-apt-repository ppa:mozillateam/ppa
$ sudo apt update

firefox パッケージはsnapですが, firefox-esr はさっき登録したPPA版に向いています.

$ apt show firefox
Package: firefox
Version: 1:1snap1-0ubuntu2
Priority: optional
Section: web
Origin: Ubuntu
Maintainer: Ubuntu Mozilla Team <ubuntu-mozillateam@lists.ubuntu.com>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 261 kB
Provides: gnome-www-browser, iceweasel, www-browser, x-www-browser
Pre-Depends: debconf, snapd
Depends: debconf (>= 0.5) | debconf-2.0
Breaks: firefox-dbg (<< 1:1snap1), firefox-dev (<< 1:1snap1), firefox-geckodriver (<< 1:1snap1), firefox-mozsymbols (<< 1:1snap1)
Replaces: firefox-dbg (<< 1:1snap1), firefox-dev (<< 1:1snap1), firefox-geckodriver (<< 1:1snap1), firefox-mozsymbols (<< 1:1snap1)
Task: xubuntu-live, ubuntukylin-desktop
Download-Size: 72.3 kB
APT-Manual-Installed: yes
APT-Sources: http://jp.archive.ubuntu.com/ubuntu kinetic/main amd64 Packages
Description: Transitional package - firefox -> firefox snap
 This is a transitional dummy package. It can safely be removed.
 .
 firefox is now replaced by the firefox snap.

N: 追加レコードが 1 件あります。表示するには '-a' スイッチを付けてください。
$ apt show firefox-esr
Package: firefox-esr
Version: 91.11.0esr+build2-0ubuntu0.22.04.1
Priority: optional
Section: web
Maintainer: Ubuntu Mozilla Team <ubuntu-mozillateam@lists.ubuntu.com>
Installed-Size: 225 MB
Provides: gnome-www-browser, iceweasel, www-browser
Depends: lsb-release, libatk1.0-0 (>= 1.12.4), libc6 (>= 2.35), libcairo-gobject2 (>= 1.10.0), libcairo2 (>= 1.10.0), libdbus-1-3 (>= 1.9.14), libdbus-glib-1-2 (>= 0.78), libfontconfig1 (>= 2.12.6), libfreetype6 (>= 2.10.1), libgcc-s1 (>= 4.0), libgdk-pixbuf-2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.42), libgtk-3-0 (>= 3.14), libharfbuzz0b (>= 0.6.0), libpango-1.0-0 (>= 1.14.0), libpangocairo-1.0-0 (>= 1.14.0), libpangoft2-1.0-0 (>= 1.14.0), libstdc++6 (>= 12), libx11-6, libx11-xcb1 (>= 2:1.7.5), libxcb-shm0, libxcb1, libxcomposite1 (>= 1:0.4.5), libxcursor1 (>> 1.1.2), libxdamage1 (>= 1:1.1), libxext6, libxfixes3, libxi6, libxrender1, libxt6
Recommends: xul-ext-ubufox, libcanberra0, libdbusmenu-glib4, libdbusmenu-gtk3-4
Suggests: fonts-lyx
Xul-Appid: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
Download-Size: 61.8 MB
APT-Manual-Installed: yes
APT-Sources: https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu kinetic/main amd64 Packages
Description: Safe and easy web browser from Mozilla
 Firefox delivers safe, easy web browsing. A familiar user interface,
 enhanced security features including protection from online identity theft,
 and integrated search let you get the most out of the web.

firefox-serと日本語言語パッケージを導入します.

$ sudo apt install firefox-esr firefox-esr-locale-ja
$ firefox-esr --version
Mozilla Firefox 91.11.0esr

最新版が使いたい場合は使えない手ですが…….

環境
$ dpkg-query -W firefox-esr* keepassxc
firefox-esr     91.11.0esr+build2-0ubuntu0.22.04.1
firefox-esr-locale-ja   91.11.0esr+build2-0ubuntu0.22.04.1
keepassxc       2.6.6+dfsg.1-1
$ lsb_release -dr
Description:    Ubuntu Kinetic Kudu (development branch)
Release:        22.10
$ arch
x86_64

One thought to “Ubuntu22.10のFirefoxをPPAのものに変更”

コメントを残す

メールアドレスが公開されることはありません。 ※ が付いている欄は必須項目です

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.