Как установить «libqt5webview5-dev» в Ubuntu 16.04 LTS?

Я не эксперт, я работаю в Ubuntu 16.04 LTS и пытаюсь установить Stremio, следуя этому руководству "https://github.com/Stremio/stremio-shell/blob/ master / DEBIAN.md "из исходных кодов.

Поэтому, чтобы заставить его работать, я должен установить пакет" libqt5webview5-dev ", но, к сожалению, я получаю ошибку" Не удалось найти пакет libqt5webview5-dev ". (извините, следующие выходные данные терминала находятся в Fench)

$sudo apt-get install -y libqt5webview5
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
E: Impossible de trouver le paquet libqt5webview5

Я пытался добавить репозиторий «юниверсов», но он уже был включен.

$sudo add-apt-repository universe
Le composant de distribution « universe » est déjà activé pour toutes les sources.

Может быть, мой дистрибутив слишком старый? Вы можете мне помочь?

Спасибо!

2
задан 22 July 2020 в 21:31

1 ответ

This may be possible. It doesn't seem to have many dependencies. We're going to pull it from the 18.04 repo and install it with apt.

sudo apt update
wget -c http://archive.ubuntu.com/ubuntu/pool/universe/q/qtwebview-opensource-src/libqt5webview5-dev_5.9.5-0ubuntu1_amd64.deb
sudo apt install ./libqt5webview5-dev_5.9.5-0ubuntu1_amd64.deb

apt-cache showpkg libqt5webview5-dev indicates the following dependencies must be met:

5.9.5-0ubuntu1 - libqt5webview5 (5 5.9.5-0ubuntu1) qtbase5-dev (0 (null)) qtdeclarative5-dev (0 (null)) libqt5webview5-dev:i386 (35 5.9.5-0ubuntu1) libqt5webview5-dev:i386 (38 5.9.5-0ubuntu1)

You might already have some/all of those installed, I have no idea because I haven't used 16.04 in a long time. They can also be installed in a similar manner.

NOTE: I have absolutely no idea if this will make your system unstable. It doesn't look all that invasive, but it may cause issues. Fortunately, you can undo all of this, but I highly recommend you backup your system before you attempt this.

Addendum: If you're curious as to how I got the address for wget, it's pretty simple.

  1. Go to pkgs.org.
  2. Find your package with the search function.
  3. Scroll down and find the actual address for the .deb file.

With some work, you can install most anything. It's just not always a good idea.

0
ответ дан 30 July 2020 в 22:04

Другие вопросы по тегам:

Похожие вопросы: