Packages not available on fresh install

Latest response

Creating new post as first attempt seems to have failed. Apologies if first too got posted.
I come from deb background
when I install rhel, I expect package pointers in /etc/yum.repos.d
I don't see any.
Is there a way to fill that up?
when try install a group such as '[root@localhost marty]# yum grouinstall 'Development Tools'
Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-
: manager
This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.
No such command: grouinstall. Please use /usr/bin/yum --help
[root@localhost marty]#

Can someone help me installing 'Development Tools'?


Sometimes little things might be the solution - you made a typo.
Instead of yum "grouinstall" better type : yum groupinstall :)
The command is : yum groupinstall "Development Tools"

To attach the subscriptions execute the following commands :

sudo subscription-manager register
sudo subscription-manager refresh
sudo subscription-manager attach --auto

To enable additional repositories execute these commands :

sudo subscription-manager repos --enable rhel-7-server-extras-rpms
sudo subscription-manager repos --enable rhel-7-server-optional-rpms
sudo subscription-manager repos --enable rhel-server-rhscl-7-rpms

Now you should be able to use the (update) system properly.

Thank you for going the little extra miles and posing the command to get the updated. Thank you!

You're welcome Suresh ! :)
I'm glad that it helped you.


man you are a legend! thank you

You're welcome Mahmoud ! A legend ? No ... but thanks for your kind words. :)


;) Why deny it? ;)

Because I'm "nothing" compared to someone like you or RJ.
But I try my best to catch up (a little bit) on you two guys ...

Cheers Jan Gerrit ! :)

Those are nice words from Mahmoud. Truly appreciated..

Yes they are Sadashiva, thank you ! :)