Dpkg
如何安裝 libxcb
我實際上正在嘗試在此處安裝這些依賴
libxcb
項(使用 ubuntu 16.04.1)。我所做的是我執行:cd ~/Downloads apt-get source libxcb sudo apt-get build-dep libxcb cd libxcb-1.11.1/ dpkg-buildpackage -us -uc
順便說一句,這是建構 libxcb 的正確程序嗎?現在我有一個很大的
*.dep
文件列表(見下文)。我必須通過哪一個安裝sudo dpkg -i *.dep
?~/Downloads$ ls -a . libxcb-render0-dev_1.11.1-1ubuntu1_amd64.deb .. libxcb-res0_1.11.1-1ubuntu1_amd64.deb awesome-4.0 libxcb-res0-dbg_1.11.1-1ubuntu1_amd64.deb awesome-4.0.tar.xz libxcb-res0-dev_1.11.1-1ubuntu1_amd64.deb libxcb-1.11.1 libxcb-screensaver0_1.11.1-1ubuntu1_amd64.deb libxcb1_1.11.1-1ubuntu1_amd64.deb libxcb-screensaver0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb_1.11.1-1ubuntu1_amd64.changes libxcb-screensaver0-dev_1.11.1-1ubuntu1_amd64.deb libxcb_1.11.1-1ubuntu1.diff.gz libxcb-shape0_1.11.1-1ubuntu1_amd64.deb libxcb_1.11.1-1ubuntu1.dsc libxcb-shape0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb_1.11.1.orig.tar.gz libxcb-shape0-dev_1.11.1-1ubuntu1_amd64.deb libxcb1-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-shm0_1.11.1-1ubuntu1_amd64.deb libxcb1-dev_1.11.1-1ubuntu1_amd64.deb libxcb-shm0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb1-udeb_1.11.1-1ubuntu1_amd64.udeb libxcb-shm0-dev_1.11.1-1ubuntu1_amd64.deb libxcb-composite0_1.11.1-1ubuntu1_amd64.deb libxcb-sync1_1.11.1-1ubuntu1_amd64.deb libxcb-composite0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-sync1-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-composite0-dev_1.11.1-1ubuntu1_amd64.deb libxcb-sync-dev_1.11.1-1ubuntu1_amd64.deb libxcb-damage0_1.11.1-1ubuntu1_amd64.deb libxcb-xevie0_1.11.1-1ubuntu1_amd64.deb libxcb-damage0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-xevie0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-damage0-dev_1.11.1-1ubuntu1_amd64.deb libxcb-xevie0-dev_1.11.1-1ubuntu1_amd64.deb libxcb-doc_1.11.1-1ubuntu1_all.deb libxcb-xf86dri0_1.11.1-1ubuntu1_amd64.deb libxcb-dpms0_1.11.1-1ubuntu1_amd64.deb libxcb-xf86dri0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-dpms0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-xf86dri0-dev_1.11.1-1ubuntu1_amd64.deb libxcb-dpms0-dev_1.11.1-1ubuntu1_amd64.deb libxcb-xfixes0_1.11.1-1ubuntu1_amd64.deb libxcb-dri2-0_1.11.1-1ubuntu1_amd64.deb libxcb-xfixes0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-dri2-0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-xfixes0-dev_1.11.1-1ubuntu1_amd64.deb libxcb-dri2-0-dev_1.11.1-1ubuntu1_amd64.deb libxcb-xinerama0_1.11.1-1ubuntu1_amd64.deb libxcb-dri3-0_1.11.1-1ubuntu1_amd64.deb libxcb-xinerama0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-dri3-0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-xinerama0-dev_1.11.1-1ubuntu1_amd64.deb libxcb-dri3-dev_1.11.1-1ubuntu1_amd64.deb libxcb-xkb1_1.11.1-1ubuntu1_amd64.deb libxcb-glx0_1.11.1-1ubuntu1_amd64.deb libxcb-xkb1-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-glx0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-xkb-dev_1.11.1-1ubuntu1_amd64.deb libxcb-glx0-dev_1.11.1-1ubuntu1_amd64.deb libxcb-xprint0_1.11.1-1ubuntu1_amd64.deb libxcb-present0_1.11.1-1ubuntu1_amd64.deb libxcb-xprint0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-present0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-xprint0-dev_1.11.1-1ubuntu1_amd64.deb libxcb-present-dev_1.11.1-1ubuntu1_amd64.deb libxcb-xtest0_1.11.1-1ubuntu1_amd64.deb libxcb-randr0_1.11.1-1ubuntu1_amd64.deb libxcb-xtest0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-randr0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-xtest0-dev_1.11.1-1ubuntu1_amd64.deb libxcb-randr0-dev_1.11.1-1ubuntu1_amd64.deb libxcb-xv0_1.11.1-1ubuntu1_amd64.deb libxcb-record0_1.11.1-1ubuntu1_amd64.deb libxcb-xv0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-record0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-xv0-dev_1.11.1-1ubuntu1_amd64.deb libxcb-record0-dev_1.11.1-1ubuntu1_amd64.deb libxcb-xvmc0_1.11.1-1ubuntu1_amd64.deb libxcb-render0_1.11.1-1ubuntu1_amd64.deb libxcb-xvmc0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-render0-dbg_1.11.1-1ubuntu1_amd64.deb libxcb-xvmc0-dev_1.11.1-1ubuntu1_amd64.deb
您建構的方式還
libxcb
可以,但正如Julie Pelletier所說,您不需要從原始碼建構它。在這種情況下,一般方法是使用
apt-cache search
;apt-cache search libxcb
將列出所有libxcb
-related 包(以及其他一些碰巧提到的包libxcb
)及其簡短描述。然後,您可以將這些與令人敬畏的要求相匹配;假設您從原始碼建構後者:sudo apt-get install libxcb-randr0-dev libxcb-xtest0-dev libxcb-xinerama0-dev libxcb-shape0-dev libxcb-xkb-dev
將安裝所需的庫和開發文件。
現有 Awesome 包的建構依賴項可以作為開始處理剩餘依賴項的有用指南。