Chocolatey: A Windows Package Manager?
Вставка
- Опубліковано 3 кві 2018
- chocolatey.org
**********************************
Thanks for watching our videos! If you want more, check us out online at the following places:
+ Website: level1techs.com/
+ Forums: forum.level1techs.com/
+ Store: store.level1techs.com/
+ Patreon: / level1
+ L1 Twitter: / level1techs
+ L1 Facebook: / level1techs
+ L1/PGP Streaming: / teampgp
+ Wendell Twitter: / tekwendell
+ Ryan Twitter: / pgpryan
+ Krista Twitter: / kreestuh
+ Business Inquiries/Brand Integrations: Queries@level1techs.com
IMPORTANT Any email lacking “level1techs.com” should be ignored and immediately reported to Queries@level1techs.com.
-------------------------------------------------------------------------------------------------------------
Intro and Outro Music By: Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
creativecommons.org/licenses/b... - Наука та технологія
Engagement! Engagement! Engagement! Engagement!
Good lord how did I not know about this?!?! Videos like this are why you guys are my favorite tech channel!!
Oh sweet, thanks for the launchy tip, the start menu in win 10 is a dumpster fire 🔥🗑
Jarrod'sTech Also give classic-shell a try, it brings back the Win7 start menu in a very nice way imo.
Ah yeah I think I've seen that one before, if I recall it was popular in the early Windows 8 days when they had completely killed off the start button.
For me, it literally does not work at all / serve the purpose I use it for, which is hitting the windows key on the keyboard, and typing what I want to come up, the search functionality is just beyond broken, so I cannot use it. I don't really mind the layout, but I'm not going to spend the time to manually lay out all my stuff or search through it manually each time I need something, I just want to start typing something and have it appear, but this only seems to work 1% of the time in Windows 10 for me, at least that's my experience so far. If anything I guess it's just habit because I've always done it that way in other versions of Windows, and just seems weird that the basic search functionality is so broken.
Classic shell was discontinued. Still works, for now. When it dies, the only open source alternative is Power8. It's been updated recently so might be worth a try.
Oh, so it's a dumpster fire because it doesn't work the way you're used to it working in Windows 7...
Ok. >_>
This video is excellent, and I'm really looking forward to the future entries. Thanks for the heads up and all the tips!
It may not be fair, but at least you still have your glasses!
👌
Thanks for the hint. Couldn't quite figure out what that was supposed to be till I read your comment.
Good to see you show of Chocolatey, been using it for years now. About settings, the best method I've found to keep your desired configuration is to record changes as registry keys, group policies or PS commands. Every time I'm setting up Windows I log all commands or changes I do so I can re-produce the same setup.
PS: gotta love it when booting Windows and trying to get work done and the first thing it does is wasting your time while it's updating.
AHK would probably save you some time over that . . .
Yes lord Wendell, I shall express my smugness for being a linux user.
Time to twirl some mustaches and drink cognac!
Me right now while drinking tea. >
Been using Choco for multiple windows installations now and everything you said in your video exactly describes my experience with it, well done!
Ive used Ninite for years on fresh installs, noticed someone mentioning this chocolatey in the comments on another video, and now i see you've been spreading the word :) Will definitely try it out
Wendell, amazing dialogue/script for this video! Witty and informative!
Wendel's surface book died as I got mine. Did my one steal his' soul?
Loved that bit at the end.
"A Ryzen 5 lifts all boats" - genius.
+1 for the launchy tip, I've already been using an recommending chocolatey at my university, it really is a time saver. Another quirk on chocolatey is that some packages aren't being properly maintained, but that goes for other package managers as well.
If you have any other package recommendations though, I'd love to hear them
really enjoyed this video, thanks!
Small tip; there's a shorthand for installing and auto accepting agreements, eg. - cinst -y launchy
I did not know there were these things. This is so exciting!
been using this for a while, it's a life saver.
Thank you so much for this!! Please do the preferences video too
Omfg, finally Wendell does a video on Chocolatey!!! This makes Windows 10 so much more useable! Also being able to just execute a pkg update command is just wonderful.
*insert full REEEEEEEEEEEEEEEEEEEEEEEE here*
Oh this is what I've been looking for. Thanks!
nice usage explanation for Chocolatey.. Thanks..
Chocolatey is really the best thing since sliced bread, saves so much time setting up my developer machines 👍
My go-to for setting up a new windows machine: Boxstarter & Chocolatey
My two greatest tools to setup Windows PCs are:
1. WSUS Offline Update and
2. Chocolatey
(I've been a computer tech for 30+ yrs).
Thx for the video.
Awesome video, thanks for the information!
Love the black and white ending! Definitely not fair!
nice vid. how can i change install options (for example some installers will have a ticked checkbox to install yahoo startpage; or i will have the options to check/uncheck file extensions to be connected with the software to be installed; or other install options...)
Why would I use vanila Launchy vs windows key (you know, just pressing windows key, type and then press enter)?
That Twilight Zone joke at the end was amazing xD
On my old laptop I had the Ninite installer configured to run weekly. It then downloaded and installed updated versions automatically if they are available.
Forgot how to do it, though.
I will have to take a look at launchy, my install seems to not want to find any installed apps when searching. I have resorted to desktop icons again like wits windows xp
Love the twilight zone homage at the end, even though I don't think many of your viewers are old enough to get the reference.
LOL I was gonna comment about Ninite, God damn you've got 20/20 foresight!
Thanks for the tip!
Looks like Choco has come a long way since I looked at it several years ago in its early days. Back then all it did was download the installer and run it with default options. I've been using mys2, which comes with the pacman package manager from Arch. It's nice, especially for libraries, but it doesn't have nearly as much stuff as Choco.
Edit: the lack of package signing is a serious omission.
Package signing is something that is on the roadmap for Chocolatey, so keep an eye out for it. In the meantime, all packages submitting to Chocolatey.org go through a fairly rigorous moderation process, including submitting all package contents (including installers that are downloaded) to VirusTotal, where they are scanned with between 60-70 different virus scanners.
Doesn't ninite update all the apps in the executable file if they're already installed? If so, would it be possible to have a script run it during start up/any set time and/or with a macro command?
Yes it does, yes it is
10:35
Augustus Bohn he does discuss about it. And that's where I got my question because he said "it just installs and then forget about it" but it also can be used to update the apps
Use Ninite to install, and then let the programs handle there own.
Yeah ninite is my go to. Installs a good amount of apps that a new install needs and can keep them up to date later on.
Very useful explanation - thank you! You mentioned also settings management - can you tell me, if you already found a good way to restore settings? It is very annoying, for example Word dictionary etc.
I love these kinda of vids.
What's the difference between launch and pressing the windows key and typing what you are looking for?
Would love to see a multi-computer management tutorial with Chocolatey and Ansible on the Enterprise Channel.
Can you tell me one thing, Chocolatey GUI's feature "Show download progress" is not working for me
Despite just having left Ubuntu for Manjaro, Synaptic still holds a place in my heart.
But yeah, Microshaft should look at the experience of apt, dnf, pacman, yum, and zypper (I think I got most of the major binary package managers on Linux) for inspiration about how to do a package manager/software store.
i love this !!
Ending was great, one of my favorite Twilight Zone episodes. Least you still have your glasses =D
Amazing as always. Will save hours
Hey Wendell maybe you could help me even after a year and watching this video i still have difficulty understanding the value of a Package manager. I installed Fedora months ago to get better performance with Houdini and Blender and i ended up removing it because of my difficulty using and not being able to work around the Package manager to install software. I can see that they run but i do not know where they are installing or even choose where they install to and they only seen useful for installing off the internet. I keep all my important program installs and drivers on a separate hard drive (i own over 15 so i have the space(i'm a filmmaker)) so that i do not have to wait for a download off the internet, or if the internet speed is slow that day or not working at all or i'm in a remote location i can still install Adobe, Ableton or what ever program i need to wok in. I often wipe and reinstall windows every 4 to 5 months to keep it running as fast as possible and i hate spending time reinstalling software. What am i missing with Package Managers or is my use case only unique to me and should stick to windows?
Such engagement
With ninite if you want to update all your apps, all you have to do is run the installer again. While thats still suboptimal, it can still do it in the free version.
I use both Windows and Linux on a daily basis, and although I will still maintain that for most people, Windows allows you to do a lot, very easily, and has much better support for the kinds of things the average user does (including myself in my free time). But I also have to admit that I feel a little jealous every time I type sudo apt install and seeing it just magically happen in front of me on Linux. It is a magical thing, and it works remarkably well. The whole dependency tree being installed for you, and more importantly (this is something that just flat-out does not happen on Windows), seeing dependencies removed when the root application is removed is also amazing.
I don't think I would survive for long if I had to have Linux on my main machine as my main OS, but I hope that one day, it will have the hardware and software support that Windows has. It's good these days compared to what it used to be, but it's still a far cry from the genuine plug & play that Windows allows. Plus, I think Linux also suffers from the whole "Everything is equally hard to do" problem - you can do very complex and powerful things on Linux, and it's not all that hard - but it's also too hard to do very simple things, like ... something as trivial as creating a desktop shortcut. It should not be that hard, on ANY desktop distro. But it is. On the contrary, doing simple things in Windows is, as it should be, simple - but doing complex things on Windows is fucking atrociously difficult and inconsistent and broken. This dichotomy is why Windows still exists, yet it's also why Windows is still horrible as a power user.
Oh God, you must be my soulmate. I sometimes feel like the only person caring for setting every toggle and every switch and reading about fun about:config tricks and registry entries... Formatting and re-installing? That's my IT nightmare, especially since I don't even remember everything that I set up sometimes many many moons ago.
I recently started actually logging changes like application paths (where they store their data, like libraries) and settings and all that, but it's just a first step to being less dependent on backups gracefully restoring whenever it may be needed in the future.
I used Chocolatey a year or two ago to install SnippingTool++ and it was neat.
Engagement.
great video ,used ninite to download all apps that ineed and Kaspersky updater to keeps all apps up to date ;)
so engaged
One of the best videos EVER!!!!
after installing and setting up the config file of an application you export the settings, after reeinstalling or new installation you just import the settings file. i don't get it, in what way is linux managing the config files better than windows? so whats the deal?
does it solve the registry junk problem?
I might look into this, but for now and the past while I've focused on more linuxy things and networking and not touched my windows gaming machine more than necessary. This might be a tool worth having in my belt though.
Preferences preferences preferences
With this and Ninite, I should have all things covered. installing Chocolatey now.
After dabbling in various Linux distros and being overwhelmed , Windows 10 pushed me hard into Linux, and I have never looked back. I even converted my wife's laptop over and she has done fine with LibreOffice and Thunderbird.
What do you mean by the computer starts spazzing out from third-party software?
Can you make video on the best linux distro for chromebooks and how to install, I got stuck with one?
4:59 WHAT SCRIPT I MUST KNOW!
If you could show some automation with this so it installs everything after Win install with options etc. with one command/script why not, but now... IDK man... Plus I guess one would have to unsinall all things one has to then reinstall them with choco right?
I use Chocolatey for 4 years, the time it saves on me is massive
oh that twilight zone reference. We
Great video
O.M.G. that ending!
I keep portable versions on Dropbox to both have it available after a reformat and to avoid constantly updating on multiple computers.
It's interesting to see Microsoft building their own package manager for Windows. I'm curious how this will compare to Chocolatey eventually once we see a v1 release of the new 'winget' package manager. I've published an overview video of the new Windows Package Manager over on my channel.
Is there a way to package together different packages, as a Chocolatey user, and then have the ability to install all of those packages with one line by referencing that one mother-package? e.g. "mother-package = firefox, git, launchy, vlc", "choco install mother-package" "Firefox, Git, Launchy and VLC have been successfully installed"
Yes, this is definitely possible. You can either do something like choco install firefox git lanuchy vlc, or you can generate a packages.config file which contains all the applications that you want to install, and then you can run choco install packages.config
lol that is called a "Variable" my friend, and all shell languages have them. In PowerShell for example: $packages = 'firefox git launchy vlc'
But my example wasn't meant as the practical usage I was after, 0M9H4X. I was thinking about an online-stored, user-bound config file, or local, which seems to be the case as Gary said.
The idea being; if my computer needs reformatting, I'd like to be able to install all my favourite apps via Chocolatey, with one line of code (pretty much), without having to stop and think what programs are my favourite, or risk forgetting one, etc. Simply declaring a variable isn't the solution, that's just circling back to where you were, an easier, more useful solution is aforementioned config file.
Yip, what I was describing is what I think you want. i.e. you store that list of programs somewhere "else", or the keep the packages.config file stored somewhere "else", then, when you need to re-pave your computer, you have a single command that you can use to get all your packages installed again.
Sweet.
How comes the 920 and not a Thinkpad?
In my work I end up using Mac, Windows and Linux - so it's pretty useful to know about this.
You probably have to change the launchy hotkey since Alt+Space brings up the current focused window's context menu
Having clean installed, updated and configured, every 1-3 months, Windows 10 on ALL my systems due to features thereof misbehaving in different ways seemingly every single time, somehow, including ALL of the software I use to make a living on said systems over the past couple years, dealing with the various and uniquely infuriating ways people choose to distribute, install and update their software due to there being no cohesive solution by which to do so on said platform, I've been driven to typing enormous run on sentences in the UA-cam comment section in an attempt to vent the otherwise silent frustration at all the time that's been wasted since WIn10 first vitiated our lives.
Thank you for exposing some alternative means of dealing with third party software for us unfortunate enough to be working with this garbage fire of an OS.
package managers are fine in linux if you need common files like a pdf reader. but the package manager rarely has everything for example emulators like dolphin. you can build dolphin from source but then you have the problem of the next update breaking it due to it using different dependencies from the rest of the software on your system. also wireless drivers have been a problem for years. a majority of PCI-E ones work out of the box but even the most common usb wifi adapters can cause nightmares. my Linksys AE6000 worked like crap on arch-linux the whole system would freeze as soon as I plugged it in with the latest driver installed or the adapter wouldn't work at all depending on what kernel I was running. for that matter even if the driver wasn't installed if I tried to boot into arch with the wireless adapter plugged in it would freeze the boot-up process with errors. but it works perfectly in linux mint/ubuntu and in windows XP through 10.
That's my problem with package managers. They are great as long as everything works as expected, but solving conflicts often borders with building your own system as you replace half the core packages in the process (hoping it still works after the next reboot).
And compiling on your own instead? Good luck installing all the additional dependencies required for that without an issue. Chances are the package you seek doesn't exist for a reason.
And who knows? Maybe the MATE flavor or the 32-bit version of the same distro would have worked 100% for your particular case. Go ahead, try four or five options, you might find a setup that works for a year or so...
I used to laugh at multi-DVD "full monty" distros, but I see their point. You know for sure that all the programs can co-exist, because they are already installed. :)
We actually tinkered with Chocolatey scripts in the enterprise, updating and installing apps across entire domains, thousands of computers running these scripts.
We ended up going with Ninte Pro for our needs, but it was a super cool project.
And, our needs, aka windows GUI-only admins confused about this Linuxy tomfoolery... Imo enterprise chocolatey was a far better implementation.
Wow this is really interesting! I usually use ninite.com for all of my software install tasks but I'll be sure to give this a shot the next time I have to
Thoughts on Wox + Everything plugin vs Launchy?
Congratz on the Yoga, it's a great machine!
Best twilight reference ever
Boiler snake demands engagement!
I've been using ninite for a while, need to check this out. Also, Aqua teen!
Neat. My Surface Pro 3, Ryzen 7, Ryzen 5, and shitty old Lenovo all run Linux though. #LinuxMasterRace
RIP your Surface, buddy. Pressing F to pay respects right now.
Reygle F
Got a friend custom making a version of windows. It has none of this bull.
Wendell has really become a great host
Love the volume of people trying to get this numbers up
Jesus, I wish I'd known about this when I was doing a bunch of windows installs/reinstalls for myself as well as family/friends. I'd gotten to where I'd just made a command line script for silent installing the essential stuff like 7zip while still having to keep all the installer files up to date manually. This is muuuch easier. Could even just add that powershell command to the post-install commands in NTlite.
Best Video start face EVER!!!!!
Windows already has a reliable way of backing up settings offline. Its called the registry editor. I have a .reg file containing all of my settings that I run every time I reinstall Windows. You can edit .reg files with notepad or the command prompt. Its not like Linux where you have hundreds (maybe thousands?) of settings files scattered throughout the hard drive and you need a program to manage it. Its clean and simple in Windows, just the way it should be.
I got an ad guys! AAAAND... I'm engaging, which is also very important. You know it is, so...yeh
Nice
That outro too xD
I've always used Ninite but this does look quite useful
As a *Level1* sysadmin without GPO access, I have a hard time updating apps, as my superiors are busy with other stuff. I don't use a package manager on the PCs I maintain, I am the package manager. I -hunt- search for installers myself (preferably .msi files, thanks God that Frontmotion Firefox exists) and update my silent installer batch file myself. Then I just update the apps on some PCs that I get to remote into by running the .bat file, if somebody has problems. I keep file versioning in log files on the PCs, so the batch file knows what to update. Wish I would have my privileges elevated, it would make my life a heck of a lot easier and with more peace of mind.
Regarding ninite: paid version does that automatically. The installer automatically downloads latest version, so running it fter a while will install updated version of software
Neat
A nice alternative to ninite is patchmypc. Awesome video
your the best!
Please mention Unchecky if you gonna do more of these. It unchecks toolbars and other crap inside software installers. Being a power user, it still catches onto something that I miss from time to time.