Apt-get list of packages installed




















Avinash Raj Avinash Raj Wouldn't this be a lot slower than just putting the packages on one line, as it has to read package lists and build dependency trees, etc. Sign up or log in Sign up using Google.

Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually.

Linked 4. Related 1. Hot Network Questions. Question feed. Ask Ubuntu works best with JavaScript enabled. Accept all cookies Customize settings. Scala Array class: methods, examples, and syntax. Scala 3 opaque types: How to create meaningful type names. Scala 3 modules: How to build modular systems. Docker cheat sheet cheatsheet. The ideal of warriorship is Chogyam Trungpa. You can also count the total number of packages.

All you have to do is pipe the output of the aforementioned command with wc. Word count, abbreviated wc, is a Linux utility that counts the number of characters, words, or lines present in a text file. Users running older versions of Ubuntu can use the dpkg-query command to get a list of installed packages. To strip out additional information and print only the names of the packages, run the following command:. In addition to the list method, APT has several other functions that provide information associated with Linux packages.

It also takes away the headache of removing unnecessary dependencies by keeping records of installed and uninstalled packages on your system.

Ubuntu and other Debian-based distributions manage packages using APT and dpkg. But which one's better suited for your needs?



0コメント

  • 1000 / 1000