우분투14 apt-file 설치

우분투14 apt-file 설치

1 확인[ | ]

root@zeta:~# apt-file
The program 'apt-file' is currently not installed. You can install it by typing:
apt-get install apt-file

2 설치[ | ]

root@zeta:~# apt-get install apt-file
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libapt-pkg-perl libconfig-file-perl libregexp-assemble-perl
The following NEW packages will be installed:
  apt-file libapt-pkg-perl libconfig-file-perl libregexp-assemble-perl
0 upgraded, 4 newly installed, 0 to remove and 36 not upgraded.
Need to get 204 kB of archives.
After this operation, 694 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/universe libconfig-file-perl all 1.50-2 [10.1 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty/main libapt-pkg-perl amd64 0.1.29build1 [85.9 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty/universe libregexp-assemble-perl all 0.35-8 [81.2 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty/universe apt-file all 2.5.2ubuntu1 [27.1 kB]
Fetched 204 kB in 1s (111 kB/s)
Selecting previously unselected package libconfig-file-perl.
(Reading database ... 103617 files and directories currently installed.)
Preparing to unpack .../libconfig-file-perl_1.50-2_all.deb ...
Unpacking libconfig-file-perl (1.50-2) ...
Selecting previously unselected package libapt-pkg-perl.
Preparing to unpack .../libapt-pkg-perl_0.1.29build1_amd64.deb ...
Unpacking libapt-pkg-perl (0.1.29build1) ...
Selecting previously unselected package libregexp-assemble-perl.
Preparing to unpack .../libregexp-assemble-perl_0.35-8_all.deb ...
Unpacking libregexp-assemble-perl (0.35-8) ...
Selecting previously unselected package apt-file.
Preparing to unpack .../apt-file_2.5.2ubuntu1_all.deb ...
Unpacking apt-file (2.5.2ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libconfig-file-perl (1.50-2) ...
Setting up libapt-pkg-perl (0.1.29build1) ...
Setting up libregexp-assemble-perl (0.35-8) ...
Setting up apt-file (2.5.2ubuntu1) ...
The system-wide cache is empty. You may want to run 'apt-file update'
as root to update the cache. You can also run 'apt-file update' as
normal user to use a cache in the user's home directory.

3 apt-file update[ | ]

root@zeta:~# apt-file update
Downloading complete file http://us.archive.ubuntu.com/ubuntu/dists/trusty/Contents-amd64.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 28.0M  100 28.0M    0     0  5618k      0  0:00:05  0:00:05 --:--:-- 5853k
... (생략)
Ignoring source without Contents File:
  http://ppa.launchpad.net/zanchey/asciinema/ubuntu/dists/trusty/Contents-amd64.gz

4 확인 2[ | ]

root@zeta:~# apt-file

apt-file [options] action [pattern]
apt-file [options] -f action <file>
apt-file [options] -D action <debfile>
... (생략)

5 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}