Федора 19, YUM как поиск.
Попытка разобраться что мы имеем на сегодня с собственным софтом иногда вызывает затруднения, как вариант для получения информации удобно использовать терминальную команду «yum info предполагаемое_название_пакета». Команда не требует расширенных прав, работает от пользователя.
Например понадобилась утиль для переименования группы файлов, в терминале вводим:
yum info rename
в ответ видим:
Загружены модули: langpacks, refresh-packagekit
Ошибка: Совпадений среди пакетов не найдено
Нет такого пакета, но Yum поддерживает маску символов, добавляем звёздочки:
yum info *rename*
и получаем перечисление пакетов, с статусом и описанием:
Загружены модули: langpacks, refresh-packagekit
Установленные пакеты
Название: krename
Архитектура: x86_64
Версия: 4.0.9
Выпуск: 8.fc19
Объем: 1.3 M
Источник: installed
Из источника: fedora
Аннотация: Powerful batch file renamer
Ссылка: http://www.krename.net/
Лицензия: GPLv2
Описание: KRename is a powerful batch renamer for KDE. It allows you to easily
: rename hundreds or even more files in one go. The filenames can be
: created by parts of the original filename, numbering the files or
: accessing hundreds of informations about the file, like creation date
: or Exif informations of an image.
Доступные пакеты
Название: perl-Devel-Caller-IgnoreNamespaces
Архитектура: noarch
Версия: 1.0
Выпуск: 12.fc19
Объем: 18 k
Источник: fedora/19/x86_64
Аннотация: Make available a function which can ignore name-spaces that you tell
: it about
Ссылка: http://search.cpan.org/dist/Devel-Caller-IgnoreNamespaces/
Лицензия: GPLv2 or Artistic
Описание: If your module should be ignored by caller(), just like Hook::LexWrap
: is by its magic caller(), then call this module's register()
: subroutine with its name.
Название: pyrenamer
Архитектура: noarch
Версия: 0.6.0
Выпуск: 11.fc19
Объем: 140 k
Источник: fedora/19/x86_64
Аннотация: A mass file renamer
Ссылка: http://www.infinicode.org/code/pyrenamer/
Лицензия: GPLv2+
Описание: With pyRenamer you can change the name of several files at the same
: time easily.
: - You can use patterns to rename files.
: - You can use search & replace to rename files.
: - You can use common substitutions.
: - You can manually rename selected files.
: - You can rename images using their EXIF tags.
: - You can rename MP3s using their ID3 tags.
Название: renameutils
Архитектура: x86_64
Версия: 0.10.0
Выпуск: 8.fc19
Объем: 93 k
Источник: fedora/19/x86_64
Аннотация: A set of programs to make renaming and copying of files easier
Ссылка: http://www.nongnu.org/renameutils
Лицензия: GPLv3+
Описание: The file renaming utilities (renameutils for short) are a set of
: programs designed to make renaming of files faster and less
: cumbersome.
:
: The file renaming utilities consists of five programs - qmv, qcp, imv,
: icp and deurlname.
:
: The qmv ("quick move") program allows file names to be edited in a
: text editor. The names of all files in a directory are written to a
: text file, which is then edited by the user. The text file is read and
: parsed, and the changes are applied to the files.
:
: The qcp ("quick cp") program works like qmv, but copies files instead
: of moving them.
:
: The imv ("interactive move") program, is trivial but useful when you
: are too lazy to type (or even complete) the name of the file to rename
: twice. It allows a file name to be edited in the terminal using the
: GNU Readline library. icp copies files.
:
: The deurlname program removes URL encoded characters (such as %20
: representing space) from file names. Some programs such as w3m tend to
: keep those characters encoded in saved files.
Если Yum не находит нужный пакет, соответственно его нет в прописанных в системе репозитариях, и надо или открывать репозитарий с таким пакетом, или качать напрямую у разработчика, что добавляет некоторые риски к стабильности и безопасности системы.
Федора 19, YUM как поиск: 1 комментарий
An impressive share! I have just forwarded this onto a coworker who was
doing a little homework on this. And he actually bought me dinner
simply because I discovered it for him… lol.
So let me reword this…. Thank YOU for the meal!!
But yeah, thanks for spending time to discuss this topic here on your
blog.