![安装了 gnomne-doc-utils 但另一个程序仍然说版本不够新](https://linux22.com/image/1016568/%E5%AE%89%E8%A3%85%E4%BA%86%20gnomne-doc-utils%20%E4%BD%86%E5%8F%A6%E4%B8%80%E4%B8%AA%E7%A8%8B%E5%BA%8F%E4%BB%8D%E7%84%B6%E8%AF%B4%E7%89%88%E6%9C%AC%E4%B8%8D%E5%A4%9F%E6%96%B0.png)
这是在 Lubuntu 18.04 上。下面你可以看到 gnome-doc-utils 的版本显然不够新。我该如何安装最新版本?我以为它默认会这样做。
我再次尝试,sudo apt-get update
事先运行,然后重新运行sudo apt-get install gnome-doc-utils
,./configure && make && make install
但出现了同样的错误。
$ sudo apt-get install gnome-doc-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libdav1d2 libllvm8 libllvm8:i386 linux-headers-4.15.0-72
linux-headers-4.15.0-72-generic linux-image-4.15.0-72-generic
linux-modules-4.15.0-72-generic linux-modules-extra-4.15.0-72-generic
mokutil shim
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libxml2-utils
The following NEW packages will be installed:
gnome-doc-utils libxml2-utils
0 upgraded, 2 newly installed, 0 to remove and 8 not upgraded.
Need to get 323 kB of archives.
After this operation, 3,799 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://th.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxml2-utils amd64 2.9.4+dfsg1-6.1ubuntu1.3 [35.9 kB]
Get:2 http://th.archive.ubuntu.com/ubuntu bionic/universe amd64 gnome-doc-utils all 0.20.10-4 [287 kB]
Fetched 323 kB in 2s (140 kB/s)
Selecting previously unselected package libxml2-utils.
(Reading database ... 273195 files and directories currently installed.)
Preparing to unpack .../libxml2-utils_2.9.4+dfsg1-6.1ubuntu1.3_amd64.deb ...
Unpacking libxml2-utils (2.9.4+dfsg1-6.1ubuntu1.3) ...
Selecting previously unselected package gnome-doc-utils.
Preparing to unpack .../gnome-doc-utils_0.20.10-4_all.deb ...
Unpacking gnome-doc-utils (0.20.10-4) ...
Setting up libxml2-utils (2.9.4+dfsg1-6.1ubuntu1.3) ...
Setting up gnome-doc-utils (0.20.10-4) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
owner@G700:~/Downloads/long_term/ignuit-2.24.3$ ./configure && make && make install
<about 50 checks removed>
checking gnome-doc-utils >= 0.3.2... no
configure: error: gnome-doc-utils >= 0.3.2 not found
答案1
您必须安装更多依赖项
sudo apt-get install gnome-doc-utils libgnomeui-dev libglade2-dev \
libxslt1-dev libgstreamer1.0-dev rarian-compat
然后重试:
cd ~/Downloads
wget https://dev.gentoo.org/~leio/distfiles/ignuit-2.24.3.testing.tar.gz
tar -xf ignuit-2.24.3.testing.tar.gz
cd ignuit-2.24.3.testing/
./configure
make
sudo make install
享受:
$ ignuit --version GNOME ignuit 2.24.3.testing