Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
How to search for Debian packages of a theme
How to search for Debian packages of a theme
Hi, I would like to know how I can search for packages of a specific theme in the Debian repositories, using the Terminal.
Re: How to search for Debian packages of a theme
One way to do that is to use the wonderful apt-file. For example you know that the file /usr/share/themes/CleanIce-Debian/gtk-2.0/gtkrc ist part of the cleanice theme and you want to know the name of the package which contains cleanince, you can do to following to get the package name:
Code: Select all
apt-file search /usr/share/themes/CleanIce-Debian/gtk-2.0/gtkrc
Have a nice day!
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: How to search for Debian packages of a theme
I would use
Code: Select all
aptitude search theme
deadbang
- None1975
- df -h | participant
- Posts: 1387
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 45 times
- Been thanked: 64 times
Re: How to search for Debian packages of a theme
To search for a particular package by name or description:
where the search keyword can be all or part of a package name or any words used in its description.
Code: Select all
apt-cache search keyword
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
-
- Posts: 1454
- Joined: 2015-08-30 20:14
Re: How to search for Debian packages of a theme
Wait, there is another, even leaner option!
Code: Select all
apt search theme
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: How to search for Debian packages of a theme
Nope:Wheelerof4te wrote:even leaner option
Code: Select all
empty@hegel:~ $ aptitude search theme | wc -l
174
empty@hegel:~ $ apt search theme | wc -l
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
1184
empty@hegel:~ $
deadbang
- sunrat
- Administrator
- Posts: 6382
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 115 times
- Been thanked: 456 times
Re: How to search for Debian packages of a theme
I think he meant the command is leaner, a whole 5 characters less! apt search does indeed return more info.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: How to search for Debian packages of a theme
Well yes but have you actually checked the output?sunrat wrote:apt search does indeed return more info.
It matches so broadly that too many results are returned, this is why I suggested `aptitude` instead.
deadbang