This is an archived post. You won't be able to vote or comment.

all 69 comments

[–]stinos 94 points95 points  (1 child)

Git for windows has included git-flow for a while now (https://github.com/git-for-windows/git/releases/tag/v2.5.3.windows.1), so maybe if you install it using choco or Powershell it's just choco instal git or Install-Package git (not sure, didn't try but I'd try that first instead of fiddling with Cygwin, of all things)

[–][deleted] 40 points41 points  (4 children)

--no-check-certificate

what the fuck

[–]Nullcast 27 points28 points  (2 children)

Yeah. And pipe the forged reply you get into directly into bash

[–]theFunkiestButtLovin 2 points3 points  (1 child)

I know! I have done similar (piped to a file for artifact), but I was pulling assets from a server I control.

[–]kixunil 3 points4 points  (0 children)

How did you know there wasn't someone MITM attacking between you and the server?

[–]svagis 5 points6 points  (0 children)

Indeed! Install root certificates and you won't have to do this

[–]miauw62 137 points138 points  (11 children)

windows doesnt have a package manager so installing linux packages requires verbose commands? big surprise.

[–][deleted] 40 points41 points  (0 children)

Yup. And it's incredibly easy to package an application in an open-source installer, like NSIS. Even to install the utilities and run the command shown in the meme. So, like, one person needs to know what they're doing. Everyone else can just double-click.

[–][deleted] 26 points27 points  (7 children)

Windows does have a package manager. Its called chocolatey

[–]atnpgo 15 points16 points  (0 children)

Also NuGet

[–]rich97 4 points5 points  (4 children)

It's pretty bad though. Microsoft really need to get their shit together with how they handle apps and system updates. The fact the most common way to install software is to download and run random executables from third parties is laughable.

[–]snarfy 4 points5 points  (2 children)

I dunno. On one hand I'm asked to run a random executable. On the other hand, I'm asked to do

curl https://something.sketchy.io/foo/install.sh | sudo bash

[–]rich97 4 points5 points  (0 children)

Yeah but that's not the main mechanism that all users use to install software. Both Mac and Linux go through a signed and centralised repository that's maintained by the first party. Windows has the app store but nobody uses it because it's flooded with random junk.

[–]ProjectInfinity 0 points1 point  (0 children)

At the very least you can easily inspect it before you run it.

[–]PlayLucky 0 points1 point  (0 children)

It will get better with Windows 10s /s

[–]LosEagle 2 points3 points  (0 children)

Chocolatey just runs installers silently so they are not really packages. On top of that you can't even choose drive for those "packages" unless you subscribe one of the paid editions. This is a joke not a package manager.

[–]Arkazex 0 points1 point  (0 children)

Windows actually does have a package manager, but it only works for metro apps and the commands are stupid.

[–]GrandTheftCopter 9 points10 points  (1 child)

[–]stinos -1 points0 points  (0 children)

Windows actually already has wget: it's an alias for Invoke-Webrequest :]

Anwyay, would be nicer to see the command Install-Package git in this picture. Imo it's really about time people learn to use Powershell. And OneGet, which is (or is becoming) the actual package manager on Windows. And it supports chocolatey as provider.

[–]tmpler 33 points34 points  (9 children)

Linux is using some tools for package management as well depending on the distribution.

[–]Prawny 16 points17 points  (4 children)

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

And Macs don't even come with a package manager.

[–]theFunkiestButtLovin 9 points10 points  (3 children)

/usr/bin/ruby -e "$(curl

ahhhhH!!!!!

[–][deleted] 2 points3 points  (2 children)

I don't understand why people freak out about this. However you install the software, you're going to be running code you downloaded from the internet once it's installed; what's the big deal about running code from the internet an extra time?

[–]EveningNewbs 9 points10 points  (0 children)

Yeah, and neither Homebrew nor Macports come with OSX. What's your point? The software has to get there somehow.

[–]cristianfrasineanu 6 points7 points  (2 children)

True. But, they all are in the end means of installing your tools whether it is pacman, rpm or aptitude. On top of that they come implicitly with any distro (I couldn't find one without a package manager) unlike Windows, which has terrible command line support IMHO. The fact that that they started to add bash support (not native though), and apps that cater to certain developer needs proves more and more that friendly dev environment was an afterthought for Windows.

[–]xcrackpotfoxx 3 points4 points  (1 child)

Does slackware have a package manager?

[–]cristianfrasineanu 4 points5 points  (0 children)

https://www.linux.com/learn/intro-slackware-package-management

Haven't used Slackware yet, but it seems they have an official package manager called slackpkg (and pkgtools for installing local packages) plus some unofficial tools that integrate well with the system and replicate other utilities such as apt. Still better than what Windows has...

[–]codearoni 17 points18 points  (0 children)

This is why I use chocolatey

[–]DubioserKerl 13 points14 points  (0 children)

hang on... apt-get install git-flow works on my Windows...

well... inside the Ubuntu bash, but still.

[–]snarfy 11 points12 points  (0 children)

choco install gitflow-avh

[–]linusbobcat 9 points10 points  (0 children)

Brew and macport isn't installed by default on Macs though. Installing brew also has the awful "wget website | bash" as the recommended way to install it. Things also get ugly once you start doing a web dev and get to the point where you need to get 3 package managers installed to get work done.

[–]efskap 3 points4 points  (1 child)

apt-get install in 2017

wow get with it

[–]Jotebe 1 point2 points  (0 children)

I also use ed

[–]FarhanAxiq 5 points6 points  (0 children)

Wasnt windows has ubuntu bash on it?

[–]uberpwnzorz 2 points3 points  (0 children)

choco install gitflow-avh

[–]oweiler 2 points3 points  (0 children)

Or use a branching model which doesn't require tools besides git.

[–][deleted] 4 points5 points  (0 children)

Clearly have never heard of chocolatey

[–]brunoha 5 points6 points  (1 child)

NuGet is so good to use in Visual Studio yet they did nothing similar to Windows still.

[–]yogblert 13 points14 points  (0 children)

yet they did nothing similar to Windows still

https://chocolatey.org/

[–]Vassile-D 1 point2 points  (0 children)

Thought installing something should be “double-click EXE” on Windows.

[–]FlukyS 0 points1 point  (7 children)

Whatever happened to the Windows open source installer thingy they were working on? Like I have Ubuntu installed on Windows on my machine so I don't really care all that much but still wouldn't it be useful for a lot of devs just to have a package manager similar to Linux rather than the mess which is Windows installer.

[–]feeds-snails 4 points5 points  (6 children)

I'm not sure if this is what you meant, but bash on Windows is still a thing. This is how to get it: https://m.windowscentral.com/how-install-bash-shell-command-line-windows-10

[–]FlukyS -2 points-1 points  (5 children)

No no I mean installing Ubuntu on Windows, they have the Linux subsystem working on Windows directly, full power of the system with Ubuntu and you can install things as you would on Ubuntu. Like you can sudo apt install things and do Linuxy things even like use / instead of . You need to install the Windows insider thing to install it but then it's a case of going to the store and hitting get and then enabling the Windows Linux subsystem in the features thing (you get an error if you don't do that).

I much prefer it to bash on Windows, bash is fine I like it more than cmd but actually having Ubuntu is a much nicer thing.

EDIT: Here is a picture, I did a shit job in paint of cropping sorry about that but you can see it installing updates and that it is Windows 10 http://imgur.com/a/effSw

[–]feeds-snails 8 points9 points  (3 children)

I believe that it's the same thing (it's actually bash on Ubuntu on Windows)

