Hello Linux Geeksters. As you may know, APT (Advanced Package Tool) has been updated yet again. While APT 1.0 brought the below new commands:
- apt list displays the installed and upgradable packages, similar output dpkg -l
- apt search searches in theĀ local repositories for packages, similar to apt-cache search, but displays the packages in alphabetical order
- apt show displays information about packages, like apt-cache show, but displays a simplified output
- apt update updates the local repository index, like apt-get update, but displays colored output
- apt install installs packages from th repositories like apt-get install, but adds a progress bar
- apt remove installs packages from th repositories like apt-get remove, but adds a progress bar
- apt full-upgrade does the same as apt-get dist-upgrade
- apt edit-sources opens the /etc/apt/sources.list file, in the default editor.
APT 1.0.8 (which is the latest version available), comes with the below changes:
- German program translation update
- Portuguese manpages translation update
- initialize iPolicyBrokenCount in DepCache::Update
- Avoid yielding blank lines with APT::Cmd::use-format=true
- Make Proxy-Auto-Detect check for each host
- Add testcase for apt list –all-versions
In this article I will show you how to install APT 1.0.8 on Ubuntu 14.04 Trusty Tahr, Linux Mint 17 Qiana, Pinguy OS 14.04, Elementary OS 0.3 Freya, LXLE 14.04 , Deepin 2014, Peppermint Five, Linux Lite 2.0 and other Ubuntu 14.04 derivative systems.
Because it is not available via any repository or ppa, we have to add a third party ppa to satisfy the dependencies, download the apt deb package from the debian ftp and install it via command-line. I prefer gdebi over dpkg, due to the fact that it also handles dependencies.
How to install APT 1.0.8 on 32 bit Ubuntu 14.04, Linux Mint 17, Deepin 2014, Pinguy OS 14.04 and other Ubuntu 14.04 derivatives:
$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
$ sudo apt-get update
$ sudo apt-get install gdebi
$ wget ftp.debian.org/debian/pool/main/a/apt/apt_1.0.8_i386.deb
$ sudo gdebi apt_1.0.8_i386.deb
How to install APT 1.0.8 on 64 bit Ubuntu 14.04, Linux Mint 17, Deepin 2014, Pinguy OS 14.04 and other Ubuntu 14.04 derivatives:
$ sudo add-apt-repository ppa:ubuntu-toolchain-r/test
$ sudo apt-get update
$ sudo apt-get install gdebi
$ wget ftp.debian.org/debian/pool/main/a/apt/apt_1.0.8_amd64.deb
$ sudo gdebi apt_1.0.8_amd64.deb
Leave a Reply