nix:obnovlenie_po_raznyx_distributivov
Различия
Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слеваПредыдущая версияСледующая версия | Предыдущая версия | ||
nix:obnovlenie_po_raznyx_distributivov [2023/09/26 14:26] – [Решение проблем] san | nix:obnovlenie_po_raznyx_distributivov [2025/08/12 09:58] (текущий) – [Alpine] san | ||
---|---|---|---|
Строка 83: | Строка 83: | ||
dpkg -l | grep " | dpkg -l | grep " | ||
</ | </ | ||
+ | Определить к какому установленому пакету принадлежит файл | ||
+ | < | ||
+ | dpkg-query -S путь/ | ||
+ | </ | ||
+ | Вывести список файлов в установленном пакете | ||
+ | < | ||
+ | dpkg -L package_name | ||
+ | </ | ||
==== Решение проблем ==== | ==== Решение проблем ==== | ||
Строка 96: | Строка 103: | ||
apt-key export 91E7EE5E | sudo gpg --dearmour -o / | apt-key export 91E7EE5E | sudo gpg --dearmour -o / | ||
</ | </ | ||
+ | Так тоже работает | ||
+ | < | ||
+ | cp / | ||
+ | </ | ||
+ | См. также [[https:// | ||
===== RHEL,Centos ===== | ===== RHEL,Centos ===== | ||
Строка 112: | Строка 123: | ||
dnf - почти прозрачно заменяет yum в свежих версиях RHEL,Centos | dnf - почти прозрачно заменяет yum в свежих версиях RHEL,Centos | ||
+ | ===== Alpine ===== | ||
+ | Пакет apk-tools предоставляет программу [[https:// | ||
+ | < | ||
+ | add Add new packages or upgrade packages to the running system | ||
+ | del Delete packages from the running system | ||
+ | fix Repair packages or system | ||
+ | update Update the index of available packages | ||
+ | info Prints information about installed or available packages | ||
+ | search Search for packages or descriptions with wildcard patterns | ||
+ | upgrade Upgrade the currently installed packages | ||
+ | cache Maintenance operations for locally cached package repository | ||
+ | version Compare version differences between installed and available packages | ||
+ | index create a repository index from a list of packages | ||
+ | fetch download (but not install) packages | ||
+ | audit List changes to the file system from pristine package install state | ||
+ | verify Verify a package signature | ||
+ | dot Create a graphviz graph description for a given package | ||
+ | policy Display the repository that updates a given package, plus repositories that also offer the package | ||
+ | stats Display statistics, including number of packages installed and available, number of directories and files, etc. | ||
+ | manifest Display checksums for files contained in a given package | ||
+ | </ | ||
===== Дебиан, | ===== Дебиан, | ||
==== PackageKit ==== | ==== PackageKit ==== | ||
Строка 125: | Строка 157: | ||
==== yum/apt ==== | ==== yum/apt ==== | ||
В [Open]Suse можно установить apt, в Ubuntu/ | В [Open]Suse можно установить apt, в Ubuntu/ | ||
+ | |||
+ | ===== Дополнительные репозитории дебиан ===== | ||
+ | |||
+ | ==== Postgresql ==== | ||
+ | [[https:// | ||
+ | |||
+ | < | ||
+ | sudo apt install curl ca-certificates | ||
+ | sudo install -d / | ||
+ | sudo curl -o / | ||
+ | </ | ||
+ | Create / | ||
+ | |||
+ | < | ||
+ | deb [signed-by=/ | ||
+ | </ | ||
+ | |||
+ | (You may determine the codename of your distribution by running lsb_release -c). For a script version of the above file creation, presuming you are using a supported release: | ||
+ | |||
+ | < | ||
+ | sudo sh -c 'echo "deb [signed-by=/ | ||
+ | </ | ||
+ | |||
+ | Finally, update the package lists, and start installing packages: | ||
+ | |||
+ | < | ||
+ | sudo apt update | ||
+ | sudo apt install postgresql-15 | ||
+ | </ | ||
+ | |||
+ | ==== Репозитории HP Enterpise ==== | ||
+ | |||
+ | [[hard: | ||
+ | |||
+ | ==== Репозитории MySQL ==== | ||
+ | [[https:// | ||
{{tag> | {{tag> |
nix/obnovlenie_po_raznyx_distributivov.1695727570.txt.gz · Последнее изменение: — san