What does “sudo apt install” do? (no package name next to it)
up vote
-2
down vote
favorite
Okay so, I just randomly typed in the terminal sudo apt install
and hit enter (I was bored, okay) expecting it to tell me that I need to enter a package name to install something. After that the PC coincidentally shut off because of a power outage , so I didn't actually read what it did because I wasn't looking. Probably a dumb question but I am just curious if it actually installed anything on the system.
edit: checked logs and it didn't actually install anything.
command-line
add a comment |
up vote
-2
down vote
favorite
Okay so, I just randomly typed in the terminal sudo apt install
and hit enter (I was bored, okay) expecting it to tell me that I need to enter a package name to install something. After that the PC coincidentally shut off because of a power outage , so I didn't actually read what it did because I wasn't looking. Probably a dumb question but I am just curious if it actually installed anything on the system.
edit: checked logs and it didn't actually install anything.
command-line
1
It will do nothing
– Alvin Liang
Nov 21 at 10:31
add a comment |
up vote
-2
down vote
favorite
up vote
-2
down vote
favorite
Okay so, I just randomly typed in the terminal sudo apt install
and hit enter (I was bored, okay) expecting it to tell me that I need to enter a package name to install something. After that the PC coincidentally shut off because of a power outage , so I didn't actually read what it did because I wasn't looking. Probably a dumb question but I am just curious if it actually installed anything on the system.
edit: checked logs and it didn't actually install anything.
command-line
Okay so, I just randomly typed in the terminal sudo apt install
and hit enter (I was bored, okay) expecting it to tell me that I need to enter a package name to install something. After that the PC coincidentally shut off because of a power outage , so I didn't actually read what it did because I wasn't looking. Probably a dumb question but I am just curious if it actually installed anything on the system.
edit: checked logs and it didn't actually install anything.
command-line
command-line
edited Nov 22 at 12:12
Sravan
76
76
asked Nov 21 at 10:22
Zethex
194
194
1
It will do nothing
– Alvin Liang
Nov 21 at 10:31
add a comment |
1
It will do nothing
– Alvin Liang
Nov 21 at 10:31
1
1
It will do nothing
– Alvin Liang
Nov 21 at 10:31
It will do nothing
– Alvin Liang
Nov 21 at 10:31
add a comment |
1 Answer
1
active
oldest
votes
up vote
4
down vote
accepted
On my system, I see:
$ sudo apt install
[sudo] password for dkb:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$
If you haven't updated your system in some time and if you have software updates pending you'll probably see the number of packages available to be updated as well as the advice to run apt list --upgradable
.
var/log/apt/history.log
and /var/log/dpkg.log
and the corresponding older archived logs store information relating to packages installed or deleted by the system's package management process.
By the way,
I just randomly typed in the terminal "sudo apt install" and hit enter (I was bored, okay)
is a little disturbing. There's nasty code out there that could damage one's system.
Further reading: https://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html
Yup, I should have not done that. That was a silly mistake. Is this anything to worry about? Would I be able to remove it and would it completely be gone? I am okay with re-installing.
– Zethex
Nov 22 at 5:16
I don't think anything bad happened with what you asked about. I was just commenting about being careful when executing code you read about somewhere or a "friend" suggests.
– DK Bose
Nov 22 at 5:56
1
Ok. It said 0 upgraded, 0 installed etc so this means it didn't actually install or write anything to the disk. Am i correct?
– Zethex
Nov 22 at 6:39
That's correct.
– DK Bose
Nov 22 at 6:46
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
accepted
On my system, I see:
$ sudo apt install
[sudo] password for dkb:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$
If you haven't updated your system in some time and if you have software updates pending you'll probably see the number of packages available to be updated as well as the advice to run apt list --upgradable
.
var/log/apt/history.log
and /var/log/dpkg.log
and the corresponding older archived logs store information relating to packages installed or deleted by the system's package management process.
By the way,
I just randomly typed in the terminal "sudo apt install" and hit enter (I was bored, okay)
is a little disturbing. There's nasty code out there that could damage one's system.
Further reading: https://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html
Yup, I should have not done that. That was a silly mistake. Is this anything to worry about? Would I be able to remove it and would it completely be gone? I am okay with re-installing.
– Zethex
Nov 22 at 5:16
I don't think anything bad happened with what you asked about. I was just commenting about being careful when executing code you read about somewhere or a "friend" suggests.
– DK Bose
Nov 22 at 5:56
1
Ok. It said 0 upgraded, 0 installed etc so this means it didn't actually install or write anything to the disk. Am i correct?
– Zethex
Nov 22 at 6:39
That's correct.
– DK Bose
Nov 22 at 6:46
add a comment |
up vote
4
down vote
accepted
On my system, I see:
$ sudo apt install
[sudo] password for dkb:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$
If you haven't updated your system in some time and if you have software updates pending you'll probably see the number of packages available to be updated as well as the advice to run apt list --upgradable
.
var/log/apt/history.log
and /var/log/dpkg.log
and the corresponding older archived logs store information relating to packages installed or deleted by the system's package management process.
By the way,
I just randomly typed in the terminal "sudo apt install" and hit enter (I was bored, okay)
is a little disturbing. There's nasty code out there that could damage one's system.
Further reading: https://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html
Yup, I should have not done that. That was a silly mistake. Is this anything to worry about? Would I be able to remove it and would it completely be gone? I am okay with re-installing.
– Zethex
Nov 22 at 5:16
I don't think anything bad happened with what you asked about. I was just commenting about being careful when executing code you read about somewhere or a "friend" suggests.
– DK Bose
Nov 22 at 5:56
1
Ok. It said 0 upgraded, 0 installed etc so this means it didn't actually install or write anything to the disk. Am i correct?
– Zethex
Nov 22 at 6:39
That's correct.
– DK Bose
Nov 22 at 6:46
add a comment |
up vote
4
down vote
accepted
up vote
4
down vote
accepted
On my system, I see:
$ sudo apt install
[sudo] password for dkb:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$
If you haven't updated your system in some time and if you have software updates pending you'll probably see the number of packages available to be updated as well as the advice to run apt list --upgradable
.
var/log/apt/history.log
and /var/log/dpkg.log
and the corresponding older archived logs store information relating to packages installed or deleted by the system's package management process.
By the way,
I just randomly typed in the terminal "sudo apt install" and hit enter (I was bored, okay)
is a little disturbing. There's nasty code out there that could damage one's system.
Further reading: https://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html
On my system, I see:
$ sudo apt install
[sudo] password for dkb:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$
If you haven't updated your system in some time and if you have software updates pending you'll probably see the number of packages available to be updated as well as the advice to run apt list --upgradable
.
var/log/apt/history.log
and /var/log/dpkg.log
and the corresponding older archived logs store information relating to packages installed or deleted by the system's package management process.
By the way,
I just randomly typed in the terminal "sudo apt install" and hit enter (I was bored, okay)
is a little disturbing. There's nasty code out there that could damage one's system.
Further reading: https://www.debian.org/doc/manuals/debian-faq/ch-pkg_basics.en.html
answered Nov 21 at 11:45
DK Bose
12.3k123983
12.3k123983
Yup, I should have not done that. That was a silly mistake. Is this anything to worry about? Would I be able to remove it and would it completely be gone? I am okay with re-installing.
– Zethex
Nov 22 at 5:16
I don't think anything bad happened with what you asked about. I was just commenting about being careful when executing code you read about somewhere or a "friend" suggests.
– DK Bose
Nov 22 at 5:56
1
Ok. It said 0 upgraded, 0 installed etc so this means it didn't actually install or write anything to the disk. Am i correct?
– Zethex
Nov 22 at 6:39
That's correct.
– DK Bose
Nov 22 at 6:46
add a comment |
Yup, I should have not done that. That was a silly mistake. Is this anything to worry about? Would I be able to remove it and would it completely be gone? I am okay with re-installing.
– Zethex
Nov 22 at 5:16
I don't think anything bad happened with what you asked about. I was just commenting about being careful when executing code you read about somewhere or a "friend" suggests.
– DK Bose
Nov 22 at 5:56
1
Ok. It said 0 upgraded, 0 installed etc so this means it didn't actually install or write anything to the disk. Am i correct?
– Zethex
Nov 22 at 6:39
That's correct.
– DK Bose
Nov 22 at 6:46
Yup, I should have not done that. That was a silly mistake. Is this anything to worry about? Would I be able to remove it and would it completely be gone? I am okay with re-installing.
– Zethex
Nov 22 at 5:16
Yup, I should have not done that. That was a silly mistake. Is this anything to worry about? Would I be able to remove it and would it completely be gone? I am okay with re-installing.
– Zethex
Nov 22 at 5:16
I don't think anything bad happened with what you asked about. I was just commenting about being careful when executing code you read about somewhere or a "friend" suggests.
– DK Bose
Nov 22 at 5:56
I don't think anything bad happened with what you asked about. I was just commenting about being careful when executing code you read about somewhere or a "friend" suggests.
– DK Bose
Nov 22 at 5:56
1
1
Ok. It said 0 upgraded, 0 installed etc so this means it didn't actually install or write anything to the disk. Am i correct?
– Zethex
Nov 22 at 6:39
Ok. It said 0 upgraded, 0 installed etc so this means it didn't actually install or write anything to the disk. Am i correct?
– Zethex
Nov 22 at 6:39
That's correct.
– DK Bose
Nov 22 at 6:46
That's correct.
– DK Bose
Nov 22 at 6:46
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1094758%2fwhat-does-sudo-apt-install-do-no-package-name-next-to-it%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
It will do nothing
– Alvin Liang
Nov 21 at 10:31