How to use GNU Stow to manage programs installed from source and dotfiles - Linux Tutorials - Learn Linux Configuration

Easily manage programs installed from source and dotfiles using GNU stow


This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-use-gnu-stow-to-manage-programs-installed-from-source-and-dotfiles/

I think there is a mistake in this recipe. At least the wording is murky and unclear:

Now, all we have to do, is to invoke stow. We must run the command either from inside the stow directory, by using the -d option to specify manually the path to the stow directory (default is the current directory), or by specifying the target with -t as said before. We should also provide the name of the package to be stowed as an argument. In this case we run the program from the stow directory, so all we need to type is:

stow libx264

Read this again, pleaseā€¦ it is completely unclear which directory is pwd when the stow libx264 is run.