1. install package
dpkg -i package_name.deb
2. list all installed package
dpkg -l
dpkg -l vlc
marek@lati:~$ dpkg -l vlc
Wybór:U=nieznany/I=instalacja/R=usunięcie/P=wyczyszczenie/H=zatrzymanie
| Stan:N=brak/I=zainstalowany/C=skonfigurowany/U=rozpakowany/
|/ F=częśc. skonfigurowany/H=częśc. zainstalowany/W=wyzw. czek./T=wyzw. zapl.
|| Błędy?=(brak)/R-do pon. inst. (duże litery w "Stan" i "Błędy"=problemy)
||/ Nazwa Wersja Architektura Opis
+++-==============-============-============-=================================
ii vlc 2.0.8-1 amd64 multimedia player and streamer
3. remove package
dpkg -r packagename.deb
4. view the package content
dpkg -c packagename.deb
marek@lati:~/Pobrane$ dpkg -c google-chrome-stable_current_i386.deb
drwx------ root/root 0 2013-10-21 20:00 ./
drwxr-xr-x root/root 0 2013-10-21 20:00 ./opt/
drwxr-xr-x root/root 0 2013-10-21 20:00 ./opt/google/
drwxr-xr-x root/root 0 2013-10-21 20:00 ./opt/google/chrome/
-rw-r--r-- root/root 2327028 2013-10-21 20:00 ./opt/google/chrome/libffmpegsumo.so
-rw-r--r-- root/root 4818 2013-10-21 20:00 ./opt/google/chrome/product_logo_32.xpm
......
5. check if package is installed or not
marek::mbo { ~ }-> sudo dpkg -s zip
Package: zip
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 589
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Architecture: amd64
Multi-Arch: foreign
Version: 3.0-6ubuntu1
Replaces: zip-crypt (<= 2.30-2)
Depends: libbz2-1.0, libc6 (>= 2.14)
Recommends: unzip
Conflicts: zip-crypt (<= 2.30-2)
Description: Archiver for .zip files
This is InfoZIP's zip program. It produces files that are fully
compatible with the popular PKZIP program; however, the command line
options are not identical. In other words, the end result is the same,
but the methods differ. :-)
.
This version supports encryption.
Homepage: http://www.info-zip.org/Zip.html
Original-Maintainer: Santiago Vila <sanvila@debian.org>
Brak komentarzy:
Prześlij komentarz