apt-get: command not found

来源:互联网 发布:站长工具端口 编辑:程序博客网 时间:2024/05/01 19:24

CentOS5.4 

# apt-get install gcc

bash: apt-get: command not found

解答

CentOS的软件安装工具不是apt-get  是yum
# yum -y install gcc


在ubuntu下安装SSH可以:
apt-get install openssh-server
就是说在centos上可以这样来安装ssh:
# yum -y install openssh-server

0 0
原创粉丝点击