Linux: Installing with YUM
-
@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 can scroll with my terminal, so using more isn't really necessary.
-
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.
-
@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.)
-
@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.
-
@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.
-
@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.
-
@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.
-
@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.
-
@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.