Reputation: 15
I am new to Kali Linux and I am trying to install the program cheat
from the git repo https://github.com/cheat/cheat.
Most of the tutorials show how to install cheat
by running python setup.py
which seemed to work previously when the repo was hosted at https://github.com/chrisallenlane/cheat. However, this file is no longer present in current repo.
I have cloned the new git repo, but I do not know how to install the program from new repo.
Upvotes: 1
Views: 300
Reputation: 3042
Download the binary from the release page.
Open a terminal in the download folder, to decompress the .gz
file type:
gzip -d <downloaded_file.gz>
Make it executable:
chmod +x <downloaded_file> # No gzip extension this time
Now you can run it:
./<downloaded_file>
Optionally, copy it to somewhere in your PATH:
cp <downloaded_file> /usr/local/bin/cheat
Now you can run it by simply typing cheat
Here is a full example with amd64:
cd ~/Downloads
gzip -d cheat-linux-amd64.gz
chmod +x cheat-linux-amd64
sudo cp ./cheat-linux-amd64 /usr/local/bin/cheat
# Run with:
cheat
Upvotes: 1