Friday, December 30, 2016

How to search software package on Ubuntu


You can install software package on ubuntu using 'apt-get install' command, and you can uninstall software using 'apt-get remove' command, but what about searching the software package itself?

Yes, you can also search for software package through the command line, there is a dedicated command for searching software package on ubuntu, called 'apt-cache search'.

Unlike 'apt-get install' or 'apt-get remove', the 'apt-cache search' can be run without sudo, you just need to run 'apt-cache search' followed by the name of software package that you are looking.
apt-cache search [package-name]
Example
apt-cache search tomahawk
apt-cache search vlc
apt-cache search vlc | grep player

No comments:

Post a Comment