8

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?

1 Answer 1

14
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, 2020 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, 2020 at 7:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .