6

I have installed Ubuntu 12.04 LTS on Amazon EC2 instance along with Tomcat and MySql. Tomcat, Java and MySql packages were available along with Ubuntu and I didn't have to download them.

Now I wish to install Percona Xtrabackup to my Server.

Now, how do I find if a certain package is already available with the installation or I have to install it externally?

12
apt-cache search <name>

Will give you a list of available packages matching the name.

2
  • Is there a way to check a long list of packages with single command? Jun 24 '20 at 20:30
  • 1
    Single command, not that I know of, in a single line it is possible using echo <list> | xargs -L1 apt-cache search
    – Didi Kohen
    Nov 25 '20 at 7:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.