在Windows bash子系统上安装libxcb

时间:2017-10-19 09:43:29

标签: bash ubuntu

我正在尝试使用Windows bash子系统交叉编译Qt。为了做到这一点,我需要安装一些软件包。我需要的其中一个软件包是libxcb-*软件包。但是,当我尝试安装它时,我得到:

E: Unable to locate package libxcb-util-dev
E: Unable to locate package libxcb-util1

我猜我需要在sources.list文件中添加内容。 Windows bash中的sources.list如下所示:

deb http://archive.ubuntu.com/ubuntu trusty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu trusty-security main restricted universe multiverse

我需要添加什么才能确保我可以安装xcb个包裹?

1 个答案:

答案 0 :(得分:1)

Trusty apt-get您可以xcb libx11-xcb-dev,或者如果您想要开发人员$this->registerJsFile('modalJs'); $this->registerCssFile('modalCss') [ 'attribute' => 'bukti', 'value' => function ($data) { return Html::a(Html::img(Yii::getAlias('@web') . '/file/' . $data->bukti, ['alt' => 'some', 'class' => 'fancy-box', 'height' => '100px', 'width' => '100px']), ['site/zoom']); }, 'format' => ['raw'], ] $this->registerJs('jQuery(document).ready(function(){ jQuery("a.fancy-box").fancybox(); });') 。 见这里:

https://packages.ubuntu.com/trusty/libx11-xcb-dev

您可以在那里使用搜索功能来解决这些问题。

相关问题