Repairing broken symbolic link (linux)

A symbolic link may become broken due to updating/compiling/installing software, showing up as red text in ls in Terminal. Let’s suppose our broken link is named “”

  1. find where link pointed to:

    readlink -v
  2. Determine where link should point do (e.g. a new version of the old file), lets say
  3. Update link:

    ln -sfn

Now you have your showing up as a light blue file in terminal, pointing to



Leave a Comment