上面提到了使用不稳定的回购。
这些方向至少对另一个无效:
Jitsi Download Development Documentation Support and Custom Development
要使用我们的 debian/ubuntu 稳定存储库:
将 Jitsi 存储库密钥安装到您的系统上
wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | sudo apt-key 添加 -
使用存储库创建 sources.list.d 文件
sudo sh -c "echo 'deb https://download.jitsi.org stable/' > /etc/apt/sources.list.d/jitsi-stable.list"
更新您的包裹清单
sudo apt-get -y 更新
安装 Jitsi
sudo apt-get -y 安装 jitsi
添加两个回购:
nicholas $
nicholas $ wget -qO - https://download.jitsi.org/jitsi-key.gpg.key | sudo apt-key add -
OK
nicholas $
nicholas $ sudo sh -c "echo 'deb https://download.jitsi.org stable/' > /etc/apt/sources.list.d/jitsi-stable.list"
nicholas $
nicholas $ sudo sh -c "echo 'deb https://download.jitsi.org unstable/' > /etc/apt/sources.list.d/jitsi-unstable.list"
nicholas $
注释掉稳定的仓库并更新:
nicholas $
nicholas $ cat /etc/apt/sources.list.d/jitsi-stable.list
#deb https://download.jitsi.org stable/
nicholas $
nicholas $ sudo apt update
Hit:1 https://download.jitsi.org unstable/ InRelease
Hit:2 http://archive.canonical.com/ubuntu focal InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu focal-security InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
214 packages can be upgraded. Run 'apt list --upgradable' to see them.
nicholas $
然后尝试安装:
nicholas $
nicholas $ sudo apt install jitsi
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
jitsi : Depends: libavformat57 but it is not installable or
libavformat-ffmpeg56 but it is not installable
Depends: libavcodec57 but it is not installable or
libavcodec-extra57 but it is not installable or
libavcodec-ffmpeg56 but it is not installable or
libavcodec-ffmpeg-extra56 but it is not installable
Depends: libavfilter6 but it is not installable or
libavfilter-extra6 but it is not installable or
libavfilter-ffmpeg5 but it is not installable
Depends: libavutil55 but it is not installable or
libavutil-ffmpeg54 but it is not installable
Depends: libswscale4 but it is not installable or
libswscale-ffmpeg3 but it is not installable
E: Unable to correct problems, you have held broken packages.
nicholas $
然后具有未满足的依赖关系。哦,不稳定的回购:
nicholas $
nicholas $ cat /etc/apt/sources.list.d/jitsi-unstable.list
deb https://download.jitsi.org unstable/
nicholas $
https://desktop.jitsi.org/Main/DebianRepository.html
Both `universe` and `multiverse` are enabled as:
nicholas $
nicholas $
nicholas $ sudo add-apt-repository universe
'universe' distribution component is already enabled for all sources.
nicholas $
nicholas $ sudo add-apt-repository multiverse
'multiverse' distribution component is already enabled for all sources.
nicholas $
nicholas $ cat /etc/apt/sources.list
#deb http://ag-projects.com/ubuntu focal main
deb http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu focal partner
deb-src http://archive.canonical.com/ubuntu focal partner
#deb cdrom:[Ubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200423)]/ focal main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
#deb http://ca.archive.ubuntu.com/ubuntu/ focal main restricted
# deb-src http://ca.archive.ubuntu.com/ubuntu/ focal main restricted
## Major bug fix updates produced after the final release of the
## distribution.
#deb http://ca.archive.ubuntu.com/ubuntu/ focal-updates main restricted
# deb-src http://ca.archive.ubuntu.com/ubuntu/ focal-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
#deb http://ca.archive.ubuntu.com/ubuntu/ focal universe
# deb-src http://ca.archive.ubuntu.com/ubuntu/ focal universe
#deb http://ca.archive.ubuntu.com/ubuntu/ focal-updates universe
# deb-src http://ca.archive.ubuntu.com/ubuntu/ focal-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
#deb http://ca.archive.ubuntu.com/ubuntu/ focal multiverse
# deb-src http://ca.archive.ubuntu.com/ubuntu/ focal multiverse
#deb http://ca.archive.ubuntu.com/ubuntu/ focal-updates multiverse
# deb-src http://ca.archive.ubuntu.com/ubuntu/ focal-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
#deb http://ca.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
# deb-src http://ca.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu focal partner
# deb-src http://archive.canonical.com/ubuntu focal partner
#deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
#deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu focal-security universe
#deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
nicholas $
Jitsi Desktop(前身为 SIP Communicator)的开发于 2017 年停止。它仍然作为业余项目(源代码)并为 Jitsi Meet 等其他项目删除代码。因此,如果您真的想使用 Jitsi Desktop,请考虑选择 Ubuntu 16.04 EMS,它是免费的(源代码),并且可以选择到 2024 年。对于较新的 Ubuntu 版本:
Ubuntu 18.04 LTS
如果安装了默认的 JRE(即 Java 11),我还没有测试过会发生什么。如果您遇到问题,请
sudo update-alternatives --config java
改用 Java 8。Ubuntu 20.04 LTS
与 Ubuntu 18.04 LTS 相同的步骤,但还有一件事:
a) H.264 视频支持:不需要
您不需要 FFmpeg 的依赖项,因为这些只是推荐的库。不幸的是,Debian 控制文件是错误的,它根据需要声明了这些依赖项。因此,要运行 Jitsi Desktop编辑该文件...
b) H.264 视频支持:必需
如果您需要 H.264 视频编解码器(或 AMR-WB 音频编解码器),您必须下载jitsi-lgpl-dependencies并自己编译 Jitsi Desktop:
由于 Jitsi Desktop 的头部未经测试,编译错误可能随时发生。然后,在这里发表评论,我看看有什么问题。