0

Package Manager for Windows

 2 years ago
source link: https://dev.to/fahimfba/package-manager-for-windows-6l7
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

What is a package manager?

A package manager is a collection of software tools which automates the process of installation, along with the upgrading and configuring process as well. Package manager is a common feature in Linux based operating system. Some common package manager for Unix/Linux based operating systems are: Dpkg, Yum, etc. However, in Windows, package manager was not that much common at all earlier, but Chocolatey has filled the gap afterward.

What is Chocolatey?

Chocolatey is basically a software management solution for the Windows operating system. Chocolatey implements the full package management techniques. It also allows us to version different items, manage their dependencies along with the installation order, It helps to improve the inventory management as well.
You can install mostly used necessary software on your Windows operating system directly using the Chocolatey package manager.

Pre-requisite for Chocolatey

Make sure that you have the following prerequisite:

  • Windows 7+ / Windows Server 2003+
  • PowerShell v2+ (minimum is v3 for install from this website due to TLS 1.2 requirement)
  • .NET Framework 4+ (the installation will attempt to install .NET 4.0 if you do not have it installed)(minimum is 4.5 for install from this website due to TLS 1.2 requirement)

Install Chocolatey

  • Open the PowerShell with the Administrator access by clicking on the Run as Administrator.
  • Enter the command and press on the Enter key.
Get-ExecutionPolicy
Enter fullscreen modeExit fullscreen mode
  • If it returns Restricted, then run the following command.
Set-ExecutionPolicy AllSigned
Enter fullscreen modeExit fullscreen mode

In the prompt, press A for All.

  • Run the following command afterward.
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
Enter fullscreen modeExit fullscreen mode
  • Wait for some time and let the process finishes. After finishing, you can check out the version of the Chocolatey by using the following command.
choco --version
Enter fullscreen modeExit fullscreen mode
  • You are good to go with the Chocolatey package manager.

Some Necessary Software You Can Install first Using Chocolatey

You can check for the software/packages you want to install from here. I prefer installing these as early as possible.

  • DirectX
choco install -y directx
Enter fullscreen modeExit fullscreen mode
  • Microsoft Visual C++ Runtime - all versions 1.0.1
choco install -y vcreditst-all
Enter fullscreen modeExit fullscreen mode
  • Adobe Acrobat Reader DC 2021.007.20099
choco install adobereader
Enter fullscreen modeExit fullscreen mode
  • Google Chrome Web-browser
choco install googlechrome
Enter fullscreen modeExit fullscreen mode
choco install 7zip.install
Enter fullscreen modeExit fullscreen mode
  • Python 3.x 3.10.0
choco install python3
Enter fullscreen modeExit fullscreen mode
choco install git.install
Enter fullscreen modeExit fullscreen mode
  • Node JS
choco install nodejs.install
Enter fullscreen modeExit fullscreen mode
  • VS Code
choco install vscode
Enter fullscreen modeExit fullscreen mode
  • Mozilla Thunderbird
choco install thunderbird
Enter fullscreen modeExit fullscreen mode

Thanks for reading the entire article. You may follow me on GitHub, LinkedIn, Twitter, YouTube.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK