Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Another happy newbie with a profile question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
lordnorx
n00b
n00b


Joined: 26 Apr 2016
Posts: 10
Location: UK

PostPosted: Wed Apr 27, 2016 2:12 pm    Post subject: Another happy newbie with a profile question Reply with quote

Hello Gentoo community

I've migrated from {another distro} because of {an init system} and am really enjoying it. The documentation is first rate and the OS feels solid and consistent, so well done.

But I have a quick question,

I've gone in at the deep end, making myself problems to fix in the spirit of learning, and have installed a hardened 64 bit kernel. I've then switched profiles to install KDE5 - which works a treat.

What's the deal with switching profiles to and fro? For example, should I switch back to the hardened profile to please my initial stage and kernel setup, or do I let the desktop profile dominate now that I've opted for Plasma?

Thanks for any pearls of wisdom
_________________
Advertising is the rattling of a stick inside a swill bucket
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Wed Apr 27, 2016 2:25 pm    Post subject: Reply with quote

Profile is generally just a preset to make life easier. You could use plain default and build whatever you want on it. I would probably leave it on hardened and add USE flags for X and KDE.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2574

PostPosted: Wed Apr 27, 2016 4:46 pm    Post subject: Reply with quote

Welcome to Gentoo!
Quote:
I've migrated from {another distro} because of {an init system} and am really enjoying it.
We have been expecting this for some time. Welcome to the light side ;)
Quote:
I've gone in at the deep end, making myself problems to fix in the spirit of learning, and have installed a hardened 64 bit kernel. I've then switched profiles to install KDE5 - which works a treat.
As Buffoon said, there is nothing magic about a profile. It just makes your life easier. Specifically, all a profile does is set the USE="" variable and they get overwritten with each sync so there is no need or point in messing with them. There is no reason you can't run KDE on a hardened profile or a hardened system on a KDE profile. You just have to choose the appropriate flag(s) in your make.conf file, which overrides the profile use flags anyway.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43207
Location: 56N 3W

PostPosted: Wed Apr 27, 2016 5:24 pm    Post subject: Reply with quote

lordnorx,

You can see the effect of profile switching without emerging anything.

Run
Code:
emerge --info
This shows you lots of useful info about your system including your eventual global USE flags.
Your per package USE flags are applied to this baseline.

Switch profiles and run
Code:
emerge --info
again. Compare the USE settings.
Rinse and repeat as many times as you like.

Be sure to select the original profile when you are done.

Audition ufed ... its a USE flag editor. There are others.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
lordnorx
n00b
n00b


Joined: 26 Apr 2016
Posts: 10
Location: UK

PostPosted: Wed Apr 27, 2016 5:42 pm    Post subject: Reply with quote

The Doctor wrote:
Welcome to Gentoo!

Thank you :)

Yeah your answers confirm what I had read elsewhere, i.e. set a profile and alter use flags 'on top of' that. But I couldn't get KDE5 to emerge without switching profile (purely on account of my inexperience).

So my next question was going to be how to determine the USE flags in each profile so I can chop and change as required, but NeddySeagoon seems to have taken care of that for me!

I'll install the laptop again, there's some other stuff I want to play with anyway (like ZFS root), and have another run so I understand it better.

Thanks all!
_________________
Advertising is the rattling of a stick inside a swill bucket
Back to top
View user's profile Send private message
lordnorx
n00b
n00b


Joined: 26 Apr 2016
Posts: 10
Location: UK

PostPosted: Wed Apr 27, 2016 5:44 pm    Post subject: Reply with quote

Oh I just realised I clicked the wrong thread for this sort of question. Oops :? Sorry 'bout that.
_________________
Advertising is the rattling of a stick inside a swill bucket
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43207
Location: 56N 3W

PostPosted: Wed Apr 27, 2016 5:46 pm    Post subject: Reply with quote

Moved from Gentoo Chat to Installing Gentoo.

Is it better here?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
lordnorx
n00b
n00b


Joined: 26 Apr 2016
Posts: 10
Location: UK

PostPosted: Wed Apr 27, 2016 5:53 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Is it better here?


Ahhh. Much better. Ta.
_________________
Advertising is the rattling of a stick inside a swill bucket
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum