Questions tagged [stow]

GNU Stow is a symlink farm manager which takes distinct packages of software and/or data located in separate directories on the filesystem, and makes them appear to be installed in the same place.

Filter by
Sorted by
Tagged with
0 votes
1 answer
77 views

GNU Stow: ERROR: Slashes are not permitted in package names

Got the error stow: ERROR: slashes are not permited in package names when using stow --simulate -v --target=/path/to/target/tree /path/to/source/tree What wrong I'm doing??
1 vote
1 answer
230 views

stow: No packages to stow or unstow

The following command works: % pwd /home/ismail/.dotfiles/.common-dotfiles % stow --target=/home/ismail/.dotfiles/test . But the following command does not work: stow --target=/home/ismail/.dotfiles/...
  • 1,732
2 votes
1 answer
710 views

Opposite of `--adopt` option for GNU Stow?

I'm using GNU Stow to manage my dotfiles as per this guide. This works well for cases where there is no pre-existing dotfile on the machine. E.g. if there is no file ~/.config/foo.cfg then the ...
  • 173
0 votes
1 answer
131 views

Non-stowed files in stow directory and git

I Stowed a couple of files which were in a folder. This folder is a config folder and has other temp or system specific files which I don't want in my Git backed Stow backup. What is the best way to ...
0 votes
1 answer
213 views

GNU Stow - is there any way to add file extensions to .stow-global-ignore or .stow-local-ignore files?

I want stow to ignore certain files, like *.bak and *.tmp, but I cannot seem to be able to add wildcards and get them to work. I have tried: *.bak *.tmp \*.bak \*.tmp I suppose wildcards are not ...
  • 856
0 votes
0 answers
63 views

Can I use an extra 'etc' folder inside /usr in linux?

I'm experimenting with linux from scratch. I'm using stow to install extra packages into /usr/local/stow/. I'm using the command stow <package dir> -t /usr which symlinks everythin to /usr/bin, /...
3 votes
1 answer
862 views

Stow to destination root /: existing target is not owned by stow

I'm trying to stow a package to the "root" / # cd ~/.dotfiles # sudo stow -t / kraken WARNING! stowing kraken would cause conflicts: * existing target is not owned by stow: lib All ...
  • 493
0 votes
1 answer
851 views

ignore directories with stow

I am having problem in using stow correctly. The scrip I use to install all my stow's is : cd ~/Utility/configs for file in *; do # Only run Stow on the directories in the dotfiles folder and not ...
  • 1,521
1 vote
1 answer
343 views

How to sync files and symbolic links between original dir and symbolic directory using GNU stow?

For instance, I put symbolic links into ~/.local/bin/ which point to real executable files in ~/Dotfiles.d/local/.local/bin/. I use the following instructions to do that: $ cd ~/Dotfiles.d/ $ stow -...
  • 904
-2 votes
2 answers
297 views

How to organize installed programs in $HOME for shell to search for them when running them? [closed]

I have written or downloaded some programs ( bash scripts, python scripts, java programs, C programs) and placed them under /home/t/program_files/. For each program, I create a directory under the ...
  • 93.4k
4 votes
1 answer
406 views

Stow - no configure script

In the program GNU Stow, the symlink farm manager/package manager/whatever you want to call it, you can run the following commands to install a package to /usr/local: ./configure --prefix=/usr/local ...
  • 143
4 votes
1 answer
1k views

dotfiles: can/should(?) gnu stow make hard links, so I can still use xfce settings gui programs

I'm trying to manage my dotfiles under version control. My dotfiles repos contains a xfce-base folder, this folder contains the .config/xfce4/.../xy-setting.xml stuff. I can stow, or better, symlink ...
  • 163
5 votes
1 answer
1k views

Stow doesn't use the "ignore" option given in the rc file

Summary --ignore=<regex> lines that I put in my .stowrc does not work. When running Stow, it says "Loading defaults from .stowrc", yet it has no effect. But passing the --ignore=<regex> ...
10 votes
1 answer
4k views

Can GNU Stow use a stow directory that is a symbolic link?

Consider this script. #! /usr/bin/env bash mkdir -p target mkdir -p mydir/package/ touch mydir/package/file ln --symbolic mydir mylink file mylink stow --verbose --dir=./mylink --target=./target ...
5 votes
3 answers
1k views

GNU stow linking all files instead of only binary

What must I do to have stow only linking the binaries (and maybe the man pages) correctly? I want to use GNU stow to manage local installs on my machine. However, stow does not simply symlinks the ...
10 votes
2 answers
6k views

GNU Stow: How to stow only selected files/folders?

Let's assume the following structure of a folder called scripts. ├── scripts │   └── .scripts │   ├── script1 │   ├── script2 │   └── script3 │   └── .config │   ├── script4 │   ├─...
  • 915
13 votes
2 answers
3k views

Differences between XStow and Stow

According to the official XStow news, the package was last updated on 2010-07-22. On the other hand, the GNU Stow git repository (mantained by Adam Spiers) had activity just 10 days ago, and the ...
4 votes
3 answers
4k views

Dealing with GNU Stow conflicts

What is the recommended way of dealing with GNU Stow conflicts? I tried to stow readline-6.2 and got the following warning: > stow readline-6.2 Loading defaults from /home/josh/.stowrc WARNING! ...
1 vote
1 answer
2k views

Path errors when using GNU Stow

I am trying to get started with GNU Stow. I have defined STOW_DIR to point to a personal path: STOW_DIR=/some/path I then build a package of my choice from the tarball and install it under STOW_DIR. ...
4 votes
1 answer
2k views

Pre-specifying a default GNU Stow target-directory

TLDR: Can I pre-define a stow folder other than /usr/local with GNU Stow? I do not have admin privileges on the machine I use for work, and I was told that I could use GNU Stow to manage my ...