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

    Linux: Installing with YUM

    IT Discussion
    linux centos scottalanmiller sam linux administration yum rpm package management
    6
    18
    3.9k
    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.
    • travisdh1T
      travisdh1 @scottalanmiller
      last edited by

      @scottalanmiller said:

      Now, what you will likely look up often, is exactly file names. For example, it is common to find that Python 2 packages are called python and Python 3 are called python3.

      This is where yum list | grep python is awesome because it will list everything called python regardless and let you see what the options are.

      Am I the only one that uses

      yum search python | more
      

      I mean, I know 'yum list | grep python' works, I find more often it turns into

      yum list | grep python | more
      

      nothing really wrong with either, just the way I tend to work.

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

        I can scroll with my terminal, so using more isn't really necessary.

        1 Reply Last reply Reply Quote 2
        • wirestyle22W
          wirestyle22
          last edited by wirestyle22

          As a side note: The -y modifier assumes a yes for any interactive questions. I looked that up a little while ago and it was actually kind of hard to find. I've noticed that sometimes it doesn't actually ignore the interactive questions though. I assume this has to do with the package and what is required.

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

            @wirestyle22 said:

            The -y modifier assumes a yes for any interactive questions too. I looked that up a little while ago and it was actually kind of hard to find 😄

            It's right in the man page. Man is your friend, learn to love it! (uh, that might have come out wrong.)

            wirestyle22W scottalanmillerS 2 Replies Last reply Reply Quote 1
            • wirestyle22W
              wirestyle22 @travisdh1
              last edited by wirestyle22

              @travisdh1 said:

              @wirestyle22 said:

              The -y modifier assumes a yes for any interactive questions too. I looked that up a little while ago and it was actually kind of hard to find 😄

              It's right in the man page. Man is your friend, learn to love it! (uh, that might have come out wrong.)

              The reason I had trouble is because I was searching Yum commands not Yum modifiers 😄 Windows ruined any potential I had.

              1 Reply Last reply Reply Quote 2
              • scottalanmillerS
                scottalanmiller @travisdh1
                last edited by

                @travisdh1 said:

                @wirestyle22 said:

                The -y modifier assumes a yes for any interactive questions too. I looked that up a little while ago and it was actually kind of hard to find 😄

                It's right in the man page. Man is your friend, learn to love it! (uh, that might have come out wrong.)

                It's illegal to use the man pages in Mississippi now.

                1 Reply Last reply Reply Quote 2
                • stacksofplatesS
                  stacksofplates @travisdh1
                  last edited by stacksofplates

                  @travisdh1 said:

                  @scottalanmiller said:

                  Now, what you will likely look up often, is exactly file names. For example, it is common to find that Python 2 packages are called python and Python 3 are called python3.

                  This is where yum list | grep python is awesome because it will list everything called python regardless and let you see what the options are.

                  Am I the only one that uses

                  yum search python | more
                  

                  I mean, I know 'yum list | grep python' works, I find more often it turns into

                  yum list | grep python | more
                  

                  nothing really wrong with either, just the way I tend to work.

                  I do it also. After about he third time you search something while in a tmux session and you can't scroll up you learn to do that lol.

                  Except I've always used less, idk why I defaulted to that over more.

                  travisdh1T scottalanmillerS 2 Replies Last reply Reply Quote 1
                  • travisdh1T
                    travisdh1 @stacksofplates
                    last edited by

                    @johnhooks The difference is 6 compared to a half dozen (at least in this case.)

                    I used to know a reason why you would use less or more in certain cases, but it's been so long that I no longer remember what caused a difference.

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

                      @johnhooks said:

                      @travisdh1 said:

                      @scottalanmiller said:

                      Now, what you will likely look up often, is exactly file names. For example, it is common to find that Python 2 packages are called python and Python 3 are called python3.

                      This is where yum list | grep python is awesome because it will list everything called python regardless and let you see what the options are.

                      Am I the only one that uses

                      yum search python | more
                      

                      I mean, I know 'yum list | grep python' works, I find more often it turns into

                      yum list | grep python | more
                      

                      nothing really wrong with either, just the way I tend to work.

                      I do it also. After about he third time you search something while in a tmux session and you can't scroll up you learn to do that lol.

                      Except I've always used less, idk why I defaulted to that over more.

                      That's why I don't use tmux often.

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

                        @travisdh1 said:

                        @johnhooks The difference is 6 compared to a half dozen (at least in this case.)

                        I used to know a reason why you would use less or more in certain cases, but it's been so long that I no longer remember what caused a difference.

                        I know of no case where you use more. I always used it because I learned it first, but less is the only one you would actually want to use.

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