Update README.md
This commit is contained in:
parent
7bec32e1d8
commit
c7f61ef0e8
80
README.md
80
README.md
|
@ -2,43 +2,61 @@ apt-cyg
|
||||||
=======
|
=======
|
||||||
|
|
||||||
apt-cyg is a Cygwin package manager. It includes a command-line installer for
|
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
|
Cygwin which cooperates with Cygwin Setup and uses the same repository.
|
||||||
syntax is similar to apt-get. Usage examples:
|
|
||||||
|
|
||||||
* `apt-cyg install <package names>` to install packages
|
<table>
|
||||||
* `apt-cyg remove <package names>` to remove packages
|
<thead>
|
||||||
* `apt-cyg update` to update setup.ini
|
<tr>
|
||||||
* `apt-cyg list [pattern(s)]` to list packages matching given pattern. If no
|
<th>Command</th>
|
||||||
pattern is given, list all installed packages.
|
<th>Description</th>
|
||||||
* `apt-cyg show <pattern(s)>` to show packages matching patterns
|
<th>Analog</th>
|
||||||
* `apt-cyg search <commands or files>` to locate parent packages
|
</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 remove</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>update</td>
|
||||||
|
<td>Update setup.ini</td>
|
||||||
|
<td>apt-get update</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>show</td>
|
||||||
|
<td>Displays the package records for the named packages</td>
|
||||||
|
<td>apt-cache 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
|
Quick start
|
||||||
-----------
|
-----------
|
||||||
|
|
||||||
apt-cyg is a simple script. To install:
|
apt-cyg is a simple script. To install:
|
||||||
```
|
|
||||||
# wget https://raw.githubusercontent.com/transcode-open/apt-cyg/master/apt-cyg
|
wget rawgit.com/transcode-open/apt-cyg/master/apt-cyg
|
||||||
```
|
install apt-cyg /bin
|
||||||
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
|
|
||||||
```
|
|
||||||
|
|
||||||
Example use of apt-cyg:
|
Example use of apt-cyg:
|
||||||
```
|
|
||||||
# apt-cyg install nano
|
|
||||||
```
|
|
||||||
|
|
||||||
Contributing
|
apt-cyg install nano
|
||||||
------------
|
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
Loading…
Reference in New Issue