How to view installed package version numbers under Ubuntu

Source: Internet
Author: User

Most of the previous work was done under Red Hat Enterprise, it is convenient to find the installation pack rpm, but because most of the servers in this side are running in a ubantu environment, they are complementary.

It is also easy to view the installed package version numbers under the terminal, as well as to see if the required packages are installed and version numbers, and to see which packages can be upgraded. To achieve this goal under the terminal is to use a software tool called Apt-show-versions, installed through Apt-get:

$sudo Apt-get Install Apt-show-versions

or click the icon below to install it (only available in Firefox under Ubuntu):

After installation, you can use the command under Terminal:

$apt-show-versions

To see all of the installed packages and version numbers, but too many results will be swept over, plus the terminal's own script more to print the results of each screen:

$apt-show-versions |more

This way print full screen on pause, press ENTER to print the next line, press the space bar to print the next screen, press the Q key to exit the printing results. If you want to view the version of a single package, use the command:

$apt-show-versions–p <package>//<package> are package names without symbols

If you want to view the packages that can be upgraded, use the command:

$apt-show-versions–u

How to view installed package version numbers under Ubuntu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.