ΠΠ°ΠΊ Π°Π²ΡΠΎΠΌΠ°ΡΠΈΡΠ΅ΡΠΊΠΈ ΠΎΡΠΈΡΠ°ΡΡ ΠΊΡΡ APT ΠΏΠΎΡΠ»Π΅ ΠΊΠ°ΠΆΠ΄ΠΎΠΉ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠΈ.
Π£Π΄Π°Π»ΡΡΡ ΠΊΠ°ΠΆΠ΄ΡΠΉ ΡΠ°ΠΉΠ» ΠΈΠ· ΠΊΡΡΠ° APT ΠΏΠΎΡΠ»Π΅ ΠΊΠ°ΠΆΠ΄ΠΎΠ³ΠΎ Π²ΡΠΏΠΎΠ»Π½Π΅Π½ΠΈΡ dpkg.
$ sudo tee /etc/apt/apt.conf.d/00_disable-cache-directories << EOF DPkg::Post-Invoke {"echo 'Purging APT cache'; find /var/cache/apt/archives/ -type f -delete"} EOF
DPkg::Post-Invoke {"echo 'Purging APT cache'; find /var/cache/apt/archives/ -type f -delete"}
ΠΡΠΏΠΎΠ»Π½ΠΈΡΠ΅ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΡ ΡΡΡΠ°Π½ΠΎΠ²ΠΊΠΈ apt.
$ sudo apt install packer
Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: chromium-codecs-ffmpeg-extra gir1.2-gnomebluetooth-1.0 gstreamer1.0-vaapi libflashrom1 libftdi1-2 libgstreamer-plugins-bad1.0-0 libllvm13 ltrace Use 'sudo apt autoremove' to remove them. Suggested packages: ansible qemu-system The following NEW packages will be installed: packer 0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded. Need to get 17.4 MB of archives. After this operation, 106 MB of additional disk space will be used. Get:1 http://pl.archive.ubuntu.com/ubuntu jammy/universe amd64 packer amd64 1.6.6+ds1-4 [17.4 MB] Fetched 17.4 MB in 1s (21.0 MB/s) Selecting previously unselected package packer. (Reading database ... 210130 files and directories currently installed.) Preparing to unpack .../packer_1.6.6+ds1-4_amd64.deb ... Unpacking packer (1.6.6+ds1-4) ... Setting up packer (1.6.6+ds1-4) ... Processing triggers for man-db (2.10.2-1) ... Purging APT cache
ΠΠ±ΡΠ°ΡΠΈΡΠ΅ Π²Π½ΠΈΠΌΠ°Π½ΠΈΠ΅, ΡΡΠΎ ΠΊΠΎΠΌΠ°Π½Π΄Ρ apt, ΠΏΡΠΈ ΠΊΠΎΡΠΎΡΡΡ Π½Π΅ Π²ΡΠΏΠΎΠ»Π½ΡΠ΅ΡΡΡ dpkg, Π½Π΅ Π²ΡΠ·ΡΠ²Π°ΡΡ Π΄ΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΡ ΠΎΠΏΠ΅ΡΠ°ΡΠΈΠΉ.
$ sudo apt install kvmtool --download-only
Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages were automatically installed and are no longer required: chromium-codecs-ffmpeg-extra gir1.2-gnomebluetooth-1.0 gstreamer1.0-vaapi libflashrom1 libftdi1-2 libgstreamer-plugins-bad1.0-0 libllvm13 ltrace Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: kvmtool 0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded. Need to get 89.4 kB of archives. After this operation, 265 kB of additional disk space will be used. Get:1 http://pl.archive.ubuntu.com/ubuntu jammy/universe amd64 kvmtool amd64 0.20170904-1.1 [89.4 kB] Fetched 89.4 kB in 0s (672 kB/s) Download complete and in download only mode
$ sudo ls /var/cache/apt/archives/
kvmtool_0.20170904-1.1_amd64.deb lock partial
ΡΠΌ. ΡΠ°ΠΊΠΆΠ΅:
- π¦Β ΠΠ°ΠΊ ΠΏΡΠΎΠ²Π΅ΡΠΈΡΡ Π²Π΅ΡΡΠΈΡ ΡΡΡΠ°Π½ΠΎΠ²Π»Π΅Π½Π½ΠΎΠ³ΠΎ ΠΏΠ°ΠΊΠ΅ΡΠ° Π² Ubuntu/Debian
- π¦Β ΠΠ°ΠΊ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΡ ΠΊΠΎΠΌΠ°Π½Π΄Ρ apt search Π½Π° Linux
- π§ ΠΠ°ΠΊ Π΄ΠΎΠ±Π°Π²ΠΈΡΡ ΡΠ΅ΠΏΠΎΠ·ΠΈΡΠΎΡΠΈΠΉ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ½ΠΎΠ³ΠΎ ΠΎΠ±Π΅ΡΠΏΠ΅ΡΠ΅Π½ΠΈΡ Microsoft Π΄Π»Ρ Linu
- π¦Β ΠΠ°ΠΊ Π²ΡΠ²Π΅ΡΡΠΈ ΡΠΏΠΈΡΠΎΠΊ Π²ΡΠ΅Ρ ΠΏΠ°ΠΊΠ΅ΡΠΎΠ², Π΄ΠΎΡΡΡΠΏΠ½ΡΡ Π² ΡΠ΅ΠΏΠΎΠ·ΠΈΡΠΎΡΠΈΠΈ Ubuntu ΠΈ Debian