问题描述
根据rvm要求,对于Ruby 1.9.3:安装libksba#如果使用Homebrew,则"brew install libksba""
According to rvm requirements, "For Ruby 1.9.3: Install libksba # If using Homebrew, 'brew install libksba'"
我是新手,对终端命令不熟悉.如何不使用自制软件安装libksba?
I am completely new and am not familiar with terminal commands. How can I install libksba without using homebrew?
请帮助!!!
推荐答案
我刚刚从源代码安装了libksba及其依赖项libgpg-error,我可以向您保证,然后再安装libksba.使用Homebrew,您将花费更少的时间来处理终端命令,并且成功的可能性要高得多.受欢迎是有原因的.
I just installed libksba and its dependency libgpg-error from source and I can assure you that installing Homebrew and then installing libksba is much more straightforward. With Homebrew, you'll spend far less time dealing with terminal commands and the likelihood of success is considerably higher. It is popular for a reason.
为了将来的访问者的利益,以下是在没有Homebrew的情况下通过bash从源代码编译和安装libgpg-error和libksba的说明:
For the benefit of future visitors, here are instructions to compile and install libgpg-error and libksba from source via bash without Homebrew:
cd /usr/local/src
curl -O ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.9.tar.gz
tar -xvf libgpg-error-1.9.tar.gz
cd libgpg-error-1.9/
./configure
make
make install
cd ..
curl -O ftp://ftp.gnupg.org/gcrypt/libksba/libksba-1.2.0.tar.bz2
tar -xvf libksba-1.2.0.tar.bz2
cd libksba-1.2.0/
./configure
make
make install
这篇关于如何在Mac OS X上安装libksba?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!