zoukankan      html  css  js  c++  java
  • Cygwin install apt-cyg

    1. UPDATE CYGWIN

    First of all you will need to ensure that Cygwin has the necessary binaries required for apt-cyg. This is achieved via the use of the Cygwin setup executable via the Windows command prompt.

    C:UsersadminDownloadssetup.exe -q -P  wget,tar,qawk,bzip2,subversion,vim

    2. INSTALL APT-CYG

    Next download and install apt-cyg from within Cygwin.
    $ svn --force export http://apt-cyg.googlecode.com/svn/trunk/ /bin/ 
    $ chmod +x /bin/apt-cyg

    3. SYNTAX

    "apt-cyg install <package names>" to install packages 
    "apt-cyg remove <package names>" to remove packages 
    "apt-cyg update" to update setup.ini 
    "apt-cyg show" to show installed packages 
    "apt-cyg find <pattern(s)>" to find packages matching patterns 
    "apt-cyg describe <pattern(s)>" to describe packages matching patterns 
    "apt-cyg packageof <commands or files>" to locate parent packages

    4. EXAMPLE

    $ apt-cyg install rsync
    Working directory is /setup
    Mirror is ftp://mirror.mcs.anl.gov/pub/cygwin
    --2011-05-09 06:44:24-- ftp://mirror.mcs.anl.gov/pub/cygwin/setup.bz2
    => `.listing'
    Resolving mirror.mcs.anl.gov (mirror.mcs.anl.gov)... 2620:0:dc0:1800:214:4fff:fe7d:1b9, 146.137.96.15, 146.137.96.7
    Connecting to mirror.mcs.anl.gov (mirror.mcs.anl.gov)|2620:0:dc0:1800:214:4fff:fe7d:1b9|:21... failed: Connection timed out.
    Connecting to mirror.mcs.anl.gov (mirror.mcs.anl.gov)|146.137.96.15|:21... connected.

    !! Output Omitted !!

    2011-05-09 06:45:16 (131 KB/s) - `rsync-3.0.8-1.tar.bz2' saved [272248]

    Unpacking...
    Package rsync requires the following packages, installing:
    libgcc1 libiconv2 libpopt0 cygwin
    Package libgcc1 is already installed, skipping
    Package libiconv2 is already installed, skipping
    Package libpopt0 is already installed, skipping
    Package cygwin is already installed, skipping
    Package rsync installed

    5. REFERENCES

    https://www.fir3net.com/UNIX/Linux/cygwin-package-installation.html

     
  • 相关阅读:
    PHP返回随机颜色
    SQL Server 系统表介绍:sys.dm_exec_requests
    ORA27300 ORA27301 ORA27302 ORA27157
    Linux的subversion安装配置
    批处理计算n天前\后的日期
    Linux下vsftp配置
    RedHat Linux 5企业版开启VNCSERVER远程桌面功能
    WAS 6.1命令行(静默)安装
    五板斧封杀Windows操作系统默认共享(图)
    Select Top在不同数据库中的使用用法:
  • 原文地址:https://www.cnblogs.com/Jim-william/p/4531019.html
Copyright © 2011-2022 走看看