[ale] question

Greg Freemyer greg.freemyer at gmail.com
Mon Jul 30 17:01:50 EDT 2007


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
-- 
Greg Freemyer
The Norcross Group
Forensics for the 21st Century



More information about the Ale mailing list