Home | Mirror | Search |
apt 命令預設從cdrom安裝
註釋/etc/apt/sources.list中的deb cdrom項, apt會從互聯網上安裝
netkiller@Linux-server:~$ sudo vi /etc/apt/sources.list # deb cdrom:[Ubuntu-Server 6.10 _Edgy Eft_ - Release i386 (20061025.1)]/ edgy main restrictedapt-setup
安裝是首先會下載包到/var/cache/apt/archives/目錄
Searching a software package
$ apt-cache search package
列出軟件包的詳細信息:
$ apt-cache show package
列出軟件包的依賴關係:
$ apt-cache depends package
列出軟件包, 以及逆向依賴的軟件包的詳細版本信息:
$ apt-cache showpkg package