{"id":5997,"date":"2021-09-15T12:01:09","date_gmt":"2021-09-15T12:01:09","guid":{"rendered":"https:\/\/davelevy.info\/wiki\/?p=5997"},"modified":"2023-10-27T19:02:17","modified_gmt":"2023-10-27T19:02:17","slug":"package-management-on-windows","status":"publish","type":"post","link":"https:\/\/davelevy.info\/wiki\/package-management-on-windows\/","title":{"rendered":"Package management on Windows"},"content":{"rendered":"<p>I have just reset my PC and need to re-install my packages. A package manager with an offline database would be cool, like the MS store, but for those apps not on the store, there needs to be a different answer. Here are my notes.<!--more--><\/p>\n<p>I did some work on this when looking at how to <a href=\"https:\/\/davelevy.info\/wiki\/deploying-microsoft\/\">jump start windows<\/a>, but for the consumer, this looks less than easy.<\/p>\n<p><a href=\"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2021\/09\/packages-element5digitial-unsplash-w650-cropped.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5998\" src=\"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2021\/09\/packages-element5digitial-unsplash-w650-cropped.png\" alt=\"\" width=\"650\" height=\"205\" srcset=\"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2021\/09\/packages-element5digitial-unsplash-w650-cropped.png 650w, https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2021\/09\/packages-element5digitial-unsplash-w650-cropped-300x95.png 300w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><\/a><\/p>\n<p>I have found the following resources, but the reality is I am reinstalling by hand. (I also f&#8217;d up and have lost my password store from the browsers &#8211; bugger!)<\/p>\n<p>On installing wt.exe, I discover I want\/need bash. This takes me to this on <a title=\"Windows Subsystem for Linux Installation Guide for Windows 10\" href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/wsl\/install-win10\">installing the WSL<\/a>, and <a title=\"Ubuntu on Windows at the Microsoft Store.\" href=\"https:\/\/www.microsoft.com\/en-us\/p\/ubuntu\/9nblggh4msv6#activetab=pivot:overviewtab\">this<\/a> on the store for the bash implementation. (So yet another software source).<\/p>\n<p>Google found me, an <a title=\"has a bunch which need a better review than available in that article, for another time?\" href=\"https:\/\/www.hongkiat.com\/blog\/batch-install-uninstall-windows\/\">article on installers\/uninstallers<\/a>, by Hongkiat and I rather liked, the look of <a href=\"https:\/\/ninite.com\/\">ninite<\/a>, although it is operates off a closed list of packages, although so does apt. NInite has a good list, but not acroread, nor ccleaner.<\/p>\n<ol>\n<li>https:\/\/npackd.appspot.com\/ claims to have over 1000, packages and repo extensibility.<\/li>\n<li>I found, &#8220;<a href=\"https:\/\/www.hanselman.com\/blog\/aptget-for-windows-oneget-and-chocolatey-on-windows-10\">Apt-Get for Windows &#8211; OneGet and Chocolatey on Windows 10<\/a>&#8221; by Scott Hanselman, OneGet it seems is a windows feature, using the name <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/package-manager\/\">Package Manager<\/a>? Their documentation point at <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/package-manager\/winget\/\">winget<\/a>. OneGet claims to be a manger of managers and is <a href=\"https:\/\/github.com\/OneGet\/oneget\/wiki\">opensource<\/a>; this is <a href=\"https:\/\/www.howtogeek.com\/224111\/how-to-use-packagemanagement-aka-oneget-on-windows-10\/\">what how to geek has to say about it<\/a>. It&#8217;s an opensource project.<\/li>\n<li>I have found <a href=\"https:\/\/chocolatey.org\/resources\/videos\/what-is-chocolatey\">Cholatey<\/a> before, I used on my <em>n-2<\/em> build. Is it&#8217;s repo big enough today? I wasn&#8217;t keen last time.<\/li>\n<li>ccleaner offers a package updater, but only what it knows about.<\/li>\n<\/ol>\n<p>Microsoft have incorporated OneGet into <span style=\"text-decoration: underline;\"><em><a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/package-manager\/\">Windows Package Manager<\/a><\/em><\/span>, <a href=\"https:\/\/www.techradar.com\/uk\/how-to\/how-to-install-and-use-windows-package-manager\">Techrader comments<\/a>, as does <a href=\"https:\/\/www.windowscentral.com\/how-use-windows-package-manager-install-apps\">Windows Central<\/a>. I remain unsure what the equivilant commands to apt-cache and add-repository are, although <a title=\"Winget: Windows 10 Package Manager to install various apps via command from how2shout\" href=\"https:\/\/web.archive.org\/web\/20220811121003\/https:\/\/www.how2shout.com\/tools\/winget-windows-10-package-manger-to-install-various-apps-via-command.html\">this<\/a> suggests they are sub-commands of winget.<\/p>\n<p>See also<\/p>\n<ol>\n<li><a href=\"https:\/\/davelevy.info\/wiki\/mucking-around-until-it-breaks\/\">https:\/\/davelevy.info\/wiki\/mucking-around-until-it-breaks\/<\/a><\/li>\n<li><a href=\"https:\/\/davelevy.info\/wiki\/my-newest-w10-build\/\">https:\/\/davelevy.info\/wiki\/my-newest-w10-build\/<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>I have just reset my PC and need to re-install my packages. A package manager with an offline database would be cool, like the MS store, but for those apps not on the store, there needs to be a different answer. Here are my notes.<\/p>\n","protected":false},"author":1,"featured_media":4777,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_share_on_mastodon":"0"},"categories":[111,3,1042,1784],"tags":[112,194,911,992,1785,1692],"class_list":["post-5997","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud","category-technology","category-w10","category-w11","tag-cloud-2","tag-packagemanager","tag-technology","tag-w10","tag-w11","tag-winget"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2020\/02\/windscreen-w10.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/5997","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/comments?post=5997"}],"version-history":[{"count":2,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/5997\/revisions"}],"predecessor-version":[{"id":9383,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/5997\/revisions\/9383"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media\/4777"}],"wp:attachment":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media?parent=5997"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/categories?post=5997"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/tags?post=5997"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}