How to find the list of all available packages along with the lastest version number available in the repositories?

Avinash Raj

I want to list all the packages(installed or not installed) along with the latest version number available in the repositories.

For example:

The output of apt-cache policy chromium-browser shows like below

$ apt-cache policy chromium-browser
chromium-browser:
  Installed: (none)
  Candidate: 34.0.1847.116-0ubuntu2
  Version table:
     34.0.1847.116-0ubuntu2 0
        500 http://ftp.cuhk.edu.hk/pub/Linux/ubuntu/ trusty/universe amd64 Packages

So the latest version of chromium-browser package available in the repository is 34.0.1847.116-0ubuntu2. Like that, i want to list the version number along with the package names that are available in repositories. And all i want to do this through command-line.

I want the output to be like this,

chromium-browser 34.0.1847.116-0ubuntu2
xxxxxxxxxxxxxx   yyyyyyyyyyy
............     ............
Gilles 'SO- stop being evil'

apt-cache policy '.*' displays detailed version information for all packages.

If you want a more compact output with one line per package, you can use aptitude. The following command lists available versions (see the manual for output format specifications) for all packages except cross-architecture ones (e.g. 32-bit packages on a 64-bit system) (see the manual for search patterns):

aptitude search -F '%54p %24V' '~rnative'

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How do I get a list of all AVAILABLE packages from the repositories that are configured from a command line?

From Dev

How can I get a list of all packages available for a specific version of Ubuntu (not necessarily the one I have installed)?

From Dev

How to find all the available packages (and executables) that can fulfill an "alternative"?

From Java

How to get list of all installed packages along with version in composer?

From Dev

How can I get snappy to list all available snap packages?

From Dev

Get list of all available pip packages and their versions

From Dev

Check if all packages of a long list are available

From Dev

How to list available packages in a specific repository on Debian?

From Dev

How to check which version of a product is available in repositories for different ubuntu versions?

From Dev

How can I check the available version of a package in the repositories?

From Dev

Are all apt-get packages available on 64 bit ubuntu version available on the ARM version?

From Dev

How to list Chocolatey packages already installed and newer version available from the command line

From Dev

How to find the current available version of a Cordova plugin

From Dev

How to find out next available number

From Dev

How to find all the "subchannels" available in a snap channel?

From Dev

List packages available for upgrade with APT?

From Dev

How to list all available maven lifecycles?

From Java

How to list all the available keyspaces in Cassandra?

From Java

How to list all available Kafka brokers in a cluster?

From Dev

How to list all available printers from terminal?

From Dev

How to list all available registered clients?

From Dev

How to get a list of all available targets in Yocto?

From Dev

How to list all available GKTurnBasedMatches for a player?

From Dev

How to list all available printers from terminal?

From Dev

How to list all available themes in Magento?

From Dev

How to generate list of *all* available commands and functions?

From Dev

How to get a list of all table available in the db?

From Dev

How can I filter "dpkg --get-selections" to just packages available in repositories?

From Dev

How can I filter "dpkg --get-selections" to just packages available in repositories?

Related Related

  1. 1

    How do I get a list of all AVAILABLE packages from the repositories that are configured from a command line?

  2. 2

    How can I get a list of all packages available for a specific version of Ubuntu (not necessarily the one I have installed)?

  3. 3

    How to find all the available packages (and executables) that can fulfill an "alternative"?

  4. 4

    How to get list of all installed packages along with version in composer?

  5. 5

    How can I get snappy to list all available snap packages?

  6. 6

    Get list of all available pip packages and their versions

  7. 7

    Check if all packages of a long list are available

  8. 8

    How to list available packages in a specific repository on Debian?

  9. 9

    How to check which version of a product is available in repositories for different ubuntu versions?

  10. 10

    How can I check the available version of a package in the repositories?

  11. 11

    Are all apt-get packages available on 64 bit ubuntu version available on the ARM version?

  12. 12

    How to list Chocolatey packages already installed and newer version available from the command line

  13. 13

    How to find the current available version of a Cordova plugin

  14. 14

    How to find out next available number

  15. 15

    How to find all the "subchannels" available in a snap channel?

  16. 16

    List packages available for upgrade with APT?

  17. 17

    How to list all available maven lifecycles?

  18. 18

    How to list all the available keyspaces in Cassandra?

  19. 19

    How to list all available Kafka brokers in a cluster?

  20. 20

    How to list all available printers from terminal?

  21. 21

    How to list all available registered clients?

  22. 22

    How to get a list of all available targets in Yocto?

  23. 23

    How to list all available GKTurnBasedMatches for a player?

  24. 24

    How to list all available printers from terminal?

  25. 25

    How to list all available themes in Magento?

  26. 26

    How to generate list of *all* available commands and functions?

  27. 27

    How to get a list of all table available in the db?

  28. 28

    How can I filter "dpkg --get-selections" to just packages available in repositories?

  29. 29

    How can I filter "dpkg --get-selections" to just packages available in repositories?

HotTag

Archive