centos编译安装axel


github地址
源码包地址

# tar -xvf axel-2.4.tar.gz
# cd axel-2.4
# ./configure --prefix=/usr/local/axel    #检查编译环境是否完备,并制定默认安装目录
    Cannot find a C compiler, aborting.  
# yum groupinstall “Development tools”
# ./configure --prefix=/usr/local/axel
    The strip option is enabled. This should not be a problem usually, but on some
    systems it breaks stuff.
    
    Configuration done:
      Internationalization enabled.
      Debugging disabled.
      Binary stripping enabled.
# make
# make install        #安装

# echo 'PATH=/usr/local/axel/bin:$PATH' > /etc/profile.d/axel.sh    #axel执行路径
# . /etc/profile        #使配置文件生效

声明:小小博客|版权所有,违者必究|如未注明,均为原创|本网站采用BY-NC-SA协议进行授权

转载:转载请注明原文链接 - centos编译安装axel


Carpe Diem and Do what I like