@Wayne-Workman
[root@localhost opt]# ls
fog  git  lost+found  rh  sophos-av  svn  teamviewer
[root@localhost opt]# cd git
[root@localhost git]# ls
fogproject
[root@localhost git]# cd fogproject
[root@localhost fogproject]# ls
[root@localhost fogproject]# git pull
bash: /bin/git: No such file or directory
[root@localhost fogproject]#
I thought I did that. I deleted the old git directory and created a new one and this is what I get.
[root@localhost git]# git pull
bash: git: command not found...
[root@localhost git]# cd fogproject
[root@localhost fogproject]# git pull
bash: git: command not found...
[root@localhost fogproject]# git --version
bash: git: command not found...
[root@localhost fogproject]# git clone https://github.com/FOGProject/fogproject.git /opt/git/fogproject
bash: git: command not found...
[root@localhost fogproject]# sudo apt-get update && apt-get install git
sudo: apt-get: command not found
[root@localhost fogproject]# sudo yum update && yum install git
Loaded plugins: fastestmirror, langpacks
base                                                                                                                                                                                    | 3.6 kB  00:00:00
epel/x86_64/metalink                                                                                                                                                                    |  12 kB  00:00:00
epel                                                                                                                                                                                    | 4.3 kB  00:00:00
extras                                                                                                                                                                                  | 3.4 kB  00:00:00
remi                                                                                                                                                                                    | 2.9 kB  00:00:00
remi-safe                                                                                                                                                                               | 2.9 kB  00:00:00
updates                                                                                                                                                                                 | 3.4 kB  00:00:00
(1/3): epel/x86_64/updateinfo                                                                                                                                                           | 556 kB  00:00:00
(2/3): remi/primary_db                                                                                                                                                                  | 1.3 MB  00:00:01
(3/3): epel/x86_64/primary_db                                                                                                                                                           | 4.1 MB  00:00:03
Loading mirror speeds from cached hostfile
 * base: mirror.raystedman.net
 * epel: mirror.oss.ou.edu
 * extras: mirror.oss.ou.edu
 * remi: mirrors.mediatemple.net
 * remi-safe: mirrors.mediatemple.net
 * updates: mirror.oss.ou.edu
No packages marked for update
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.raystedman.net
 * epel: mirror.utexas.edu
 * extras: mirror.oss.ou.edu
 * remi: mirrors.mediatemple.net
 * remi-safe: mirrors.mediatemple.net
 * updates: pubmirrors.dal.corespace.com
Package git-1.8.3.1-6.el7_2.1.x86_64 already installed and latest version
Nothing to do
[root@localhost fogproject]# yum install git
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.raystedman.net
 * epel: mirror.utexas.edu
 * extras: mirror.oss.ou.edu
 * remi: mirrors.mediatemple.net
 * remi-safe: mirrors.mediatemple.net
 * updates: pubmirrors.dal.corespace.com
Package git-1.8.3.1-6.el7_2.1.x86_64 already installed and latest version
Nothing to do
I think I messed something up. When I deleted git from the opt directory, and it didn’t work, I deleted it in a couple other areas like:
/usr/bin/git
/usr/share/git-core
…and one other area that I forgot. I screwed it up, didn’t I?