You are not logged in.
Okay, I may be getting older, but I do not remember apt being this... poor at returnign accurate results from a search. Mind you, I last used Debian with version 7. I went to Gentoo when Debian became a systemd distro, not a Linux distro. I still love and use Gentoo, but want something simpler for my daughter to use, so I am trying Devuan out in a VM. I had a slight issue installing, but I'm chalking that one up to the moons not being aligned.
I am in a very minimal install (nothing but the shell and SSH) and want to start installing only what we need. Okay, "apt search" should work, only it doesn't. If I do "apt search firefox" for example, I get things like bleachbit, elpa-atomic-chrome, cbindgen, dh-cargo, and pages of other things that have absolutely nothing to do with Firefox. It's like going to a Ford dealer, asking to see an F-150, and you're shown some teeny-tiny Mini Cooper. In Gentoo I can do "equery list firefox" and it shows me only those packages.
Am I doing something wrong or is this one of those things where you either need to pipe output (which I have zero faith in being accurate right now) to grep, or use some complex regex, or what? I may be over-thinking the complexity here, but searching for a package should be simple, and right now I can't find anything I want.
Last edited by sephiroth (Yesterday 16:41:30)
Offline
First comment: what you are getting back strongly depends on what you have specified in the sources.list.
Second comment: like you when I run "apt search firefox" I am getting an endless list of packages. Adding a grep might help.
I personally prefer to use "apt list" and sometimes "apt policy" to search for specific packages.
"apt list firefox" returns no output. When you add a * so that you use "apt list firefox*" you will get a longer list of firefox-esr related packages.
And firefox-esr is what is available on Debian/Devuan. If you want the latest firefox, you may need to go to the Mozilla web page.
Online
Okay, I did not know about the list parameter. All I can find online are people (various distros, not just Devuan/Debian) complaining about the same thing I am, and solutions that do not appear to work. Indeed, using "apt list *firefox*" returns EXACTLY what I was looking for. Thank you again!
See? Apparently, it's a me-problem this time!
Would using Synaptic be okay after installing my shell stuff and then my desktop? Trying to find a good way of doing things that my daughter can understand.
Last edited by sephiroth (Yesterday 16:57:59)
Offline
Synaptic is relatively easy to use. It can return some stuff that is irrelevant, especially if you choose to allow the description to be included in the search, but you can soon scroll down the list.
Offline
Been using Synaptic for many years now, it's my preferred way of doing things, easy to search, reasonably descriptive.
https://sourceforge.net/projects/vuu-do/ New Vuu-do isos uploaded December 2025!
Vuu-do GNU/Linux, minimal Devuan-based Openbox and Mate systems to build on. Also a max version for OB.
Devuan 5 mate-mini iso, pure Devuan, 100% no-vuu-do.
Devuan 6 version also available for testing.
Please donate to support Devuan and init freedom! https://devuan.org/os/donate
Offline
heh i got into linux back in ubuntu 10.04 but never got used to how synaptic works, dunno didn't mesh with my thought process so a while ago i found a script named "debianUI" which implemented a TUI wrapper over apt with fzf, seems like the author deleted the repo so i began working and created my own version in posix shell, still using fzf and made it configurable, it fuzzy searches packages by name and short description, provide a scrollable preview with the long description of the package under the "cursor".
the script is available at https://github.com/eylles/devuan-script … /apt-ui.sh and https://git.devuan.org/eylles/devuan-sc … /apt-ui.sh
i reckon just a description of a TUI program is not enough to have a couple screenshots, expect colors to be different in your terminal emulator


Offline
There is also the package "Aptitude" which should give you hits straight away on what you are looking for.
Here is the first 5 hits
aptitude search firefox
p activity-aware-firefox - wrapper to make Firefox aware of Plasma Desktop activities
i firefox-esr - Mozilla Firefox web browser - Extended Support Release (ESR)
p firefox-esr-l10n-ach - Acoli language package for Firefox ESR
p firefox-esr-l10n-af - Afrikaans language package for Firefox ESR
p firefox-esr-l10n-all - All language packages for Firefox ESR (meta) From the man page
search
Searches for packages matching one of the patterns supplied on the command line. All packages which match any of the given patterns
will be displayed; for instance, “aptitude search '~N' edit” will list all “new” packages and all packages whose name contains “edit”.
For more information on search patterns, see the section “Search Patterns” in the aptitude reference manual.
Note
In the example above, “aptitude search '~N' edit” has two arguments after search and thus is searching for two patterns: “~N” and
“edit”. As described in the search pattern reference, a single pattern composed of two sub-patterns separated by a space (such as
“~N edit”) matches only if both patterns match. Thus, the command “aptitude search '~N edit'” will only show “new” packages whose
name contains “edit”.
Unless you pass the -F option, the output of aptitude search will look something like this:
i apt - Advanced front-end for dpkg
pi apt-build - frontend to apt to build, optimize and in
cp apt-file - APT package searching utility -- command-
ihA raptor-utils - Raptor RDF Parser utilities
Each search result is listed on a separate line. The first character of each line indicates the current state of the package: the most
common states are p, meaning that no trace of the package exists on the system, c, meaning that the package was deleted but its
configuration files remain on the system, i, meaning that the package is installed, and v, meaning that the package is virtual. The
second character indicates the stored action (if any; otherwise a blank space is displayed) to be performed on the package, with the
most common actions being i, meaning that the package will be installed, d, meaning that the package will be deleted, and p, meaning
that the package and its configuration files will be removed. If the third character is A, the package was automatically installed.
For a complete list of the possible state and action flags, see the section “Accessing Package Information” in the aptitude reference
guide. To customize the output of search, see the command-line options -F and --sort.Offline
I prefer to use Debian's package search. Even if I don't have a web browser on the machine, I can use my phone or another machine to search and find the names of the packages I wish to install.
Also synaptic is nice and simple. It provides good functionality without hiding things from the user.
Offline
@EDX-0, for me your post just shows a couple of images saying "Content not viewable in your region". How are you posting them and do you have an option to make them viewable in all regions?
I'm in the UK if that helps. Where are you?
Offline
@chris2be8 Those images are on imgur. It is a casualty of the UK's Online Safety Act : imgur has decided that the cost of meeting its requirements is too great to be worthwhile so they have blocked access from the UK instead. I can't say I blame them.
Offline
I've had to use tor browser recently so see stuff on one site. Not imgur, and right now I don't recall which site. It's happened a few times in the past couple weeks. In US here.
https://www.torproject.org/download/
Offline
Synaptic is exactly the right level of UI for me, and I do use it especially for searching and simple installation, but it has at least three major issues that years later are still WONTFIX'd:
1. Locking a package version in Synaptic won't lock it for CLI apt, and vice-versa. Boggles the mind; it should be using the same mechanism, but it's not. No idea why they invented that fifth wheel.
2. It doesn't display 32bit and 64bit packages together. 64bit packages shadow the 32bit ones. You have ot go to the architecture tab to see the 32bit ones.
3. It always does something every time on startup and after packages are installed that is just sloooow and the GUI is unusable during this time. Some refresh or rescan, I don't know. It's a few seconds, but it's always a frustrating few seconds that screw up the flow. Borderline intolerable on weaker systems. No progress bar, no indication of what it's doing.
Offline