ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Linux CMD: apt-get

    IT Discussion
    apt-get
    5
    14
    568
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gjacobseG
      gjacobse
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • travisdh1T
        travisdh1
        last edited by

        man apt-get is your friend in this case. I don't remember off the top of my head.

        gjacobseG 1 Reply Last reply Reply Quote 0
        • gjacobseG
          gjacobse @travisdh1
          last edited by

          @travisdh1

          -bash: man: command not found
          

          yea - guess I'll have to build up another system. this is on a rPi 3 running Diet-Pi

          1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch
            last edited by

            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

            gjacobseG 1 Reply Last reply Reply Quote 1
            • gjacobseG
              gjacobse @JaredBusch
              last edited by

              @JaredBusch

              7fd58b07-8340-4b32-88f4-7a5a607f7b49-image.png

              1 Reply Last reply Reply Quote 0
              • gjacobseG
                gjacobse
                last edited by

                Each one of the links I searched did not mention the -q

                And I don't assume or expect

                But thanks for the pointer.

                JaredBuschJ 1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @gjacobse
                  last edited by

                  @gjacobse said in Linux CMD: apt-get:

                  Each one of the links I searched did not mention the -q

                  And I don't assume or expect

                  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.

                  1 1 Reply Last reply Reply Quote 1
                  • 1
                    1337 @JaredBusch
                    last edited by 1337

                    @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 or expect

                    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.

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller
                      last edited by

                      apt install man

                      JaredBuschJ 1 Reply Last reply Reply Quote 1
                      • JaredBuschJ
                        JaredBusch @scottalanmiller
                        last edited by

                        @scottalanmiller said in Linux CMD: apt-get:

                        apt install man

                        apt is not apt-get

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @JaredBusch
                          last edited by

                          @JaredBusch said in Linux CMD: apt-get:

                          @scottalanmiller said in Linux CMD: apt-get:

                          apt install man

                          apt is not apt-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.

                          JaredBuschJ 1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch @scottalanmiller
                            last edited by

                            @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 not apt-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 use apt and preaching that he should be using it instead of apt-get.

                            You could easily have stated apt-get install man.

                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller @JaredBusch
                              last edited by

                              @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 not apt-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 use apt and preaching that he should be using it instead of apt-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.

                              1 Reply Last reply Reply Quote 0
                              • gjacobseG
                                gjacobse
                                last edited by gjacobse

                                Okay - Can we stop now? Going back and forth isn’t healthy.

                                Why apt-get over apt

                                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.

                                1 Reply Last reply Reply Quote 1
                                • 1 / 1
                                • First post
                                  Last post