OpenSource For You

Searching for the repository name locally in Ubuntu

-

It’s difficult to remember the required repository names for various applicatio­ns in Ubuntu. We can search from the cache generated after an aptget update for this. The usage is:

apt-cache search [search term(s)]

Here’s an example:

apt-cache search python game binding

The above code will search for the terms ‘python’, ‘game’ and ‘binding’ in the repository name and shortdescr­iption strings, and suggest various repos. You can install the required one by using the ‘sudo aptget install [name]’ command. —Sricharan Chiruvolu, sricharani­zed@gmail.com

Newspapers in English

Newspapers from India