turbux求助一下,安装fail2ban 中发帖

新的VPS,登录的时候,看到有不少的失败登录的,就想装个fail2ban 
执行apt install fail2ban的时候,提示:-bash: apt: command not found
找了apt的源,下载之后,执行dpkg -i apt.deb,又提示:-bash: dpkg: command not found
有没有大佬帮忙看看怎么解决?