Home > Articles > Operating Systems, Server > Linux/UNIX/Open Source

  • Print
  • + Share This
Like this article? We recommend

Like this article? We recommend

Installing Packages

Table 2 outlines package groups and packages you might want to install. Overall, consider dedicating a gigabyte of space to Cygwin and for expansion. As little as 500MB provides a lot of functionality.

Table 2 Choosing Specific Package Options And Why

Package Group and Specific Packages



  • cron
  • syslog-ng

The cron allows you to run commands at set days and times with finesse not found in NT’s at command. The syslog-ng is a neat logging tool. If you want to learn Linux, security, and good logging subsystems.


  • sharutils
  • zip
  • unzip

If you look carefully, tar is a Cygwin default. Be sure to include it because it is a UNIX fundamental for many archives. The same is said for sharutils and zip/unzip.



Audio support for all the possible PC hardware can be dicey. You may want to try these packages later.



Do not uncheck a single one of these as all are needed for a good installation.



I suggest avoiding databases until you have more experience with Linux.



Don’t uncheck any. When you start writing shell scripts, you’ll be happy you didn’t. Neat utilities get installed here.


  • Cygwin-x-doc
  • PERL manpages
  • Pinfo
  • Xpdf

If you want a Graphical User Interface (GUI), you need X Windows, along with the documentation. You’ll find many good scripts available in PERL. I believe it’s worth loading. Pinfo is a nice way to look up and read help, and xpdf is a PDF reader you’ll enjoy.


  • Ed
  • Gvim
  • nano


Vi is one editor you’ll find on practically all UNIX systems (note it’s not pronounced "six"). It is a fundamental tool you must learn. This editor is a bit difficult to learn, so we’ll allow you nano for any immediate edits. The gvim is the graphical Vim (Vi Improved). It’s a great way to learn native Vi commands because the menu system is peppered with Vi commands. In fact, an Internet search shows a Windows version of gvim. Many love emacs. You might. Some consider it the garage door of UNIX editors—all overhead—because of its size and complexity.


User choice.



Select Install to install a great window manager. This will make your GUI more like a windows environment that Spartan window managers like twm.



Some great graphics programs are found here, but they are large and maybe a distraction from learning Linux. Do not uncheck any selections.


PERL is a language you may find fun. Do not uncheck any defaults.



KDE is an impressive window manager, environment, suite of tools, etc. Give it a try if you have lots of disk space.

Libs [System Libraries]

Do NOT uncheck any defaults. There are so many tools here that you really should check out an online book at Safari that can explain these great tools adequately.


  • Pine

If you want a clean mail client, Pine has a lot to offer. Remember: Pine is not Elm. Check the initial letter. PINE = Pine Is Not Elm is the kind of recursive joking UNIX geeks love. Does it get any better?


Unless you have a special need for these tools, leave them alone.


Not necessary for a first-timer.


  • Inetutils
  • Openssh
  • Openssl
  • Ping

This is an important set of tools. Inetutils helps you get the clients you need. You need openssh clients increasingly, and while you don’t need openssl for client use, you’ll want to try openssh as a server. Ping is an important network diagnostic tool that lets you check connectivity.


All or none

I enjoy PERL; you may as well.


Not needed for the first-timer.


All or none

Some say Python is the new PERL.


Do not uncheck anything here. Stay with bash as a shell until you learn more.


  • Man

Do NOT uncheck anything here! These are important tools. Man is a series of MANual pages. Typing man ls will give you help. Despite one coworker’s accusations, man pages are for women, too.


  • Less

For now, don’t uncheck any that is preselected. Ensure you have less and maybe more. These commands are vital for paging through long screens of information.


  • Clamav
  • Time

Do NOT uncheck preselected values. These can be vital. Clamav is an antivirus scanner you might want to try. The time command is great for scripts. Why no rpm commands? Cygwin uses the cygwin tool itself for updates. Each of these file is a Windows *.exe file—not a native Linux file. RPMs won’t do you a lot of good on this platform.


These are good utilities. Beginners will enjoy curl or lynx once they get a stable system.







You’ll probably want more than a command-line environment. Once you select a key thing or two in Gnome or KDE, a lot of selections in this group are chosen for you. Gnome, KDE, or Windowmaker are window managers. Each can come with dedicated suites of tools to give you a diverse, and at times, confusing experience. Go to Safari and get a few books on Linux to understand window management in Linux. Oh, download xeyes for a test.

So now, after all the loading, what are you left with? You should have some new programs in the Windows Programs menu. You may have an icon on your desktop. Let’s actually see what the wait has brought us.

I open my Cygwin and then Bash Shell menu entries, and it springs to life before me, as in Listing 1.

Listing 1 The Power of the bash Command Line

traenkster@Shocker ~
$ ll
total 165
drwxrwxrwx+ 2 traenkster None  0 Dec 27 20:53 .
drwxrwxrwx+ 3 traenkster None  0 Dec 24 10:36 ..
-rw------- 1 traenkster None 6315 Feb 5 20:01 .bash_history
-rwxr-xr-x 1 traenkster None 1150 Dec 24 10:35 .bash_profile
-rwxr-xr-x 1 traenkster None 367 Dec 24 10:46 .bashrc
-rwxr-xr-x 1 traenkster None 1336 Dec 24 10:35 .inputrc
-rw-r--r-- 1 traenkster None 145 Dec 26 12:45 mycmd
-rw-r--r-- 1 traenkster None 7238 Dec 24 17:14 rsync.txt
-rw-r--r-- 1 traenkster None 110800 Dec 24 17:39 rsynman.txt
-rw-r--r-- 1 traenkster None 19155 Dec 27 20:53 test
-rw-r--r-- 1 traenkster None 3737 Dec 25 12:11 ttcp.txt

It’s all here, folks. Shell scripting, files hidden with a leading period—you-name-it. This is a true Linux subsystem that’s appearing in the same window as the normal Windows cmd. This means you can change colors and scrolling lines and all that good stuff by editing the Properties item, found by clicking the Cygwin icon in the upper-left corner. Let’s make life easier for you. Execute updatedb and let this application do its work. It will build a searchable database of all cygwin files. Once this ends, we’ll have the full location listed for us if we type locate followed by the search string. You try it. Type locate bash, and you should see a long line of entries. Type locate bash | grep bin and you should find bash is in /bin/bash and in /usr/bin/bash.

Oh yes, this is great stuff. But it doesn’t end there. Did you download Gnome, WindowMaker, or KDE? Let’s start a graphical session.

Starting your X Windows session is as easy as typing startx& at the command prompt. Linux is case-sensitive, so type the command in lowercase only. Why end a command with an ampersand &? The ampersand instructs the shell to execute the startx command as a separate process and then return. Without the ampersand, your command prompt stays busy until the X Windows session ends. But in our case, we are greeted with a true xterm prompt, and we have our command-line prompt available as well.

Other than the colors being different and the new top bar, the graphic xterm doesn’t look much different than the other bash command prompt. Now type xeyes&, and you should have a pair of eyes that follow your cursor, as illustrated in Figure 3.

Figure 3

Figure 3 Character mode command prompt, xterm graphical command prompt, and two eyes watching it all.

  • + Share This
  • 🔖 Save To Your Account

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020