Questions tagged [apt-cache]

See apt, the deafult package manager for ubuntu.

A tool to search Aptitude with. Usage: apt-cache [options] [-o config=string] [-c=cfgfile] command [pkg|file(s)|regex]

92 questions
6
votes
1 answer

Cannot grep apt-cache show output

I have a list of packages and I want to know which packages are not available in the ubuntu repositories. I type this command but it returns nothing : $ apt-cache show vim TotO perl 2>&1 | grep "Unable to locate package" $ It occurs in both Ubuntu…
SebMa
  • 2,291
3
votes
2 answers

Questions about apt-cache showpkg

when I enter $ apt-cache showpkg gnome-devel in my terminal, I get : Package: gnome-devel Versions: 1:3.0+6ubuntu4 (/var/lib/apt/lists/fr.archive.ubuntu.com_ubuntu_dists_quantal_universe_binary-amd64_Packages) Description Language: File:…
loloof64
  • 229
3
votes
2 answers

Show available/installed version in the output of apt-cache

I read about this Q&A : Show available/installed version in the output of aptitude search. My question is, how do I search by name not by terms? should I change apt-cache search $TERMS to apt-cache search $NAME? I tried change it but its not…
0
votes
1 answer

How can I find all packages that depends on another?

Possible Duplicate: How to list package dependees (reverse dependencies)? I want to find all the packages in the Ubuntu repository that depends on one particular package. In this case I want that dependency to be libqt4-dev, so I can find all the…
user2405
0
votes
2 answers

What is the package name for JVM?

If I want to know if skype is installed, I would type this: viggy@ubuntu:~$ apt-cache policy skype skype:i386: Installed: 4.0.0.8-1 Candidate: 4.0.0.8-1 Version table: *** 4.0.0.8-1 0 100 /var/lib/dpkg/status Or if Eclipse is…
JohnMerlino
  • 7,309