Вопрос

So I am trying to install a software not "supported" by my linux distro (Ubuntu)

I have it under control, but I am curious about some coding I was told to use.

 sudo ln -s /bin/true /bin/rocks
 sudo ./setup.sh    

This was suggested after I received this error:

Error: Could not execute command: type rocks 2>&1

Question: What does the rocks directory do?

Question Part 2: Can someone explain to me the link I made using 'ln -s?'

I looked at the --help... but I think hearing it a different way would help me.

Это было полезно?

Решение

That seems like a funny thing to do, but basically is just making a soft link to the true command. In other words it is making it so the rocks command always returns successfully. The problem is that if rocks is important to your install, then this is will just make things harder to actually get working.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top