No manual entry for giteveryday - linux

I installed git using
_sudo apt-get install git_
But git help everyday gives following error:
No manual entry for giteveryday
Even though, this appears similar to one How do I get git manual entries?
I feel this is different.
git-man is already installed and git help <command> works for all commands except giteveryday.
I don't know why this is happening?? Am I missing something??

Since you have downloaded git from a source and ended up not having the git manpages.
You can download those and then try your command :
sudo apt-get install git-man
Manual download source is here.
Edit : As suggested by #ElpieKay in Ubuntu the same command goes as :
sudo apt-get install git-doc

If Git is installed, you can always run git --html-path to see where the html docs are. You can find the link to giteveryday in the index.html.
Also you can read it online.

Related

How to install smlnj in arch linux?

Earlier I was in Ubuntu & it was easy to install smlnj using
apt-get install smlnj
but now I shifted to Arch & I'm finding it difficult to install smlnj.
I tried to find smlnj package through yaourt but I didn't found any.
Then I tried to install it by steps given in official site by downloading tar file. I followed given steps and extracted tar file in /usr/local/sml & then compiled by running command
config/install.sh.
After doing all this I tried to run sml but was not successful. I tried setting environment variable but again was not successful.
Please tell me whether I'm missing any steps or doing it wrong way. What is correct way to install smlnj in Arch Linux?
Update: As Alexander (xyproto) points out, pacman -S smlnj should work again now that SML/NJ is in the [multilib] repository. The solution below would still work, but credit for making installation more convenient should go to him. :-)
Before: It seems that the package became unavailable for x86_64 in Feb 2017, but it doesn't look like it should have happened. I've asked Alexander who maintains the package in [community].
The AUR doesn't contain an smlnj package because it's against AUR policy to overlap with official packages, unless the AUR package is compiled with some tweak that is clearly visible in the package name.
You can still build an Arch package and install that by finding the PKGBUILD and accompanying files at: https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/smlnj (or by cloning the git repo below with those four files in it):
~ $ git clone https://github.com/sshine/smlnj-arch.git
~ $ cd smlnj-arch
~/smlnj-arch $ makepkg
~/smlnj-arch $ sudo pacman -U smlnj-110.80-3-x86_64.pkg.tar.xz

sudo/apt-get command not found in git bash

I am using Windows 10 in my machine, and currently installed git bash on it.
I wanted to install node and npm for my application.
when i tried :
apt-get install nodejs
"apt-get" command not found,
I tried google and got
sudo install nodejs
"sudo" command not found.
How to use sudo and apt-get command on my git bash.
Git for Windows comes with a Windows port of Bash and a collection of few more common *nix command-line tools that have been compiled for Windows, it does not provide a complete *nix environment. Hence you cannot use tools like sudo and apt-get which modify the *nix operating system.
However, there are other tools, programs if you like, available.
Try to install node " the windows way ".
win-sudo package adds sudo to windows.
kafaior at Super User suggests:
A working sudo replacement for Cygwin's mintty terminal would be to place the following script in user's PATH:
$!/bin/bash
cygstart --action=runas mintty -e `which bash` -lc \"$#\"
Maximus mentions how to add sudo (well, csudo) via cmder.
Super User has a similar question here.
It looks like there is a command runas or elevate commands. These might be for PowerShell, rather than git bash. I'm not sure.
I found your this while looking for a way to add rsync to Git Bash. So below I included info that may or may not work for sudo or apt-get. If they do not work directly for specific commands the OP is asking about, they may inspire a solution that does work. Also this could help others who arrived here as I did.
rsync is another unix command not available in the standard installation of git bash.
However, you can download and install the Git for Windows SDK (scroll to the bottom of the page for the link). This will allow you to create a version of the Git for Windows installer that does include additional *nx commands.
Install the Git for Windows SDK according to the instructions. Part 2 is where you add the packages you want, that aren't included in the standard git bash installation. Part 3 is where you create a Git installer, which will include the additional packages. If you skipped step 2, this should produce an installer similar to the standard installer.. There is a good discussion as to why they cannot include these commands in the general distribution.
It is also possible to just grab rsync filehere or here and unpack it directly within your Git installation, and it works. I dunno if it is also possible to do something similar for sudo or apt-get.
Finally, it looks like there is a way to get *nix commands available within the Git Bash shell via cmder. Here are the instructions.
Installing applications in git bash does not sound right to me. I would suggest you either use the native Windows installer (https://nodejs.org/) or, if you prefer a package manager, use Chocolatey (https://chocolatey.org/) to install nodejs with:
choco install nodejs

How do I completely uninstall git from my Linux Machine

I had installed git by downloading the tar ball and then doing the following steps
./configure --prefix=/scratch/custom/git
make
make install
But after running these commands, I still see that git is created under /usr/local as below
bash-4.1$ whereis git
git: /usr/bin/git /usr/local/git /usr/share/man/man1/git.1.gz
I would like to remove and reinstall again how do i do the same?
If make unistall doesn't work, as mentioned here, uninstalling on linux, try make install again, capturing the output.
Then go through all of the install commands and manually remove the installed files.
Also, 'make -n` may help to determine all of the installed files.

Installing checkinstall on fedora 20

I am a Linux noob and trying to build stuff from sources.
To keep it clean I'd like to use checkinstall but can't find it for Fedora 20
Is this possible ?
If so where is that ?
yum install checkinstall did not return any results
The instructions listed in the link given by #JeffJohnson are not required. Just clone the git repository and the make will work just fine (follow the instructions from the INSTALL file). You can find the link to the git repository here.
There are (untested by me) directions for building checkinstall at http://www.patrickmin.com/linux/tip.php?name=checkinstall_fedora_13

How to get latest cmake version from CentOS 6.5

Is there a good way to install latest cmake version from CentOS 6.5?
I'm doing yum install cmake but it's giving me 2.6.4 from base repo which I don't want.
I tried installing cmake28 but the problem is that when I try to do ./configure it throws an error saying cmake is not available.
rpm -Uv ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/Application:/Geo/CentOS_6/x86_64/cmake-3.0.0-143.1.x86_64.rpm
Hope this helps to somebody. If you have any problems with it let me know. Have fun.
I know this is an ancient question, but I got here by google searching and wanted to share what I knew so far.
when you sudo yum install cmake28, you get a /usr/bin/cmake28 binary on your machine. You can setup a symlink to make your configure script work via the following:
sudo ln -s /usr/bin/cmake28 /usr/bin/cmake
Not sure why the cmake28 package doesn't do this for you.
Well, after looking at the tutorial CMake gives on their website, it says download this and after that you have too type "./bootstrap" followed by "make" and "make install".
If you get any errors type "sudo" in front of all the said commands. If that doesn't work, your best bet would be too login to the root account by typing "su" and the root password following that.
If you already have cmake installed you should either follow the steps cmake offers on their website or try the command "sudo yum remove cmake".

Resources