LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-11-2015, 03:14 AM   #1
AbdulWahab
LQ Newbie
 
Registered: Apr 2015
Posts: 28

Rep: Reputation: Disabled
how to edit path in fedora 10


Hello All,
I install cross compiler in fedora. Then I run command "arm-linux-gcc -v".
It shows Gcc version. I close terminal and again write "arm-linux-gcc -v".
so it give error command not found. Then I open gedit by type in terminal
"gedit /etc/profile" and close it without anything done on it just open
gedit and close it. Then write "source /etc/profile" in terminal and write
arm-linux-gcc -v. so it shows gcc version. Then again I close terminal and write
arm-linux-gcc -v so it give error command not found. so I want to ask why
this happen. did I install correctly or is there any other problem
please give solution

--
Abdul Wahab
 
Old 06-11-2015, 03:21 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,849

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
We have no idea how did you install it, so hard to answer....
what kind of shell do you have at all?
 
Old 06-11-2015, 03:30 AM   #3
AbdulWahab
LQ Newbie
 
Registered: Apr 2015
Posts: 28

Original Poster
Rep: Reputation: Disabled
Thanks pan64 for your reply. I installed cross compiler with the help of video. So I want to send this video to you so that you will see video and you will get clear idea what I did.
so please send me you email id so I will send you a video.

--
Abdul Wahab
 
Old 06-11-2015, 03:32 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,849

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
please post the link to the video, that would be much better
 
Old 06-11-2015, 03:35 AM   #5
AbdulWahab
LQ Newbie
 
Registered: Apr 2015
Posts: 28

Original Poster
Rep: Reputation: Disabled
I don't have the link of the video because I bought TQ2440 board, so I found video in DVD which came with the board.

--
Abdul Wahab
 
Old 06-11-2015, 03:36 AM   #6
AbdulWahab
LQ Newbie
 
Registered: Apr 2015
Posts: 28

Original Poster
Rep: Reputation: Disabled
One more question, what do you mean by shell? I don't understand what is shell?
Thanks

--
Abdul Wahab
 
Old 06-11-2015, 03:49 AM   #7
AbdulWahab
LQ Newbie
 
Registered: Apr 2015
Posts: 28

Original Poster
Rep: Reputation: Disabled
When I typed "echo $shell" in terminal so it give nothing. I also attach screen shot. please see it. Please tell me what does it mean.

--
Abdul wahab
Attached Thumbnails
Click image for larger version

Name:	Screenshot.png
Views:	23
Size:	182.0 KB
ID:	18692  
 
Old 06-11-2015, 03:53 AM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,849

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
echo $SHELL whould be better, use upcase letters.
the actual version is fedora 22, 10 looks like pretty old one, probably you would better try the new one.

Last edited by pan64; 06-11-2015 at 03:56 AM.
 
Old 06-11-2015, 03:55 AM   #9
AbdulWahab
LQ Newbie
 
Registered: Apr 2015
Posts: 28

Original Poster
Rep: Reputation: Disabled
Ok now its work. It showed /bin/bash. Please also tell me will I send video to you?

--
Abdul Wahab
 
Old 06-11-2015, 04:06 AM   #10
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,849

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
did you try to reboot/relogin after installation already?
upload the video to the net somewhere and post the link.
 
1 members found this post helpful.
Old 06-11-2015, 04:22 AM   #11
AbdulWahab
LQ Newbie
 
Registered: Apr 2015
Posts: 28

Original Poster
Rep: Reputation: Disabled
No I didn't reboot

--
Abdul Wahab
 
Old 06-11-2015, 04:54 AM   #12
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,849

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
so please try to log out and log in again
 
1 members found this post helpful.
Old 06-11-2015, 05:23 AM   #13
AbdulWahab
LQ Newbie
 
Registered: Apr 2015
Posts: 28

Original Poster
Rep: Reputation: Disabled
Thanks Problem solved now.

--
Abdul Wahab
 
Old 06-11-2015, 07:11 AM   #14
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,849

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
glad to help you.
If you think your problem is solved please mark the thread as solved.
If you really want to say thanks just click on yes.
 
1 members found this post helpful.
Old 06-11-2015, 03:46 PM   #15
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
keep in mind Fedora 10 is 12 VERSIONS and FIVE YEARS out of date
10 is MISSING the last FIVE YEARS!!!! security updates
DO NOT USE!!!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit the PATH variable shashank86 Linux - Newbie 7 01-14-2011 03:38 PM
How do I Edit $PATH snippy Solaris / OpenSolaris 6 12-06-2007 12:04 PM
$PATH edit query johnpaulodonnell Linux - Newbie 1 08-29-2006 07:12 AM
How do I edit my path? Echo Kilo Linux - General 3 12-12-2004 01:50 PM
How to edit the value of $PATH? ICO Slackware 1 02-07-2004 04:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration