我是Ubuntu和Git的新手。我如何驗證我在我的機器上安裝了git?當我嘗試apt-get時,得到:Git - 如何驗證在Ubuntu上安裝Git的方式
[email protected]:/home/nebojsa# apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version.
The following packages were automatically installed and are no longer required:
linux-headers-3.13.0-24 linux-headers-3.13.0-24-generic
linux-headers-3.13.0-39 linux-headers-3.13.0-39-generic
linux-headers-3.13.0-40 linux-headers-3.13.0-40-generic
linux-headers-3.13.0-43 linux-headers-3.13.0-43-generic
linux-image-3.13.0-24-generic linux-image-3.13.0-39-generic
linux-image-3.13.0-40-generic linux-image-3.13.0-43-generic
linux-image-extra-3.13.0-24-generic linux-image-extra-3.13.0-39-generic
linux-image-extra-3.13.0-40-generic linux-image-extra-3.13.0-43-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 133 not upgraded.
但我不知道軟件包安裝在哪裏。
感謝您的幫助!
你在問兩個不同的問題:如何驗證'git'是否已安裝,以及*其中*是否已安裝。 – 2015-03-02 21:26:38