Вы можете попробовать следующее:
sudo apt-get install gdebi-core
wget http://repo.steampowered.com/steam/pool/steam/s/steam/steam-launcher_1.0.0.48_all.deb
sudo gdebi steam-launcher_1.0.0.48_all.deb
Вы также можете установить его вручную следующим образом: Открыть эту ссылку и загрузить latest_steam.deb: https://steamcdn-a.akamaihd.net/client /installer/steam.deb
Затем установите его следующим образом:
cd ~/Downloads
sudo dpkg -i steam-lastest.deb
Причина, по которой PATH работает без export, заключается в том, что она задана как переменная окружения перед запуском ~/.profile. Для изменения существующей переменной среды достаточно
VAR=foo
.
В измените переменную на среду, вам нужно сделать
export NEWVAR=bar
См. EnvironmentVariables для дальнейшего чтения по этой теме.
Причина, по которой PATH работает без export, заключается в том, что она задана как переменная окружения перед запуском ~/.profile. Для изменения существующей переменной среды достаточно
VAR=foo
.
В измените переменную на среду, вам нужно сделать
export NEWVAR=bar
См. EnvironmentVariables для дальнейшего чтения по этой теме.
Причина, по которой PATH работает без export, заключается в том, что она задана как переменная окружения перед запуском ~/.profile. Для изменения существующей переменной среды достаточно
VAR=foo
.
В измените переменную на среду, вам нужно сделать
export NEWVAR=bar
См. EnvironmentVariables для дальнейшего чтения по этой теме.
Я думаю, что ваше решение не требует пояснений, ключевое слово export выполнило трюк и обязано «экспортировать» переменные среды для использования. Вы можете экспортировать переменные оболочки с помощью команды export.
Чтобы просмотреть список экспортируемых переменных, запустите export -p
См. [F4]:
export [-fn] [name[=word]] ...
export -p
The supplied names are marked for automatic export to the environment of subsequently executed commands. If the -f option is given, the names
refer to functions. If no names are given, or if the -p option is supplied, a list of names of all exported variables is printed. The -n
option causes the export property to be removed from each name. If a variable name is followed by =word, the value of the variable is set to
word. export returns an exit status of 0 unless an invalid option is encountered, one of the names is not a valid shell variable name, or -f is
supplied with a name that is not a function.
Я думаю, что ваше решение не требует пояснений, ключевое слово export выполнило трюк и обязано «экспортировать» переменные среды для использования. Вы можете экспортировать переменные оболочки с помощью команды export.
Чтобы просмотреть список экспортируемых переменных, запустите export -p
См. [F4]:
export [-fn] [name[=word]] ...
export -p
The supplied names are marked for automatic export to the environment of subsequently executed commands. If the -f option is given, the names
refer to functions. If no names are given, or if the -p option is supplied, a list of names of all exported variables is printed. The -n
option causes the export property to be removed from each name. If a variable name is followed by =word, the value of the variable is set to
word. export returns an exit status of 0 unless an invalid option is encountered, one of the names is not a valid shell variable name, or -f is
supplied with a name that is not a function.
Я думаю, что ваше решение не требует пояснений, ключевое слово export выполнило трюк и обязано «экспортировать» переменные среды для использования. Вы можете экспортировать переменные оболочки с помощью команды export.
Чтобы просмотреть список экспортируемых переменных, запустите export -p
См. [F4]:
export [-fn] [name[=word]] ...
export -p
The supplied names are marked for automatic export to the environment of subsequently executed commands. If the -f option is given, the names
refer to functions. If no names are given, or if the -p option is supplied, a list of names of all exported variables is printed. The -n
option causes the export property to be removed from each name. If a variable name is followed by =word, the value of the variable is set to
word. export returns an exit status of 0 unless an invalid option is encountered, one of the names is not a valid shell variable name, or -f is
supplied with a name that is not a function.