要安装,我在终端中执行了以下操作。
tar -zxvf nombre del paquete.tar.gz
cd
入档./configure
make
make install
尝试了选项 3 并得到以下结果:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for OPENSSL... yes
checking for LIBCURL... yes
checking for a2x... no
configure: error: a2x is required to build docs, install asciidoc
tar
无非就是一个压缩文件。没有特定的方式来“安装”一个tar
. 如果里面是可安装的软件,则取决于该软件随附的注释来定义您将如何安装它。通常,注释txt
以README
. 如果有make
文件,那么您将不得不发出您刚才提到的上述命令。否则,您将必须遵循这些说明。但是,由于您不是从存储库下载软件,您可能会面临您的机器需要的一系列依赖项。在某些情况下,如果您的包管理器确定了所有依赖项,那么您所要做的就是一个
sudo apt-get -f install
. 你似乎在运行./configure
,它似乎是一个运行一些命令来检查这些依赖关系的脚本。否则,您将不得不通过自己安装软件包来逐步调试安装过程sudo apt-get install <package>
。