美文网首页
install software from source cod

install software from source cod

作者: 9_SooHyun | 来源:发表于2023-03-13 20:48 被阅读0次

    从源码安装软件

    common steps:

    • download source code
    • configure to generate a Makefile
    • run make
    • run make install to install

    done

    install python in linux from source code

    1. first install openssl, please refer to this page (doing this to avoid a possible error: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available)

    2. download python source code, and run ./configure --with-openssl=/home/username/openssl to generate a Makefile

    3. If you already have a version of Python installed on your system and you want to install the new version alongside it, use this command:

    $ make altinstall
    

    The build process may take some time.

    If you want to replace your current version of Python with this new version, you should uninstall your current Python package using your package manager (such as apt or dnf) and then install:

    $ make install 
    
    1. at last, run python3 --version to show version info, and python3 -m ssl with no outputs, it's ok.

    refers to https://opensource.com/article/20/4/install-python-linux

    相关文章

      网友评论

          本文标题:install software from source cod

          本文链接:https://www.haomeiwen.com/subject/aqthrdtx.html