달력

52024  이전 다음

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

 
 
 
dpkg-deb --extract dpkg_1.10.28_powerpc.deb  target
 

1. 패키지에 대한 정보 보기

 #dpkg --info file_name

 

2. 패키지에 들어있는 파일 보기

 #dpkg --contents file_name

 

3. 패키지 설치하기

 #dpkg -i file_name

 

4. 패키지를 풀어헤치기만 하고 설정하지 않기

 #dpkg --unpack file_name

 

5. --unpack으로 풀어헤친 패키지를 설정하기

 #dpkg --configure file_name

 

6. 패키지 삭제하기

 #dpkg --remove package_name

 

7. 설정파일까지 삭제하기

 #dpkg --purge package_name

 

8. 패키지 내의 파일 검색

 #dpkg -L package_name

 

9. 어떤 파일이 어떤 패키지에 들어있는지 알고자 할 때

 #dpkg -S 패턴

 

10. 설치된 패키지 리스트보기

#dpkg -l

 
 
 
 
 
dpkg-www for Debian
-------------------
WWW interface to dpkg and apt.
With this cgi program you can browse Debian packages using a WEB browser.
You can easily follow package dependencies and browse package documentation
with a mouse click.
If you have properly configured the package you can also query which packages
own a non-installed file or have a certain value in a control field.
You can even install or remove packages from your browser if this feature is
enabled in the site configuration file.
WARNING! Allowing access to /cgi-bin/dpkg from any foreign host could allow
a malicious external user to know your installed packages and try possible
security exploits. You should check your local http server configuration
and disable access to dpkg-www from external hosts. You should add the
following lines to apache's httpd.conf:
    # Disable execution of dpkg from remote hosts
    <Location /cgi-bin/dpkg>
    order deny,allow
    deny from all
    allow from localhost
    allow from .your.domain
    </Location>
WARNING! Enabling the WEB installation feature could potentially introduce
security holes in your system and your network. Use at yout own risk!
--
Massimo Dal Zotto <dz@debian.org>  Thu Jan 11 21:26:25 MET 2001
 
 

 
Posted by 새로운시작
|