xxx is not in the sudoers file.This incident will be reported.的解决方法
第一步:su root 切换到root用户下
第二步:添加sudo文件的写权限 chmod /etc/sudoers
第三步: 编辑sudoers vi /etc/sudoers
找到这行 root ALL=(ALL) ALL,在他下面添加xxx ALL=(ALL) ALL (这里的xxx是你的用户名)
第四步:撤销 sudo文件的写权限 chmod u-w /etc/sudoers
第五步:解压文件 sudo tar -zxvf '压缩包' -C '路径'
以后凡是需要root权限的都可以用sudo了