Useful apt (dpkg) regulates
Install apt - documents, after that run sudo apt-file update
. You can currently look for documents in plans that you do not also have actually mounted.
Additionally convenient if you require to recognize details concerning plans in various other variations of Ubuntu is rmadison, which remains in the devscripts plan. Give it with a plan name as an argument and also it will certainly inform you what variations of that plan exist in every existing Ubuntu variation, and also what repository area the plan remains in.
Instance :
[[email protected]:~/]$ rmadison cowsay
cowsay | 3.03-8 | dapper/universe | source, all
cowsay | 3.03-9 | hardy/universe | source, all
cowsay | 3.03-9.2 | jaunty/universe | source, all
cowsay | 3.03-9.2 | karmic/universe | source, all
cowsay | 3.03-9.2 | lucid/universe | source, all
cowsay | 3.03+dfsg1-2 | maverick/universe | source, all
cowsay | 3.03+dfsg1-2 | natty/universe | source, all
Two that I make use of a whole lot are : -
apt-get autoremove <packagename>
Which will certainly remove the plan and also any kind of extra dependancies, which serves if you attempt an application out, after that determine you do not require it, and also desire the cruft to be gotten rid of additionally.
dpkg -S /path/to/file
Which informs me which package a documents was mounted with.
Ultimately, another.
dpkg -l <packagename> | grep ^ii
Lists plans yet just those that have the standing ii which suggests they are mounted, so it will not show things I've gotten rid of.
If you desire to get the plan name for a documents which was not mounted (dpkg -S
, but also for non - mounted plans), install apt-file
and also run :
apt-file search /path/to/file
To get checklist commands begins with 'apt -' you do the adhering to. open an incurable and also type 'apt -' and also push TAB key two times this will certainly detail all commands begins with 'apt - '.
Example result :
apt-add-repository apt-extracttemplates apt-key
apt-cache apt-file apt-mark
apt-cdrom apt-ftparchive apt-sortpkgs
apt-config apt-get
To get a thorough details you can examine male web page of that a details command
eg : man apt-get
View the ChangeLog of a plan
$ aptitude changelog <pkgname>
Example :
$ aptitude changelog sudo
sudo (1.7.0-1ubuntu2.4) karmic-security; urgency=low
* SECURITY UPDATE: properly handle multiple PATH variables when using
secure_path in env.c
- Adapted http://www.sudo.ws/repos/sudo/raw-rev/a09c6812eaec
- CVE-2010-1646
...
Related questions