Is there a way to use wildcards with aptitude such as in the following:
sudo apt-get remove openoffice*.*
|
Is there a way to use wildcards with
|
||||
|
|
|
http://ubuntuforums.org/showthread.php?t=228309 indicates that it's possible via constructs such as
Here's an example. Say that you want
It should be combinable with other aptitude options, such as install and remove, too, e.g. to remove all installed packages with openoffice in their name you issue
Make sure to use the One thing that I haven't worked out is how to get the exact functionality of wildcards, e.g. that |
||||
|
You just put it in quotes:
Otherwise the shell would try to match this to the files of your current working directory. |
|||||||||||||||||||||
|
|
To match strings starting with a package name, prepend a |
|||||
|