Package installation in Google Colab

Whenever I need a package that is not preloaded in Google Colab, I type:

!pip install [package name]

Is it the best practice? When I attempt to invoke the package from another ipynb file from the same Google Colab, I need to install it again. Is there any way to install it so that I do not need to install it again?

Thanks!!

Is there a way to install the packegs such that