grvs/UniversalCodeGrep

Project ID: 5834

Description

UniversalCodeGrep (ucg) is an extremely fast grep-like tool specialized for searching large bodies of source code. It is intended to be largely command-line compatible with Ack, to some extent with ag, and where appropriate with grep. Search patterns are specified as PCRE regexes.

Upstream (which is me):

Installation Instructions

Installation is a two-step process:

  1. Enable this COPR repository on your machine
  2. Install UniversalCodeGrep using your package manager.

1. Enable this COPR repository

Per https://fedorahosted.org/copr/wiki/HowToEnableRepo and the "Quick Enable" box to the right:

sudo dnf copr enable grvs/UniversalCodeGrep

Note for CentOS 7 users

ucg depends on the libpcre2 in the EPEL 7 repo, which you must also enable. Simply run this as root:

yum install epel-release

2. Install UniversalCodeGrep

Now you can install ucg as you would any other software:

sudo dnf install universalcodegrep

If you have older distribution, you may need to replace dnf with yum in the above. You also must have dnf-plugins-core or yum-plugin-copr installed as appropriate.

Upgrading

If you are upgrading from a previous version of UniversalCodeGrep and dnf tells you "Dependencies resolved. Nothing to do. Complete!", you may have to give it the "--refresh" option:

sudo dnf --refresh upgrade universalcodegrep

It is unclear at this time why "--refresh" is sometimes necessary.

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download

* Total number of downloaded packages.