Is OGS tools like plug and play?

i newbie using OGS
first of all i thank to OGS developer that it’s very useful but since i got crash with ubuntu
so i need to install ubuntu 18.4 LTS.
the problem is i already backup all data file OGS, if i ubuntu 18. is there possible to copying my OGS file like plug and play? no need install OGS from the begins?

Since you are asking for OGS5, the easiest way to get it running, is to use ogs5py. You can simply install it with:

pip install ogs5py

Then, an executable can be obtained by executing the following lines in python:

from ogs5py import download_ogs

Then you can start to build up your model. Have a look here for an starting example.