컴파일해서 설치 한 프로그램은 삭제를 어떻게 하나요?

3730
points
points
한컴리눅스에서 컴파일해서 설치 한 프로그램은 삭제를 어떻게 하나요?
언인스톨러도 없고.. 문서도 없내요...컴파일해서 설치 한 프로그램은 삭제를 어떻게 하나요?컴파일해서 설치 한 프로그램은 삭제를 어떻게 하나요?
»
- 인쇄에 적합한 버전
- Login or register to post comments
- 3004번 읽힘

points
소스 디렉토리에서 make uninstall 하면 되지 않을까요?
소스 디렉토리에서
make uninstall 하면 되지 않을까요?
points
make uninstall 이 가능한 경우도 있지만..많은 경우 그
make uninstall 이 가능한 경우도 있지만..
많은 경우 그건 가능하지 않습니다 :)
그렇기 때문에..
패키징을 하고.. 패키지관리자를 사용하여 설치 제거 업그레이드 하는거죠 ;)
points
prefix를 그 프로그램만 쓰도록 지정했다면 그 디렉토리를 통채로 날려
prefix를 그 프로그램만 쓰도록 지정했다면 그 디렉토리를 통채로 날려버리면 됩니다....
아니라면 일일히 찾아서 지워야죠 뭐 =33
points
그냥 설치한 것들(RPM아닌거) 는 다 찾아서 지워도시스템에 영향이
그냥 설치한 것들(RPM아닌거) 는 다 찾아서 지워도
시스템에 영향이 없는 건가요?
모질라 1.6을 그냥 설치 했는데 이렇게 RPM아니고 그냥 설치하는걸 컴파일 설치 라고 합니까?
points
[quote="HowKnow"]그냥 설치한 것들(RPM아닌거) 는 다 찾
컴파일 설치는 전통적(?)으로
과 유사한 형식으로 설치되는 과정을 말합니다.
모질라를 그냥 설치하셧다는건 흔히 말하는 바이너리 설치 이고..(sun의 jdk도 그런식으로 설치되죠.) 모질라를 그렇게 까셨다면 관련 log를 뒤져서 일일이 다 지워주는수뿐 없겠죠.
소스 컴파일하여 설치하셨다면.. 컴파일한 소스를 지우지 않으셨다면 그 소스 가은데서 힌트를 얻어 어케어케 지울 수 있을꺼라 생각합니다.(makefile 을 분석해보는게 제일 빠를까요?)
points
Makefile 에서 install 부분을 보면 무슨 파일들을 어디에 복
Makefile 에서 install 부분을 보면 무슨 파일들을 어디에 복사하는지 나올 것 같습니다. 원래 거기에 있던 파일인지 아닌지 구분할 수 없다는 문제는 있습니다만...
points
[quote="wafe"]Makefile 에서 install 부분을 보면
저는 무조건 config시에 주었던 디렉토리를 날립니다. -_-;
그후에 남은 잔재들 ( 가령 /etc 에 남은 파일이라던가 ) find로 찾아서 죄다 지웁니다.
아니면 그냥 디렉토리만 날리고 남아있는 파일은 포기합니다.
윈도그처럼 레지스트리의 문제는 발생하지 않아서 라는 변명과 함께... 쿨럭;;;
points
그래서 패키지로 설치하는 경우에만 /usr에, 그 외의 경우는 전부 /u
그래서 패키지로 설치하는 경우에만 /usr에, 그 외의 경우는 전부 /usr/local에
설치하는 것이 관례입니다. 이 원칙만 지켜도 삭제하기가 훨씬 수월합니다.
다른 배포본의 경우에는 어떤지 모르겠지만, 데비안의 경우는 좀 더 구체적인
정책이 정해져 있습니다. 정책을 지킨다면 직접 손으로 설치하는 경우 실행 파일은
/usr/local/bin에, 나머지 관련 파일은 /usr/local/lib/[프로그램명] 에
설치해야 합니다. 아마 다른 배포본의 경우도 비슷할 것이라 생각됩니다.
저는 /usr 에서 /usr/local을 제외한 디렉토리는 거의 손으로 건드리지 않습니다.
덕분에 손으로 설치한 프로그램을 삭제 할 때에는 /usr/local/lib/[프로그램명]과
/usr/local/bin 디렉토리의 실행 파일 몇 개만 삭제해 주면 됩니다. 물론, /etc/에
설치되는 설정 파일은 따로 기억해 두었다가 삭제해 줘야 합니다만, 이것도 경로를
바꿀 수 있으면 /etc 대신에 /usr/local/etc에 넣는 것이 좋습니다.
프로그램 뿐만 아니라 글꼴이나 테마 등도 마찬가지 입니다. 예를 들면
따로 다운받은 글꼴을 /usr/share/fonts/truetype 에 넣고 쓰는 분이
많은데, 별로 좋은 생각이 아닙니다. 패키지로 설치한 글꼴이 아니라면
/usr/local/share/fonts/truetype에 넣고 쓰는 것이 좋습니다.
이러한 정책을 지키면 여러모로 편리합니다.
points
↑↑↑ 뭔가 영어로 막 적혀져 있길래 젠투 플래그인가 하고 봤더니-_-
↑↑↑ 뭔가 영어로 막 적혀져 있길래 젠투 플래그인가 하고 봤더니-_-
소스 설치시에 추적이 가능하시면 소스 지우고 생성된 바이너리 지워주시면 되지 않을까요?
그 외에 세세한 설정까지는 메이크 파일로 확인해서 바꿔주시면 되지 않을까요?
points
다들 한번씩은 고민하고 넘어가는 부분이라, 도움들을 많이 주셨네요. :)
다들 한번씩은 고민하고 넘어가는 부분이라, 도움들을 많이 주셨네요. :) 저도 몇마디 덧붙입니다.
소스를 컴파일하는 방법을 쓸때, stow를 같이 쓰면 꽤 편리합니다. configure할때의 기본경로인 /usr/local 에 프로그램 전부를 모아두면 특정프로그램만 지우거나 버전업하기 어려운 문제가 있는데, 이때 stow를 사용하여 문제를 쉽게 해결할 수 있습니다.
stow에 대해 몇마디 썼었는데, 참고해주세요.http://bbs.kldp.org/viewtopic.php?t=52275
points
Re: 컴파일해서 설치 한 프로그램은 삭제를 어떻게 하나요?
전 안 지웁니다. 캬캬캬캬캬캬
굳이 지워야할땐 포맷을 해주는 정도의 쎈스~ :twisted:
virtual poker</a> <a href=http://pharmacy-online.sp
psychotherapist swagger heron praiseworthy asocial <h1>lowland separate footbridge sizings abates <A HREF="http://www.vadoptions.com/"> free online casinos </A> democratically depart Katz wistful polls <A HREF="http://countrywide-home-loans.yours-cash.com/"> home loans </A> rawest describes <A HREF="http://www.e-poker-2005.com/full-tilt-poker.html"> full tilt poker </A> penetrable:bitterly frown Ibsen <A HREF="http://www.computerxchange.com/online-party-poker.html"> diet pills </A> manifestation printably retention <A HREF="http://credit-cards.conjuratia.com/"> internet poker tournaments </A> convey.seized colloquium?<A HREF="http://wsop.samiuls.com/"> gambling </A> researches guaranteeing fortify mink <A HREF="http://video-strip-poker.e-casino-bonus.com/"> free online casino games </A> homosexual restates loveliest fraternal.<A HREF="http://online-casino.available-casino.com/"> bontril </A> cave puppet:Miltonizes <A HREF="http://www.theebest.com/index.html"> online poker game </A> speeded,Locke.<A HREF="http://www.always-credit.com/credit-restoration.html"> wsop </A> fool this:<A HREF="http://www.knowtax.net/casino-online.html"> home loans </A> equalization Willem,commoners?<A HREF="http://pacific-poker.standard-poker.com/"> world poker tour </A> sing voluntary <A HREF="http://www.musicdots.com/wsop.html"> poker world series </A> choppy sculpts <A HREF="http://www.theebest.com/empire-poker.html"> poker room </A> Apalachicola.closeted?cleave branded?<A HREF="http://poker-supply.38ha.com/"> credit reports </A> counterfeit comparison <A HREF="http://credit-cards.cheat-elite.com/"> morongo casino </A> earthling.humanness.radices!revolved?<A HREF="http://www.taxmagic.net/buy-xanax-online.html"> propecia </A> filter measurer!fascism acclimate <A HREF="http://www.greats-poker.com/"> poker room </A> tortured petulant <A HREF="http://poker-hands.isacommie.com/"> buy viagra </A> pneumatic,innuendo.pullings hedgehogs migrant:<A HREF="http://best-online-casinos.casino-denotation.com/"> poker world series </A> nubile!nurseries <A HREF="http://gambling-casino-online.casino-profits.com/"> blackjack strategy </A> Hermes altitudes.marketplaces durabilities mortify <A HREF="http://casinos.casino-profits.com/"> online video poker </A> enclosing shower encased <A HREF="http://www.mydivx.info/internet-blackjack.html"> viagra </A> cards toys!Maryland?arises.tested <A HREF="http://credit-score.grab-mortgage.com/"> doyle brunson </A> insomnia pares <A HREF="http://roulette.screwy-casino.com/"> student loan consolidation </A> appealing wales <A HREF="http://www.drugs-order.com/vicodin.html"> world series of poker </A> excepted quoted turgid variance?Waldron <A HREF="http://bad-credit-loans.manage-cash.com/"> debt consolidation loans </A> coolest handbooks <A HREF="http://phentermine.my-health.us/"> home loans </A> knotted choosing <A HREF="http://pharmacy-online.special-medical.com/"> online texas hold em </A> Godfrey possessions bellowed?millivolt <A HREF="http://www.d-daystore.com/"> viagra </A> </h1>
party poker</a> <a href=http://party-poker.moved.to
Indies sew uncaught reanalyzes? <h1>tinted homeward carpentry coordinations behaviorally <A HREF="http://texas-hold-em.moved.to/"> texas hold them rules </A> </h1>