Tuesday, March 7, 2023

If Node Version Manager (nvm) does not install in Ubuntu

 Manual Install

export NVM_DIR="$HOME/.nvm" && (

  git clone https://github.com/nvm-sh/nvm.git "$NVM_DIR"

  cd "$NVM_DIR"

  git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`

) && \. "$NVM_DIR/nvm.sh"

-------------------------------------

export NVM_DIR="$HOME/.nvm"

[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm

[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion


------------------------------------

(

  cd "$NVM_DIR"

  git fetch --tags origin

  git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" $(git rev-list --tags --max-count=1)`

) && \. "$NVM_DIR/nvm.sh"

----------------

nvm install 16.18.1

How to migrate Linux Dspace to Window 10

Take a backup of Dspace database and folder s Assume the version is same with both OS [I have tested DSpace 6.3] sudo su mkdir dspace_backup...