Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows Server » How to install Cygwin packages from the command line
  • Screenshot 2022 04 28 at 22.35.11
    Fix “There was a problem starting logilda.dll” in Windows Windows
  • disable automatic updates in Windows
    How to disable automatic Windows updates via Windows Settings Windows
  • Run Android Apps on Windows with BlueStacks
    How to Run Android Apps on Windows with BlueStacks Windows
  • Featured image 4
    How to remove a Device from your Microsoft Account Microsoft Exchange/Office/365
  • Featured image MsTeams.
    How to share an app window on Microsoft Teams Windows
  • VMware
    How to install Windows Server 2022 on VMware Workstation Virtualization
  • banner2
    A Review of MiniTool Partition Wizard – Disk Utility Tool Reviews
  • Banner
    Enabling and Configuring WinRM via GPO Windows

How to install Cygwin packages from the command line

Posted on 13/03/202001/10/2023 Christian By Christian 2 Comments on 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.

Rate this post

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

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
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

  • ddwwdw
    How to query a list of installed programs in Windows Windows Server
  • IIS8
    How to add an account to the local IIS_IUSRS group Windows Server
  • Disable Open File Security Warnings on Windows
    How to Disable Open File Security Warnings on Windows Security | Vulnerability Scans and Assessment
  • ad lds 832x400 1
    Active Directory Lightweight Directory Services [AD LDS] Windows Server
  • CMtrace
    How to install and debug logs with the CMTrace Tool Windows Server
  • Copy and Paste Between HyperV VMs and host
    Copy and Paste between your device to a VM running in Hyper-V Windows

More Related Articles

ddwwdw How to query a list of installed programs in Windows Windows Server
IIS8 How to add an account to the local IIS_IUSRS group Windows Server
Disable Open File Security Warnings on Windows How to Disable Open File Security Warnings on Windows Security | Vulnerability Scans and Assessment
ad lds 832x400 1 Active Directory Lightweight Directory Services [AD LDS] Windows Server
CMtrace How to install and debug logs with the CMTrace Tool Windows Server
Copy and Paste Between HyperV VMs and host Copy and Paste between your device to a VM running in Hyper-V Windows

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

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • Screenshot 2022 04 28 at 22.35.11
    Fix “There was a problem starting logilda.dll” in Windows Windows
  • disable automatic updates in Windows
    How to disable automatic Windows updates via Windows Settings Windows
  • Run Android Apps on Windows with BlueStacks
    How to Run Android Apps on Windows with BlueStacks Windows
  • Featured image 4
    How to remove a Device from your Microsoft Account Microsoft Exchange/Office/365
  • Featured image MsTeams.
    How to share an app window on Microsoft Teams Windows
  • VMware
    How to install Windows Server 2022 on VMware Workstation Virtualization
  • banner2
    A Review of MiniTool Partition Wizard – Disk Utility Tool Reviews
  • Banner
    Enabling and Configuring WinRM via GPO Windows

Subscribe to Blog via Email

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

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

Tags

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

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.