WebApr 9, 2010 · And for those wanting a GUI: Just sort by installed size in Synaptic. ^^ edit: Made a script allowing you to test all of those methods (also shows how to embed the awk script into the shellscript. ). list_installed_packages_by_size.sh: WebNov 25, 2016 · 5 Answers Sorted by: 7 grep-dctrl and its derivatives provide a great way to query the apt cache files. (You can install these tools on ubuntu with sudo apt-get install dctrl-tools ) In the case of available (but not necessarily installed) packages, you can use grep-available. For example, to list all available packages:
dpkg-query(1) - Linux manual page - Michael Kerrisk
WebThe default location is /var/lib/dpkg . --load-avail Also load the available file when using the --show and --list commands, which now default to only querying the status file (since dpkg 1.16.2). -f, --showformat= format This option is used to specify the format of the output --show will produce. The format is a string that will be output for ... WebOf course, if you want to list all of your installed packages with their versions, and not only Skype, then just remove the grep skype part to make the command like this: dpkg -l … pakistan journal of pharmaceutical sciences杂志
List Installed Packages in Ubuntu [6 Methods] GoLinuxCloud
WebFind out all the options: dpkg --help. Print out the control file (and other information) for a specified package: dpkg --info foo_VVV-RRR.deb. Install a package (including unpacking and configuring) onto the file system of the hard disk: dpkg --install foo_VVV-RRR.deb. Unpack (but do not configure) a Debian archive into the file system of the hard disk: … WebAug 3, 2024 · The most basic use of the dpkg command in Ubuntu is a package installation. We can install a deb package in Ubuntu or Debian using the dpkg -i command option. Here’s how you’d install a package. sudo dpkg -i [package name] We’re installing the VLC player on our Ubuntu system. WebMay 7, 2015 · Sorted by: 1 According to its documentation, Damn Small Linux strips /var/lib/dpkg, and the files therein are necessary for dpkg-query to work (and for dpkg to be able to remove packages). You need to download dpkg.tar.gz as indicated in the linked page to restore that directory. (Thanks to clearkimura for the link!) summary of lesson kathmandu