Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

How to install Cygwin packages from the command line

Posted on 13/03/202017/08/2026 Christian By Christian 2 Comments on How to install Cygwin packages from the command line
  1. Home
  2. Windows Server
  3. How to install Cygwin packages from the command line
install Cygwin packages from the command line

One of the greatest challenges in utilizing Cygwin is using the setup GUI program to view, install or uninstall packages. The syntax “apt-cyg”, can helps in installing and removing Cygwin packages. Here is how to install Cygwin packages from the command line using “apt-cyg”.

Note: Before proceeding with these steps, test if you can run these commands on the fly, (to install and uninstall). If this does not work, then you can proceed with the following steps below.

To install “apt-cyg”, first install the subversion and wget packages using the setup program as shown below

$ wget https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg
$ install apt-cyg /bin
install subversion and wget packages in command line
install Cygwin packages from the command line

You are now ready to use apt-cyg, which is actually a Bash shell script.

  • apt-cyg update
  • apt-cyg show
  • apt-cyg install krb5-workstation
  • apt-cyg remove

Here is an example below on how to install packages via apt-cyg

Package is already installed

I hope you found this blog post on How to install Cygwin packages from the command line helpful. If you have any questions, please let me know in the comment session. I welcome you to follow me on Twitter and Facebook.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Windows Server Tags:Configuration Management Tool, Cygwin, Microsoft Windows, Orchestration Tool

Post navigation

Previous Post: Allow only Administrators to shut down and reboot Server
Next Post: How to determine Cygwin version

Related Posts

  • Server Manager
    How to reinstall Server Manager and disable Server Manager at startup for all users and login users Windows Server
  • How to Convert a Distribution Group to a Security Group
    How to convert distribution group to security group Windows Server
  • hero windowsadmincenter
    Failed to create a scheduled task: There is no disconnected command associated with the runspace Windows Server
  • Configure AD LDAPs
    Generate a self-signed SSL certificate: Enable LDAP over SSL Windows Server
  • RDS Error
    RDP Users are unable to change Passwords Windows Server
  • Hyper V VM creation
    How to Create a Windows Server VM on HyperV Windows Server

More Related Articles

windows server 2019 logo How to create a Windows Server reference image using WDS Windows Server
what is saml e1690630549650 What is SAML – Security Assertion Markup Language Windows Server
BitLocker renamedevicefghjkl What are the effect of renaming an MBAM-Protected Computer Windows
banner How to deploy Folder Redirection in Windows Windows
jmeterlogo 3 Install and conduct performance testing using Apache JMeter on your Web App Configuration Management Tool
dasfdg Unable to execute: The application GUID not found in the application list Windows Server

Comments (2) on “How to install Cygwin packages from the command line”

  1. Avatar photo Peter K says:
    25/11/2020 at 11:22 AM

    Approval! Thank you!

    Log in to Reply
    1. chris Christian says:
      25/11/2020 at 1:18 PM

      I am glad you found this useful.

      Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • When Backup Jobs Collide: Investigating Veeam DiskLib Error 13 Network | Monitoring
  • Norton backup
    How to set up Norton Cloud Backup on Windows Anti-Virus Solution
  • screenshot 2020 04 22 at 23.28.23
    Remove saved RDP connections in Windows Windows
  • Webp.net resizeimage 3 1
    How To Configure VM Update Management on Azure Stack Hub AWS/Azure/OpenShift
  • commit trong git 640
    How to uninstall Git from MacOS Mac
  • microsoft warns windows 10 cumulative update kb4494441 breaks down some websites 526066 2
    Launch an application automatically during startup on Windows Windows
  • image001
    Fix Certificate Error: Unable to access Windows Admin Center from the Web Windows Server
  • screenshot 2020 02 07 at 20.59.01
    How to use the PsInfo utility from SysInternals Windows Server

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,746 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.