[ale] question
Jim Lynch
ale_nospam at fayettedigital.com
Wed Aug 1 07:40:41 EDT 2007
Greg Freemyer wrote:
> On 7/30/07, Kresnik Igor <kresnik.igor at gmail.com> wrote:
>
>> hello all
>> My name its Igor. i,m install QT designer 4.3.0
>> Now i like know where in file named profile i must write
>>
>> PATH=/usr/local/Trolltech/Qt-4.3.0/bin:$PATH
>> export PATH
>>
>> Regards,
>> Igor
>>
>
> Igor,
>
> Looks like your just getting your feet wet with Linux.
>
> I rarely update /etc/profile because I assume my next OS upgrade will
> override it. Instead I prefer to do it for each individual user login
> (/home/<username>/.profile)
>
> Just add your commands to the end of .profile unless you have a
> specific reason to put it earlier. From a command line you can do
> that by:
>
> prompt> cd
> prompt> echo "PATH=/usr/local/Trolltech/Qt-4.3.0/bin:$PATH" >> .profile
> prompt> echo "export PATH" >> .profile
>
> That way you don't even need an editor.
>
> Then
> prompt> cat .profile will let review what changes you made.
>
> If it looks good, logout and log back in.
>
> Greg
>
I don't know where he is reading these instructions but it's possible
they are generic where "profile" means your shell's profile file. Most
distros (that I'm running anyway) use bash as the default shell so he'd
really want to put that in .bashrc or .bash_profile perhaps?
Jim.
More information about the Ale
mailing list