尝试安装 sshpass 时,我遇到了这个问题没有权限问题
gcc -DHAVE_CONFIG_H -I. -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -g -O2 -o sshpass main.o
make[1]: Entering directory `/home/splashbi/sshpass/sshpass-1.08'
/bin/mkdir -p '/usr/local/bin'
/bin/install -c sshpass '/usr/local/bin'
/bin/install: cannot create regular file ‘/usr/local/bin/sshpass’: Permission denied
make[1]: *** [install-binPROGRAMS] Error 1
make[1]: Leaving directory `/home/splashbi/sshpass/sshpass-1.08'
make: *** [install-am] Error 2
我怎样才能解决这个问题?