Update README.md

This commit is contained in:
Steven Penny 2014-10-26 18:40:21 -05:00
parent 7bec32e1d8
commit c7f61ef0e8
1 changed files with 49 additions and 31 deletions

View File

@ -2,43 +2,61 @@ apt-cyg
=======
apt-cyg is a Cygwin package manager. It includes a command-line installer for
Cygwin which cooperates with Cygwin Setup and uses the same repository. The
syntax is similar to apt-get. Usage examples:
Cygwin which cooperates with Cygwin Setup and uses the same repository.
* `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 list [pattern(s)]` to list packages matching given pattern. If no
pattern is given, list all installed packages.
* `apt-cyg show <pattern(s)>` to show packages matching patterns
* `apt-cyg search <commands or files>` to locate parent packages
<table>
<thead>
<tr>
<th>Command</th>
<th>Description</th>
<th>Analog</th>
</tr>
</thead>
<tbody>
<tr>
<td>install</td>
<td>Install packages</td>
<td>apt-get install</td>
</tr>
<tr>
<td>remove</td>
<td>Remove packages</td>
<td>apt-get&nbsp;remove</td>
</tr>
<tr>
<td>update</td>
<td>Update setup.ini</td>
<td>apt-get&nbsp;update</td>
</tr>
<tr>
<td>show</td>
<td>Displays the package records for the named packages</td>
<td>apt-cache&nbsp;show</td>
</tr>
<tr>
<td>list</td>
<td>
List packages matching given pattern. If no pattern is given, list all installed
packages.
</td>
<td>dpkg --list</td>
</tr>
<tr>
<td>search</td>
<td>Search for a filename from installed packages</td>
<td>dpkg --search</td>
</tr>
</tbody>
</table>
Quick start
-----------
apt-cyg is a simple script. To install:
```
# wget https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg
```
then place it in a `/bin` folder on your path:
```
# mv apt-cyg /bin/apt-cyg
```
and make it executable:
```
chmod +x /bin/apt-cyg
```
wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg
install apt-cyg /bin
Example use of apt-cyg:
```
# apt-cyg install nano
```
Contributing
------------
This project has been re-published on GitHub to make contributing easier. Feel
free to fork and modify this script.
The [Google Code project](http://apt-cyg.googlecode.com) also has a list of
open issues.
apt-cyg install nano