* [Comm] Деинсталяция tar.gz @ 2005-11-26 20:22 Odergimiy 2005-11-26 20:39 ` Anatoly Romashkin ` (2 more replies) 0 siblings, 3 replies; 13+ messages in thread From: Odergimiy @ 2005-11-26 20:22 UTC (permalink / raw) To: community Добрый вечер. Допустим я поставил какую то программку из tar.gz ./configure make make install прошло несколько месяцев она мне ненужно как ее удалить корректно чтоб не осталось хвостов ( ну т.е. удалить все файлы что копировались при установке ) -- --------------------------------- С уважение Александр Самойлов. icq: 315644 ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Деинсталяция tar.gz 2005-11-26 20:22 [Comm] Деинсталяция tar.gz Odergimiy @ 2005-11-26 20:39 ` Anatoly Romashkin 2005-11-26 20:43 ` Alexey Rusakov 2005-11-26 20:48 ` Damir Shayhutdinov 2 siblings, 0 replies; 13+ messages in thread From: Anatoly Romashkin @ 2005-11-26 20:39 UTC (permalink / raw) To: community On Sat, 26 Nov 2005 23:22:31 +0300 Odergimiy <Odergimiy@mail.ru> wrote: > Допустим я поставил какую то программку из tar.gz > ./configure > make > make install > > прошло несколько месяцев она мне ненужно как ее удалить корректно > чтоб не осталось хвостов ( ну т.е. удалить все файлы что копировались > при установке ) make uninstall __ Anatoly Romashkin Nab.Chelny ALTLinux maillist ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Деинсталяция tar.gz 2005-11-26 20:22 [Comm] Деинсталяция tar.gz Odergimiy 2005-11-26 20:39 ` Anatoly Romashkin @ 2005-11-26 20:43 ` Alexey Rusakov 2005-11-27 19:15 ` Yuriy_Gomenyuk 2005-11-26 20:48 ` Damir Shayhutdinov 2 siblings, 1 reply; 13+ messages in thread From: Alexey Rusakov @ 2005-11-26 20:43 UTC (permalink / raw) To: ALT Linux Community Odergimiy wrote: >Допустим я поставил какую то программку из tar.gz >./configure >make >make install > >прошло несколько месяцев она мне ненужно как ее удалить корректно чтоб не >осталось хвостов ( ну т.е. удалить все файлы что копировались при установке ) > > В некоторых счастливых случаях вы можете выполнить make uninstall из того же каталога, из которого делали make install. Из-под рута/sudo (ненужное зачеркнуть), естественно. В совсем редких чуть менее счастливых случаях make install записывает лог установленных файлов, тогда можно найти этот лог и скормить его в rm. А лучше всего действовать проактивно \m/ :) и вместо make install выполнить команду checkinstall из одноимённого пакета. Она установит программу и заодно создаст rpm для неё. А ещё лучше написать для этой программки спек-файл и собрать rpm-пакет самому :) И самое лучшее, поделиться спек-файлом с обчественностью или самому отправить пакет c исходниками в Sisyphus :) -- Alexey "Ktirf" Rusakov ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Деинсталяция tar.gz 2005-11-26 20:43 ` Alexey Rusakov @ 2005-11-27 19:15 ` Yuriy_Gomenyuk 2005-11-27 19:55 ` Yuriy_Gomenyuk 0 siblings, 1 reply; 13+ messages in thread From: Yuriy_Gomenyuk @ 2005-11-27 19:15 UTC (permalink / raw) To: ALT Linux Community On Sat, Nov 26, 2005 at 11:43:39PM +0300, Alexey Rusakov wrote: > А лучше всего действовать проактивно \m/ :) и вместо make install > выполнить команду checkinstall из одноимённого пакета. Она установит > программу и заодно создаст rpm для неё. apt-cache search checkinstall - ничего не находит ((( Система M 2.4 Может не правильно ищу? -- С уважением, Юрий Гоменюк. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Powered by Mutt 1.4i under ALT Linux Master 1.4.2.1i ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Деинсталяция tar.gz 2005-11-27 19:15 ` Yuriy_Gomenyuk @ 2005-11-27 19:55 ` Yuriy_Gomenyuk 2005-11-27 20:16 ` Yuriy_Gomenyuk 2005-11-27 22:13 ` Alexey Rusakov 0 siblings, 2 replies; 13+ messages in thread From: Yuriy_Gomenyuk @ 2005-11-27 19:55 UTC (permalink / raw) To: ALT Linux Community On Sun, Nov 27, 2005 at 09:15:38PM +0200, Yuriy_Gomenyuk wrote: > On Sat, Nov 26, 2005 at 11:43:39PM +0300, Alexey Rusakov wrote: > > А лучше всего действовать проактивно \m/ :) и вместо make install > > выполнить команду checkinstall из одноимённого пакета. Она установит > > программу и заодно создаст rpm для неё. > > apt-cache search checkinstall > - ничего не находит ((( > > Система M 2.4 > > Может не правильно ищу? Ага, нет его в коробке. Скачал с родного сайта установил. Вопросы: 1. при запуске спрашивает: /root/RPM has no SOURCES directory. Please write the path to the RPM source directory tree: Я создал в папке root RPM/SOURCES, наверное это не правильно... Что ему туда прописывать? 2. В конце работы говорит что не может создать RPM, поскольку какая то политика не даёт возможность создавать RPM под пользователем root. В итоге программа установлена, но RPM не создан и rpm -e <программа> соответственно тоже не удаляет установленную программу. Как правильно выйти из этой ситуации? -- С уважением, Юрий Гоменюк. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Powered by Mutt 1.4i under ALT Linux Master 1.4.2.1i ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Деинсталяция tar.gz 2005-11-27 19:55 ` Yuriy_Gomenyuk @ 2005-11-27 20:16 ` Yuriy_Gomenyuk 2005-11-27 20:31 ` Alex Yustasov 2005-11-27 22:13 ` Alexey Rusakov 1 sibling, 1 reply; 13+ messages in thread From: Yuriy_Gomenyuk @ 2005-11-27 20:16 UTC (permalink / raw) To: ALT Linux Community On Sun, Nov 27, 2005 at 09:55:45PM +0200, Yuriy_Gomenyuk wrote: > On Sun, Nov 27, 2005 at 09:15:38PM +0200, Yuriy_Gomenyuk wrote: > > On Sat, Nov 26, 2005 at 11:43:39PM +0300, Alexey Rusakov wrote: > > > А лучше всего действовать проактивно \m/ :) и вместо make install > > > выполнить команду checkinstall из одноимённого пакета. Она установит > > > программу и заодно создаст rpm для неё. > > > > apt-cache search checkinstall > > - ничего не находит ((( > > > > Система M 2.4 > > > > Может не правильно ищу? > > Ага, нет его в коробке. > Скачал с родного сайта установил. > > Вопросы: > 1. при запуске спрашивает: > /root/RPM has no SOURCES directory. Please write the path to > the RPM source directory tree: > > Я создал в папке root RPM/SOURCES, наверное это не правильно... > > Что ему туда прописывать? > > > 2. В конце работы говорит что не может создать RPM, поскольку какая то > политика не даёт возможность создавать RPM под пользователем root. > В итоге программа установлена, но RPM не создан и rpm -e <программа> > соответственно тоже не удаляет установленную программу. > Как правильно выйти из этой ситуации? Простите, соврал - программа не устанавливается. Просто сообщение, что не может создать RPM и всё... -- С уважением, Юрий Гоменюк. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Powered by Mutt 1.4i under ALT Linux Master 1.4.2.1i ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Деинсталяция tar.gz 2005-11-27 20:16 ` Yuriy_Gomenyuk @ 2005-11-27 20:31 ` Alex Yustasov 2005-11-27 20:47 ` Yuriy_Gomenyuk 0 siblings, 1 reply; 13+ messages in thread From: Alex Yustasov @ 2005-11-27 20:31 UTC (permalink / raw) To: ALT Linux Community On Sun, Nov 27, 2005 at 10:16:33PM +0200, Yuriy_Gomenyuk wrote: > > 2. В конце работы говорит что не может создать RPM, поскольку какая то > > политика не даёт возможность создавать RPM под пользователем root. > > В итоге программа установлена, но RPM не создан и rpm -e <программа> > > соответственно тоже не удаляет установленную программу. > > Как правильно выйти из этой ситуации? Создавать rpm под user`om. -- Alex Yustasov ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Деинсталяция tar.gz 2005-11-27 20:31 ` Alex Yustasov @ 2005-11-27 20:47 ` Yuriy_Gomenyuk 2005-11-27 20:58 ` Alex Yustasov 0 siblings, 1 reply; 13+ messages in thread From: Yuriy_Gomenyuk @ 2005-11-27 20:47 UTC (permalink / raw) To: ALT Linux Community On Sun, Nov 27, 2005 at 10:31:52PM +0200, Alex Yustasov wrote: > On Sun, Nov 27, 2005 at 10:16:33PM +0200, Yuriy_Gomenyuk wrote: > > > 2. В конце работы говорит что не может создать RPM, поскольку какая то > > > политика не даёт возможность создавать RPM под пользователем root. > > > В итоге программа установлена, но RPM не создан и rpm -e <программа> > > > соответственно тоже не удаляет установленную программу. > > > Как правильно выйти из этой ситуации? > > Создавать rpm под user`om. Пробовал - checkinstall под юрезом запустить не могу, bash выдаёт сообщение, что такой команды нет (( -- С уважением, Юрий Гоменюк. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Powered by Mutt 1.4i under ALT Linux Master 1.4.2.1i ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Деинсталяция tar.gz 2005-11-27 20:47 ` Yuriy_Gomenyuk @ 2005-11-27 20:58 ` Alex Yustasov 2005-11-27 21:28 ` Yuriy_Gomenyuk 0 siblings, 1 reply; 13+ messages in thread From: Alex Yustasov @ 2005-11-27 20:58 UTC (permalink / raw) To: ALT Linux Community On Sun, Nov 27, 2005 at 10:47:53PM +0200, Yuriy_Gomenyuk wrote: > On Sun, Nov 27, 2005 at 10:31:52PM +0200, Alex Yustasov wrote: > > On Sun, Nov 27, 2005 at 10:16:33PM +0200, Yuriy_Gomenyuk wrote: > > > > 2. В конце работы говорит что не может создать RPM, поскольку какая то > > > > политика не даёт возможность создавать RPM под пользователем root. > > > > В итоге программа установлена, но RPM не создан и rpm -e <программа> > > > > соответственно тоже не удаляет установленную программу. > > > > Как правильно выйти из этой ситуации? > > > > Создавать rpm под user`om. > > Пробовал - checkinstall под юрезом запустить не могу, bash выдаёт > сообщение, что такой команды нет (( Собирать пакет нужно под user`ом, устанавливать как нибудь, а запускать как нужно. -- Alex Yustasov ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Деинсталяция tar.gz 2005-11-27 20:58 ` Alex Yustasov @ 2005-11-27 21:28 ` Yuriy_Gomenyuk 2005-11-27 23:47 ` Alex Yustasov 0 siblings, 1 reply; 13+ messages in thread From: Yuriy_Gomenyuk @ 2005-11-27 21:28 UTC (permalink / raw) To: ALT Linux Community On Sun, Nov 27, 2005 at 10:58:20PM +0200, Alex Yustasov wrote: > On Sun, Nov 27, 2005 at 10:47:53PM +0200, Yuriy_Gomenyuk wrote: > > On Sun, Nov 27, 2005 at 10:31:52PM +0200, Alex Yustasov wrote: > > > On Sun, Nov 27, 2005 at 10:16:33PM +0200, Yuriy_Gomenyuk wrote: > > > > > 2. В конце работы говорит что не может создать RPM, поскольку какая то > > > > > политика не даёт возможность создавать RPM под пользователем root. > > > > > В итоге программа установлена, но RPM не создан и rpm -e <программа> > > > > > соответственно тоже не удаляет установленную программу. > > > > > Как правильно выйти из этой ситуации? > > > > > > Создавать rpm под user`om. > > > > Пробовал - checkinstall под юрезом запустить не могу, bash выдаёт > > сообщение, что такой команды нет (( > Собирать пакет нужно под user`ом, устанавливать как нибудь, а запускать > как нужно. Что Вы имели в виду? Собираю пакет (configure, make) под юзером. Установить как нибудь не могу, поскольку checkinstall запускается только под рутом. Если Вы о checkinstall, то его я установил из rpm и тоже из-под рута, поскольку из-под юзера rpm не устанавливался. checkinstall из-под юзера не запускается, только из-под рута, и ругается что не может создать RPM, поскольку под рутом это ему не позволено... -- С уважением, Юрий Гоменюк. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Powered by Mutt 1.4i under ALT Linux Master 1.4.2.1i ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Деинсталяция tar.gz 2005-11-27 21:28 ` Yuriy_Gomenyuk @ 2005-11-27 23:47 ` Alex Yustasov 0 siblings, 0 replies; 13+ messages in thread From: Alex Yustasov @ 2005-11-27 23:47 UTC (permalink / raw) To: ALT Linux Community On Sun, Nov 27, 2005 at 11:28:47PM +0200, Yuriy_Gomenyuk wrote: > > Собирать пакет нужно под user`ом, устанавливать как нибудь, а запускать > > как нужно. > > Что Вы имели в виду? Это я про свое... > > Собираю пакет (configure, make) под юзером. Установить как нибудь не > могу, поскольку checkinstall запускается только под рутом. > > Если Вы о checkinstall, то его я установил из rpm и тоже из-под рута, > поскольку из-под юзера rpm не устанавливался. checkinstall из-под юзера > не запускается, только из-под рута, и ругается что не может создать RPM, > поскольку под рутом это ему не позволено... У меня сизиф, попробовал туташний checkinstall. Ставил rpm -i --nodeps, т.к. не нашел dpkg. Может поэтому и не работал. Но из под юзера запускается. Правда то что попробовал - он не создал ни одного rpm. Уж проще один раз разобраться как писать spec и не париться. -- Alex Yustasov ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Деинсталяция tar.gz 2005-11-27 19:55 ` Yuriy_Gomenyuk 2005-11-27 20:16 ` Yuriy_Gomenyuk @ 2005-11-27 22:13 ` Alexey Rusakov 1 sibling, 0 replies; 13+ messages in thread From: Alexey Rusakov @ 2005-11-27 22:13 UTC (permalink / raw) To: ALT Linux Community Yuriy_Gomenyuk wrote: >On Sun, Nov 27, 2005 at 09:15:38PM +0200, Yuriy_Gomenyuk wrote: > > >>On Sat, Nov 26, 2005 at 11:43:39PM +0300, Alexey Rusakov wrote: >> >> >>>А лучше всего действовать проактивно \m/ :) и вместо make install >>>выполнить команду checkinstall из одноимённого пакета. Она установит >>>программу и заодно создаст rpm для неё. >>> >>> >>apt-cache search checkinstall >>- ничего не находит ((( >> >>Система M 2.4 >> >>Может не правильно ищу? >> >> Попробуйте отсюда взять: ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus/i586/RPMS.contrib/checkinstall-1.6.0-alt1.i586.rpm Это, правда, Сизиф, но вдруг он у вас поставится... -- Alexey "Ktirf" Rusakov ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [Comm] Деинсталяция tar.gz 2005-11-26 20:22 [Comm] Деинсталяция tar.gz Odergimiy 2005-11-26 20:39 ` Anatoly Romashkin 2005-11-26 20:43 ` Alexey Rusakov @ 2005-11-26 20:48 ` Damir Shayhutdinov 2 siblings, 0 replies; 13+ messages in thread From: Damir Shayhutdinov @ 2005-11-26 20:48 UTC (permalink / raw) To: ALT Linux Community 26.11.05, Odergimiy<Odergimiy@mail.ru> написал(а): > Допустим я поставил какую то программку из tar.gz > ./configure > make > make install В некоторых программах есть make uninstall. Можно еще так попробовать (но это зависит от степени "кривости" Makefile): mkdir /tmp/tempdir make DESTDIR=/tmp/tempdir install после чего посмотреть что появилось в /tmp/tempdir - в принципе там должны быть все установленные при make install файлы. Узнав их имена, можно в принципе их удалить либо руками, либо скриптом. ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2005-11-27 23:47 UTC | newest] Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-11-26 20:22 [Comm] Деинсталяция tar.gz Odergimiy 2005-11-26 20:39 ` Anatoly Romashkin 2005-11-26 20:43 ` Alexey Rusakov 2005-11-27 19:15 ` Yuriy_Gomenyuk 2005-11-27 19:55 ` Yuriy_Gomenyuk 2005-11-27 20:16 ` Yuriy_Gomenyuk 2005-11-27 20:31 ` Alex Yustasov 2005-11-27 20:47 ` Yuriy_Gomenyuk 2005-11-27 20:58 ` Alex Yustasov 2005-11-27 21:28 ` Yuriy_Gomenyuk 2005-11-27 23:47 ` Alex Yustasov 2005-11-27 22:13 ` Alexey Rusakov 2005-11-26 20:48 ` Damir Shayhutdinov
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git