Skip to main content
added 4 characters in body
Source Link
ctrl-alt-delor
  • 28.8k
  • 11
  • 67
  • 115

You may use sudo's -E option:

FMPEG=yes sudo -E sbopkg -B -i vice 

From the manual:

-E, --preserve-env

Indicates to the security policy that the user wishes to preserve their existing environment variables. The security policy may return an error if the user does not have permission to preserve the environment.

Note that this exports all your existing environment variables. It is safer to only export the environment variables you need with the following syntaxIt is safer to only export the environment variables you need with the following syntax:

sudo FMPEG=yes sbopkg -B -i vice 

sudo FMPEG=yes sbopkg -B -i vice

You may use sudo's -E option:

FMPEG=yes sudo -E sbopkg -B -i vice 

From the manual:

-E, --preserve-env

Indicates to the security policy that the user wishes to preserve their existing environment variables. The security policy may return an error if the user does not have permission to preserve the environment.

Note that this exports all your existing environment variables. It is safer to only export the environment variables you need with the following syntax:

sudo FMPEG=yes sbopkg -B -i vice 

You may use sudo's -E option:

FMPEG=yes sudo -E sbopkg -B -i vice 

From the manual:

-E, --preserve-env

Indicates to the security policy that the user wishes to preserve their existing environment variables. The security policy may return an error if the user does not have permission to preserve the environment.

Note that this exports all your existing environment variables. It is safer to only export the environment variables you need with the following syntax:

sudo FMPEG=yes sbopkg -B -i vice

added 195 characters in body
Source Link
xhienne
  • 18.3k
  • 2
  • 59
  • 71

UseYou may use sudo's -E option:

FMPEG=yes sudo -E sbopkg -B -i vice 

From the manual:

-E, --preserve-env

Indicates to the security policy that the user wishes to preserve their existing environment variables. The security policy may return an error if the user does not have permission to preserve the environment.

Note that this exports all your existing environment variables. It is safer to only export the environment variables you need with the following syntax:

sudo FMPEG=yes sbopkg -B -i vice 

Use sudo's -E option:

FMPEG=yes sudo -E sbopkg -B -i vice 

From the manual:

-E, --preserve-env

Indicates to the security policy that the user wishes to preserve their existing environment variables. The security policy may return an error if the user does not have permission to preserve the environment.

You may use sudo's -E option:

FMPEG=yes sudo -E sbopkg -B -i vice 

From the manual:

-E, --preserve-env

Indicates to the security policy that the user wishes to preserve their existing environment variables. The security policy may return an error if the user does not have permission to preserve the environment.

Note that this exports all your existing environment variables. It is safer to only export the environment variables you need with the following syntax:

sudo FMPEG=yes sbopkg -B -i vice 
Source Link
xhienne
  • 18.3k
  • 2
  • 59
  • 71

Use sudo's -E option:

FMPEG=yes sudo -E sbopkg -B -i vice 

From the manual:

-E, --preserve-env

Indicates to the security policy that the user wishes to preserve their existing environment variables. The security policy may return an error if the user does not have permission to preserve the environment.