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-05-2009, 04:58 PM   #1
LiNuXMaN31509
LQ Newbie
 
Registered: Jun 2009
Location: Houston Texas (Born in Brooklyn NY)
Distribution: CentOS
Posts: 25

Rep: Reputation: 0
Missing Commands on CentOS 5.3 dual boot with Windows XP


Hello:

I am new to linux and I have installed CentOS 5.3 as a dual boot with Windows XP. When I try to install something and I try to use the command it tells me to use such as "git" or "cmake" to name a few it says command not found. I feel as if maybe I am missing something that didnt install and I need to for this to work and get these commands?

Thanks in advance for the help!

-LiNuXMaN31509
 
Old 06-05-2009, 05:09 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
It would help if you told us what you were trying to install, how you were trying to install it, and give exact error messages (copy and pasted, not retyped)
 
Old 06-05-2009, 05:14 PM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Look for them using yum. If you don't know the name of the package providing a certain command use for example
Code:
yum whatprovides */cmake
this will list the package that provides /usr/bin/cmake. Then simply do
Code:
yum install <package-name>
or use the Add/Remove Software tool.
 
Old 06-07-2009, 06:21 PM   #4
LiNuXMaN31509
LQ Newbie
 
Registered: Jun 2009
Location: Houston Texas (Born in Brooklyn NY)
Distribution: CentOS
Posts: 25

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colucix View Post
Look for them using yum. If you don't know the name of the package providing a certain command use for example
Code:
yum whatprovides */cmake
this will list the package that provides /usr/bin/cmake. Then simply do
Code:
yum install <package-name>
or use the Add/Remove Software tool.
colucix Thank you got your help I found it this way but I still want to see if I can fix that other error fixed such as "bash-3.2$ git clone git://lmms.git.sourceforge.net/gitroot/lmms
bash: git: command not found"

When I used git atitude etc.. I always get a command not found error.
 
Old 06-07-2009, 10:34 PM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
The main cause of the problem is that the program is not in the path where the system looks for commands.
Options:
  • Run the command as the root user
  • Add the full path to the command (e.g. /usr/bin/git)
To find the path, you can run locate git (you might have to do an updatedb as root first)
 
Old 06-08-2009, 02:52 AM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Or look for git (if not already installed) the same way you looked for cmake.
 
Old 06-08-2009, 05:39 AM   #7
LiNuXMaN31509
LQ Newbie
 
Registered: Jun 2009
Location: Houston Texas (Born in Brooklyn NY)
Distribution: CentOS
Posts: 25

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colucix View Post
Look for them using yum. If you don't know the name of the package providing a certain command use for example
Code:
yum whatprovides */cmake
this will list the package that provides /usr/bin/cmake. Then simply do
Code:
yum install <package-name>
or use the Add/Remove Software tool.
Thank you very much for your help I was try and see if it works!
 
  


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
CentOS 4.0 + Windows XP Dual Boot laserlight Linux - Enterprise 9 02-01-2010 12:51 PM
Windows XP and CentOS dual boot problem on a laptop computer filippa Linux - Newbie 5 06-13-2008 07:49 AM
need to dual boot centos 5.1 with xp but centos is already installed. extendedping Linux - Software 4 05-13-2008 08:40 PM
Trying to run commands at boot Centos 5 Anauj0101 Linux - Newbie 8 02-19-2008 02:04 AM
Dual boot centos 4.2 haiders Linux - Newbie 2 12-08-2006 12:15 PM

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

All times are GMT -5. The time now is 05:28 PM.

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