一般包管理分为源码以及软件包管理程序(如centos的yum,ubuntu的apt-get)来管理。
yum管理工具
yum只下载不安装
yum install yum-plugin-downloadonly
yum install --downloadonly --downloaddir=./ td-agent
常用yum源
EPEL
#URL
https://admin.fedoraproject.org/mirrormanager/
#EPEL-REPO-RPM
https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm
https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Ali
#URL
http://mirrors.aliyun.com/repo/
#ALI-REPO
http://mirrors.aliyun.com/repo/Centos-6.repo
http://mirrors.aliyun.com/repo/Centos-7.repo
#ALI-EPLE-REPO
http://mirrors.aliyun.com/repo/epel-6.repo
http://mirrors.aliyun.com/repo/epel-7.repo
#ALI-FEDORA-REPO
http://mirrors.aliyun.com/repo/fedora.repo
RPM管理
#安装
rpm -ivh xx
#查看
rpm -qa | grep xx
#卸载
rpm -e xx