LinuxQuestions.org
Visit Jeremy's Blog.
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, 05: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, 06: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, 06:14 PM   #3
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
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, 07: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, 11:34 PM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

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, 03:52 AM   #6
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Or look for git (if not already installed) the same way you looked for cmake.
 
Old 06-08-2009, 06: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 07: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration