如何在Deepin 15.11上正确安装Tilix?

如何在Deepin 15.11上正确安装Tilix?

我使用以下命令安装了 Tilix:

wget https://github.com/gnunn1/tilix/releases/download/1.9.3/tilix.zip -P $HOME/Downloads
sudo unzip $HOME/Downloads/tilix.zip -d /
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

在终端中运行 tilix 后我得到:

object.Exception@../../../.dub/packages/gtk-d-3.8.5/gtk-d/generated/gtkd/gtkd/Loader.d(125): Library load failed (libvte-2.91.so.0): libvte-2.91.so.0: cannot open shared object file: No such file or directory

我进行了手动安装,因为

sudo apt install tilix

导致

E: Unable to locate package tilix

我怎么解决这个问题?

编辑:其他方法。

正在做

sudo apt update && sudo apt install tilix

返回相同的错误,并且

apt-cache search tilix

什么也不返回。

内容/etc/apt/sources.list

## Generated by deepin-installer
deb [by-hash=force] http://packages.deepin.com/deepin lion main contrib non-free
# deb-src http://packages.deepin.com/deepin lion main contrib non-free

文件位于/etc/apt/sources.list.d

brave-browser-release.list
sublime-text.list
transmissionbt-ubuntu-ppa-groovy.list
brave-browser-release.list.save
sublime-text.list.save
transmissionbt-ubuntu-ppa-groovy.list.save

正在做

wget http://packages.deepin.com/deepin/pool/main/t/tilix/tilix-common_1.7.9-2_all.deb
wget http://packages.deepin.com/deepin/pool/main/t/tilix/tilix_1.7.9-2_amd64.deb
sudo dpkg -i tilix-common_1.7.9-2_all.deb  
sudo dpkg -i tilix_1.7.9-2_amd64.deb 
sudo apt install -f

导致:

dpkg: dependency problems prevent configuration of tilix:
 tilix depends on libgtkd-3-0 (>= 3.8.2); however:
  Package libgtkd-3-0 is not installed.
 tilix depends on libphobos2-ldc-shared78 (>= 1:1.8.0); however:
  Package libphobos2-ldc-shared78 is not installed.
 tilix depends on libvted-3-0 (>= 3.8.2); however:
  Package libvted-3-0 is not installed.

解决方案

我做到了

sudo apt install apt-file
sudo apt-file update

apt-file search libvte-2.91.so.0展示

libvte-2.91-0: /usr/lib/x86_64-linux-gnu/libvte-2.91.so.0
libvte-2.91-0: /usr/lib/x86_64-linux-gnu/libvte-2.91.so.0.4600.1

之后,进行了以下工作:

wget https://github.com/gnunn1/tilix/releases/download/1.9.3/tilix.zip -P $HOME/Downloads
sudo unzip $HOME/Downloads/tilix.zip -d /
sudo glib-compile-schemas /usr/share/glib-2.0/schemas/

相关内容