[DATALAB-2420]: changed under what user export is used
diff --git a/infrastructure-provisioning/src/general/lib/os/redhat/common_lib.py b/infrastructure-provisioning/src/general/lib/os/redhat/common_lib.py
index 6b432fd..21f9221 100644
--- a/infrastructure-provisioning/src/general/lib/os/redhat/common_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/redhat/common_lib.py
@@ -82,7 +82,7 @@
             manage_pkg('repolist', 'remote', '')
             manage_pkg('-y install', 'remote', 'python3-pip gcc')
             datalab.fab.conn.sudo('rm -f epel-release-latest-7.noarch.rpm')
-            datalab.fab.conn.sudo('export LC_ALL=C')
+            datalab.fab.conn.run('export LC_ALL=C')
             manage_pkg('-y install', 'remote', requisites)
             datalab.fab.conn.sudo('touch /home/{}/.ensure_dir/pkg_upgraded'.format(user))
     except:
diff --git a/infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py b/infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py
index c621760..8e9d9b2 100644
--- a/infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py
+++ b/infrastructure-provisioning/src/general/lib/os/redhat/notebook_lib.py
@@ -320,7 +320,7 @@
     try:
         print("Updating repositories and installing requested tools: {}".format(requisites))
         manage_pkg('update-minimal --security -y --skip-broken', 'remote', '')
-        datalab.fab.conn.sudo('export LC_ALL=C')
+        datalab.fab.conn.run('export LC_ALL=C')
         for os_pkg in requisites:
             name, vers = os_pkg
             if vers != '' and vers !='N/A':