How do I install libksba on mac osx?

前端 未结 2 1430
猫巷女王i
猫巷女王i 2021-01-11 23:36

According to rvm requirements, \"For Ruby 1.9.3: Install libksba # If using Homebrew, \'brew install libksba\'\"

I am completely new and am not familiar with termina

2条回答
  •  春和景丽
    2021-01-12 00:14

    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.

    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
    

提交回复
热议问题