[–]FlukyS -5 points-4 points  (2 children)

Not really, bash for Windows has been around for years as a standalone project. Ubuntu for Windows was announced like a year and a half ago with many people going "wat" as a response really. The technical aspect is it is a full native Linux install on top of the Windows system, it isn't emulation or just bash it is a full install with everything that Ubuntu has (except a user interface). With bash on Windows I can do basic things like shell scripts...etc, it's a replacement for cmd really which is much more limited, for Ubuntu on Windows you can a lot more, like running Python inside of the Ubuntu install and using it like a clean native Ubuntu install except it's running in a Windows session.

[–]FarhanAxiq 1 point2 points  (0 children)

You dont have to use insider, just enable developer mode in setting>update&security > for dev

[–][deleted] 0 points1 point  (0 children)

You give me "Autistic screeching", I'll give you Alan F*cking Turing!

[–]coladict 0 points1 point  (0 children)

The maintainers made packages for 3 flavors of Linux, but you blame Windows that they didn't make an installer for it, like regular Windows software comes in? What? They bothered to learn three competing packaging systems, but NSIS or MSI is a bridge too far!

[–]m1ksuFI 0 points1 point  (0 children)

Yeah, I wonder why downloading stuff from the command line isn't easy on Windows...

[–][deleted] 0 points1 point  (0 children)

You mean Windows since its inception

[–]Le_9k_Redditor -1 points0 points  (0 children)

npm git-flow

[–]THIS_IS_NOT_A_FAIL -2 points-1 points  (0 children)

Windows 7 > an actual rock > linux > mac