在运行
sudo echo '/usr/local/lib' >> /etc/ld.so.conf
报错:
bash: /etc/ld.so.conf: Permission denied
运行方法:
sudo sh -c "echo '/usr/local/lib' >> /etc/ld.so.conf"
在运行
sudo echo '/usr/local/lib' >> /etc/ld.so.conf
报错:
bash: /etc/ld.so.conf: Permission denied
运行方法:
sudo sh -c "echo '/usr/local/lib' >> /etc/ld.so.conf"