Aptitude

From wiki
Revision as of 07:40, 5 January 2017 by Vincent (talk | contribs) (Created page with "== Install == <syntaxhighlight lang="console"> $ sudo apt install aptitude </syntaxhighlight> == Configure == Add the following to <code>/etc/apt/apt.conf</code><syntaxhighli...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Install

$ sudo apt install aptitude

Configure

Add the following to /etc/apt/apt.conf

Aptitude::Suppress-Read-Only-Warning "true";
Aptitude::UI::InfoAreaTabs "true";
Aptitude::UI::Menubar-Autohide "true";
Aptitude::UI::Minibuf-Download-Bar "true";

// Add the source of package in the list and status bar
Aptitude::UI::Package-Display-Format "%c%a%M%S %p %t# %Z %r %I %v %V";
Aptitude::UI::Package-Status-Format "%d %O# %D %I";

// Remove the Tasks section
Aptitude::UI::Default-Grouping "status,section(subdirs,passthrough),section(topdir)";

// Ubuntu already provide this setting in /etc/apt/apt.conf.d/00aptitude
// Only needed if you want to use sudo on other distributions
Aptitude::Get-Root-Command "sudo:/usr/bin/sudo";