Update the symlinks for a given directory

ldconfig

  • Configure symlinks and cache for shared library dependencies.
    More information: <https://manned.org/ldconfig>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

sudo ldconfig -n {{path/to/directory}}

click the source code to copy install ldconfig on any operating system with command-not-found.com