Please install GNU stow
.
Follow the steps:
- Type
ls
to see all the packages. - Choose what package you want to install, e.g.
vim
. - Type
stow <package>
, e.g.stow vim
. - Done.
If you see the following warning when stow vim
:
WARNING! stowing vim would cause conflicts:
* existing target is neither a link nor a directory: .vimrc
All operations aborted.
You should move your original dotfile (~/.vimrc
) to somewhere else first, and then try stow vim
again.