How do I find out how a particular package got installed?
Clash Royale CLAN TAG#URR8PPP
up vote
6
down vote
favorite
On a particular Debian VM, I want to know how did xterm and x11-utils got installed : were they installed directly (an administrator running apt-get install xterm
for example) or as a requirement for other packages ?
debian package-management
add a comment |Â
up vote
6
down vote
favorite
On a particular Debian VM, I want to know how did xterm and x11-utils got installed : were they installed directly (an administrator running apt-get install xterm
for example) or as a requirement for other packages ?
debian package-management
add a comment |Â
up vote
6
down vote
favorite
up vote
6
down vote
favorite
On a particular Debian VM, I want to know how did xterm and x11-utils got installed : were they installed directly (an administrator running apt-get install xterm
for example) or as a requirement for other packages ?
debian package-management
On a particular Debian VM, I want to know how did xterm and x11-utils got installed : were they installed directly (an administrator running apt-get install xterm
for example) or as a requirement for other packages ?
debian package-management
edited Apr 1 at 17:17
GAD3R
22.2k154891
22.2k154891
asked Apr 1 at 15:28
ychaouche
431218
431218
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
12
down vote
accepted
Packages which are installed because theyâÂÂre dependencies are normally flagged as automatic; you can see that with
apt-mark showauto xterm
If that outputs xterm
, the package was installed automatically; otherwise it was installed manually.
You can use aptitude
to see which dependencies keep a package installed:
aptitude why xterm
aptitude why
will also explicitly say if a package was installed manually.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
12
down vote
accepted
Packages which are installed because theyâÂÂre dependencies are normally flagged as automatic; you can see that with
apt-mark showauto xterm
If that outputs xterm
, the package was installed automatically; otherwise it was installed manually.
You can use aptitude
to see which dependencies keep a package installed:
aptitude why xterm
aptitude why
will also explicitly say if a package was installed manually.
add a comment |Â
up vote
12
down vote
accepted
Packages which are installed because theyâÂÂre dependencies are normally flagged as automatic; you can see that with
apt-mark showauto xterm
If that outputs xterm
, the package was installed automatically; otherwise it was installed manually.
You can use aptitude
to see which dependencies keep a package installed:
aptitude why xterm
aptitude why
will also explicitly say if a package was installed manually.
add a comment |Â
up vote
12
down vote
accepted
up vote
12
down vote
accepted
Packages which are installed because theyâÂÂre dependencies are normally flagged as automatic; you can see that with
apt-mark showauto xterm
If that outputs xterm
, the package was installed automatically; otherwise it was installed manually.
You can use aptitude
to see which dependencies keep a package installed:
aptitude why xterm
aptitude why
will also explicitly say if a package was installed manually.
Packages which are installed because theyâÂÂre dependencies are normally flagged as automatic; you can see that with
apt-mark showauto xterm
If that outputs xterm
, the package was installed automatically; otherwise it was installed manually.
You can use aptitude
to see which dependencies keep a package installed:
aptitude why xterm
aptitude why
will also explicitly say if a package was installed manually.
answered Apr 1 at 15:39
Stephen Kitt
141k22305365
141k22305365
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f434850%2fhow-do-i-find-out-how-a-particular-package-got-installed%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password