Linux CMD: apt-get
-
This is one I don't think I've seen ---anyone--- use before in their syntax
apt-get -q update
so -
What's the
-q
do in this case. Google isn't coming back with any arguments. -
man apt-get
is your friend in this case. I don't remember off the top of my head. -
-bash: man: command not found
yea - guess I'll have to build up another system. this is on a rPi 3 running Diet-Pi
-
As one would expect,
-q,--quiet Quiet. Produces output suitable for logging, omitting progress indicators. More q's will produce more quiet up to a maximum of two. You can also use -q=# to set the quiet level, overriding the configuration file. Note that quiet level 2 implies -y, you should never use -qq without a no-action modifier such as -d, --print-uris or -s as APT may decided to do something you did not expect.
ALso, you really need to learn to use the internet....
https://linux.die.net/man/8/apt-get -
-
Each one of the links I searched did not mention the
-q
And I don't
assume
orexpect
But thanks for the pointer.
-
@gjacobse said in Linux CMD: apt-get:
Each one of the links I searched did not mention the
-q
And I don't
assume
orexpect
But thanks for the pointer.
Again, learn to use the internet. All Linux commands are documented in man pages.. You clearly didn't search for the man page document.
-
@JaredBusch said in Linux CMD: apt-get:
@gjacobse said in Linux CMD: apt-get:
Each one of the links I searched did not mention the
-q
And I don't
assume
orexpect
But thanks for the pointer.
Again, learn to use the internet. All Linux commands are documented in man pages.. You clearly didn't search for the man page document.
I always search for man apt-get to find the man page of whatever command I need to run.
Or just run
man
on another server that has it installed. -
apt install man
-
-
@JaredBusch said in Linux CMD: apt-get:
@scottalanmiller said in Linux CMD: apt-get:
apt install man
apt
is notapt-get
Never implied that it was. Not sure what you are trying to say. I'm trying to get him to install the missing man pages, and apt is the tool that someone should be using, it's the replacement for apt-get. Not sure why he's looking for apt-get info rather than apt info, but I'm not addressing that, just giving the right command for installing the man pages.
-
@scottalanmiller said in Linux CMD: apt-get:
@JaredBusch said in Linux CMD: apt-get:
@scottalanmiller said in Linux CMD: apt-get:
apt install man
apt
is notapt-get
Never implied that it was. Not sure what you are trying to say. I'm trying to get him to install the missing man pages, and apt is the tool that someone should be using, it's the replacement for apt-get. Not sure why he's looking for apt-get info rather than apt info, but I'm not addressing that, just giving the right command for installing the man pages.
The only thing ever discussed in this thread by the OP was
apt-get
. You are injecting something completely separate into the conversation by telling him to useapt
and preaching that he should be using it instead ofapt-get
.You could easily have stated
apt-get install man
. -
@JaredBusch said in Linux CMD: apt-get:
@scottalanmiller said in Linux CMD: apt-get:
@JaredBusch said in Linux CMD: apt-get:
@scottalanmiller said in Linux CMD: apt-get:
apt install man
apt
is notapt-get
Never implied that it was. Not sure what you are trying to say. I'm trying to get him to install the missing man pages, and apt is the tool that someone should be using, it's the replacement for apt-get. Not sure why he's looking for apt-get info rather than apt info, but I'm not addressing that, just giving the right command for installing the man pages.
The only thing ever discussed in this thread by the OP was
apt-get
. You are injecting something completely separate into the conversation by telling him to useapt
and preaching that he should be using it instead ofapt-get
.You could easily have stated
apt-get install man
.Could but why would I promote a command he shouldn't be using? Just because he's asking about a man page for it doesn't imply he should be using it for installs. I'm showing him the right way to do a task, that he needs for the other task he wants to do. Not showing him a less ideal way to do it just to look uniform with something he likely (but we don't know) shouldn't be wanting to do.
-
Okay - Can we stop now? Going back and forth isn’t healthy.
Why
apt-get
overapt
Okay, the question stemmed from a Raspberry Pi 3b+ running DietPi. I’m not going to elude that I know how much is or isn’t available in this system, but it’s stripped pretty well from the bits I have read.
It’s what the DietPi Updater used.
It isn’t my typing the command ad hoc. So - you can quit the beatings as they aren’t going to help me any.On my NC instance running 18.04 - I use
sudo apt update
. So,.. there is that.apt install man
Could I install this? Yep - you guessed it, - I can. Do I want to, I’m not certain. Will I, again, I’m not certain.Now - here is a cup of coffee for both you. This topic is closed.