If you cd to a different user's home and run an apt install command does that do anything special?apt-get install is failing to install anythingCannot install anything using apt-get
Why does the Pilatus PC-24 have such a large "Wing Support"?
Can an input iterator be dereferenced only on the right-hand sign of an assignment?
Does it require less energy to reach the Sun from Pluto's orbit than from Earth's orbit?
Notation clarity question for a conglomerate of accidentals
Rover vs pathfinder vs lander?
Why has Speaker Pelosi been so hesitant to impeach President Trump?
Single tx included in two different blocks
What does a textbook look like while you are writing it?
Does publication of the phone call ruin the basis for impeachment?
What did the Federation give the Prophets in exchange for access to the wormhole in DS9?
How do French and other Romance language speakers cope with the movable do system?
Is the "spacetime" the same thing as the mathematical 4th dimension?
How to "Start as close to the end as possible", and why to do so?
Does the 'java' command compile Java programs?
How dangerous are my worn rims?
Mac disaster! No longer boots - can’t finish my uni stuff
As a team leader is it appropriate to bring in fundraiser candy?
Why did they use ultrafast diodes in a 50 or 60 Hz bridge?
Airport Security - advanced check, 4th amendment breach
Are there types of animals that can't make the trip to space? (physiologically)
Disable all sound permanently
Can Fabled Passage generate two mana with Amulet of Vigor?
Ĉi tie or ĉi-tie? Why do people sometimes hyphenate ĉi tie?
Parent asking for money after I moved out
If you cd to a different user's home and run an apt install command does that do anything special?
apt-get install is failing to install anythingCannot install anything using apt-get
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
If you cd to a different user's home and run an apt install command does that do anything special?
I know, I know, this sounds dumb. My base instinct is to say : "No, obviously!"
but then I saw this : https://developer.valvesoftware.com/wiki/SteamCMD
as part of the install process they have us create it's new user and then cd into his home.
I'm wondering if cdin'g into his home before installing can be skipped?
apt software-installation cd-command
add a comment
|
If you cd to a different user's home and run an apt install command does that do anything special?
I know, I know, this sounds dumb. My base instinct is to say : "No, obviously!"
but then I saw this : https://developer.valvesoftware.com/wiki/SteamCMD
as part of the install process they have us create it's new user and then cd into his home.
I'm wondering if cdin'g into his home before installing can be skipped?
apt software-installation cd-command
add a comment
|
If you cd to a different user's home and run an apt install command does that do anything special?
I know, I know, this sounds dumb. My base instinct is to say : "No, obviously!"
but then I saw this : https://developer.valvesoftware.com/wiki/SteamCMD
as part of the install process they have us create it's new user and then cd into his home.
I'm wondering if cdin'g into his home before installing can be skipped?
apt software-installation cd-command
If you cd to a different user's home and run an apt install command does that do anything special?
I know, I know, this sounds dumb. My base instinct is to say : "No, obviously!"
but then I saw this : https://developer.valvesoftware.com/wiki/SteamCMD
as part of the install process they have us create it's new user and then cd into his home.
I'm wondering if cdin'g into his home before installing can be skipped?
apt software-installation cd-command
apt software-installation cd-command
edited May 7 at 3:32
pomsky
39.8k12 gold badges131 silver badges158 bronze badges
39.8k12 gold badges131 silver badges158 bronze badges
asked Apr 16 at 6:18
tatsutatsu
1,8741 gold badge13 silver badges44 bronze badges
1,8741 gold badge13 silver badges44 bronze badges
add a comment
|
add a comment
|
1 Answer
1
active
oldest
votes
Your instinct is correct. It can be skipped for the apt-get command. The current working directory has no influence on the installation.
But be aware, that the following command
ln -s /usr/games/steamcmd steamcmd
creates a symlink in the current working directory. So if you want it to be in the steam users home, then it needs to change to
ln -s /usr/games/steamcmd /home/steam/steamcmd
That is maybe, why they added this step.
add a comment
|
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134268%2fif-you-cd-to-a-different-users-home-and-run-an-apt-install-command-does-that-do%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Your instinct is correct. It can be skipped for the apt-get command. The current working directory has no influence on the installation.
But be aware, that the following command
ln -s /usr/games/steamcmd steamcmd
creates a symlink in the current working directory. So if you want it to be in the steam users home, then it needs to change to
ln -s /usr/games/steamcmd /home/steam/steamcmd
That is maybe, why they added this step.
add a comment
|
Your instinct is correct. It can be skipped for the apt-get command. The current working directory has no influence on the installation.
But be aware, that the following command
ln -s /usr/games/steamcmd steamcmd
creates a symlink in the current working directory. So if you want it to be in the steam users home, then it needs to change to
ln -s /usr/games/steamcmd /home/steam/steamcmd
That is maybe, why they added this step.
add a comment
|
Your instinct is correct. It can be skipped for the apt-get command. The current working directory has no influence on the installation.
But be aware, that the following command
ln -s /usr/games/steamcmd steamcmd
creates a symlink in the current working directory. So if you want it to be in the steam users home, then it needs to change to
ln -s /usr/games/steamcmd /home/steam/steamcmd
That is maybe, why they added this step.
Your instinct is correct. It can be skipped for the apt-get command. The current working directory has no influence on the installation.
But be aware, that the following command
ln -s /usr/games/steamcmd steamcmd
creates a symlink in the current working directory. So if you want it to be in the steam users home, then it needs to change to
ln -s /usr/games/steamcmd /home/steam/steamcmd
That is maybe, why they added this step.
answered Apr 16 at 6:33
pLumopLumo
11.1k1 gold badge24 silver badges51 bronze badges
11.1k1 gold badge24 silver badges51 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134268%2fif-you-cd-to-a-different-users-home-and-run-an-apt-install-command-does-that-do%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown