[Решено]Как собрать установленную программу обратно в *.deb-пакет?
Модераторы: Warderer, Модераторы разделов
-
Trayax
- Сообщения: 209
- ОС: Debian 6.0 Wheezy/WinXP sp3
[Решено]Как собрать установленную программу обратно в *.deb-пакет?
Некогда из репозитория была скачана и установлена программа. Репозиторий, в котором она была помер. А устанавливалась она настолько давно, что в кеше deb-пакет не сохранился. Итак вопрос - можно ли из этой установленной программы получить deb-пакет?
-
watashiwa_daredeska
- Бывший модератор
- Сообщения: 4038
- Статус: Искусственный интеллект (pre-alpha)
- ОС: Debian GNU/Linux
-
SLEDopit
- Модератор
- Сообщения: 4824
- Статус: фанат консоли (=
- ОС: GNU/Debian, RHEL
Re: [Решено]Как собрать установленную программу обратно в *.deb-пакет?
Все элементарно:
Использование:
upd я так медленно чепятаю. (:
Код: Выделить всё
Package: dpkg-repack
Description: puts an unpacked .deb file back together
dpkg-repack creates a .deb file out of a package that has already been installed.
If any changes have been made to the package while it was unpacked (ie, files in /etc
were modified), the new package will inherit the changes.
This utility can make it easy to copy packages from one computer to another,
or to recreate packages that are installed on your system, but no longer available
elsewhere, or to store the current state of a package before you upgrade it.
Homepage: http://kitenet.net/~joey/code/dpkg-repack/Код: Выделить всё
dpkg-repack имя_пакетаupd я так медленно чепятаю. (:
UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. © Dennis Ritchie
The more you believe you don't do mistakes, the more bugs are in your code.
The more you believe you don't do mistakes, the more bugs are in your code.