Editing Talk:1654: Universal Install Script

Jump to: navigation, search
Ambox notice.png Please sign your posts with ~~~~

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 12: Line 12:
 
Also, docker is a deployment tool for deploying isolated, complete applications. For example, instead of just installing the Python scripts to run your web server behind nginx, you'd deploy nginx, Python, the modules you need for each, the appropriate configurations, a variety of tools the server depends on, and your scripts all as one big hunk of stuff. The docker website probably explains it better. :) --[[Special:Contributions/162.158.255.82|162.158.255.82]] 10:50, 11 March 2016 (UTC)
 
Also, docker is a deployment tool for deploying isolated, complete applications. For example, instead of just installing the Python scripts to run your web server behind nginx, you'd deploy nginx, Python, the modules you need for each, the appropriate configurations, a variety of tools the server depends on, and your scripts all as one big hunk of stuff. The docker website probably explains it better. :) --[[Special:Contributions/162.158.255.82|162.158.255.82]] 10:50, 11 March 2016 (UTC)
  
;Errors
+
== Errors ==
  
 
He forgot the .git on the end of the git clone command.  
 
He forgot the .git on the end of the git clone command.  
Line 19: Line 19:
  
 
: Actually, the command works fine anyway. I don't know whether it's git or GitHub which works around this. [[Special:Contributions/141.101.75.161|141.101.75.161]] 11:46, 11 March 2016 (UTC)
 
: Actually, the command works fine anyway. I don't know whether it's git or GitHub which works around this. [[Special:Contributions/141.101.75.161|141.101.75.161]] 11:46, 11 March 2016 (UTC)
 
:: Really? I've been typing 4 more characters than I needed to all this time. [[Special:Contributions/173.245.54.10|173.245.54.10]] 16:29, 11 March 2016 (UTC)
 
 
::: Yes you have -- and for information, it is git that does the work around [[User:Spongebog|Spongebob]] ([[User talk:Spongebog|talk]]) 22:44, 11 March 2016 (UTC)
 
  
 
Also, the TLD in the curl. And, the install script would probably be at /install.sh, and use sh not bash.  
 
Also, the TLD in the curl. And, the install script would probably be at /install.sh, and use sh not bash.  
Line 37: Line 33:
 
--[[Special:Contributions/173.245.54.53|173.245.54.53]] 11:38, 11 March 2016 (UTC)
 
--[[Special:Contributions/173.245.54.53|173.245.54.53]] 11:38, 11 March 2016 (UTC)
  
He forgot cpanm. :) [[Special:Contributions/108.162.217.17|108.162.217.17]] 16:02, 11 March 2016 (UTC)
+
== Question ==
 
 
He also left off emerge for Gentoo users. [[Special:Contributions/198.41.235.47|198.41.235.47]] 19:08, 11 March 2016 (UTC)
 
 
 
;Question
 
  
 
That whooshing sound you heard was the Linux-y stuff going way over my head, but could part of the joke be that he's trying to install money? With all the $1's in the script? [[Special:Contributions/173.245.54.53|173.245.54.53]] 15:47, 11 March 2016 (UTC)
 
That whooshing sound you heard was the Linux-y stuff going way over my head, but could part of the joke be that he's trying to install money? With all the $1's in the script? [[Special:Contributions/173.245.54.53|173.245.54.53]] 15:47, 11 March 2016 (UTC)
 
:No, all those $ are just part of the scripting language -- the $1's get replaced with the name of the program you're trying to install.  There are so many $ simply because he's included so many install commands, each one of which needs the name of the program.[[User:N0lqu|-boB]] ([[User talk:N0lqu|talk]]) 16:00, 11 March 2016 (UTC)
 
:No, all those $ are just part of the scripting language -- the $1's get replaced with the name of the program you're trying to install.  There are so many $ simply because he's included so many install commands, each one of which needs the name of the program.[[User:N0lqu|-boB]] ([[User talk:N0lqu|talk]]) 16:00, 11 March 2016 (UTC)
::On that note, would any of these fail or would it not just be easier to use `$@`? [[User:Xerxesbeat|xerxesbeat]] ([[User talk:Xerxesbeat|talk]]) 19:27, 11 March 2016 (UTC)
 
::: `$@` and `$1` are different things -- `$@` replaces with all the parameters to the script where `$1` only does the first one -- for the script to have **any** change of working he will need just (exactly) the first one [[User:Spongebog|Spongebob]] ([[User talk:Spongebog|talk]]) 22:48, 11 March 2016 (UTC)
 
 
;Inaccurate Description of &&
 
 
The description formerly described the usage of &&:
 
 
"This bug could be indicative that Randall wanted to use && throughout the whole script. This would make the installation trying sequentially and the first successful install stops the script and will not install multiple versions of the same software."
 
 
This is false. The && operator will *quit* when it encounters the first command that *fails*. The operator that behaves as described is ||. With that said, it is obvious that Randall did not intend this, especially because the title text mentions what happens when multiple versions are installed.
 
 
[[Special:Contributions/108.162.216.64|108.162.216.64]] 16:23, 11 March 2016 (UTC)
 
 
Won't work on Arch [[User:Mikemk|Mikemk]] ([[User talk:Mikemk|talk]]) 00:05, 12 March 2016 (UTC)
 
:i am very disappointed that that does not read "doesn't work..." --[[Special:Contributions/162.158.153.29|162.158.153.29]] 12:58, 14 March 2016 (UTC)
 
 
; Added clarification on bash scripts
 
 
I've added a few lines addressing the concerns formerly displayed in the incomplete tag. Hopefully my edits will be easier for the layman to understand. Please let me know if this needs further attention. [[User:AfroThundr3007730|AfroThundr3007730]] ([[User talk:AfroThundr3007730|talk]]) 12:30, 16 March 2016 (UTC)
 
 
He totally forgot to include "urpmi $1" --[[Special:Contributions/108.162.216.11|108.162.216.11]] 03:33, 17 March 2016 (UTC)
 
 
; asdf
 
 
I was amazed to notice someone actually created such a program, esoterically called [https://github.com/asdf-vm/asdf asdf], which supports multiple languages like that. --[[User:Anarcat|Anarcat]] ([[User talk:Anarcat|talk]]) 17:39, 22 October 2018 (UTC)
 
 
; Meta Package Manager
 
 
There is a CLI called [https://github.com/kdeldycke/meta-package-manager#readme Meta Package Manager] that is trying to solve this issue. Source: [https://news.ycombinator.com/item?id=30290079 comment on Hacker News].
 

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)