Jump to content

How do you install a .git file on ubuntu?

Go to solution Solved by tJuggernaut29,

hey guys,

Thanks for the help

I had some guys walking me through it in a discord

 

TLDR:

.git file emans nothing

dont need to install git either

git clone downloads the files

The file downloaded is a FOLDER (cd into it dummy)

chmod the file to be executable (if it isnt already)

run it with ./bht 

 

TLDR commands (for future me 😉 )

git clone https://github.com/ezonakiusagi/bht.git

cd to the download 

chmod +x bht

 

[install dependencies]

sudo apt-get install smartmontools lsscsi mailutils ksh

sudo apt-get install lvm2
also install pvs (https://pvs-studio.com/en/docs/manual/0039/

 

lsblk

sudo ./bht /dev/sd[a-d]
sudo ./bht --status
 

Thanks 🙂

image.png

Hi, noob question here

I am trying to install bht on ubuntu

When i do apt-get it says it "cant find the package"

image.png.3358b2dfccefbc6fc9dc29114046204c.png

 

So I used wget to download the .git file

I also installed "git" 

 

Question:

How do I install the .git file? Cant figure out how to install it, and when i ask google it just tells me to install "git" but not how to run the file

 

image.png.bade2514929b02406139b01f26ef51eb.png

 

I also did the "git clone "url" " and that ran, but i still cant install it

 

Please help,

Thanks 🙂

Link to comment
Share on other sites

Link to post
Share on other sites

Git is a version control system primarly used by software developers for software development (amoung other uses). `.git` detonates a git repository, and marks a folder not a file. To download the repository, you run `git clone <repo url>`. It will download the contents into a new directory.

 

Edit: I took a look at the project. To run the script, change into the directory `cd <dirname>` and run the script with `./bht <your commandline args>`.

 

Link to comment
Share on other sites

Link to post
Share on other sites

It just a script file, you can download the file, make it executable with chmod and run it. 

 

You need these preinstalled in your system for the script to work. 

Quote

ksh93
smartctl
badblocks
sha256sum
lsscsi

 

Always read the readme. https://github.com/ezonakiusagi/bht/blob/master/README.md

| Intel i7-3770@4.2Ghz | Asus Z77-V | Zotac 980 Ti Amp! Omega | DDR3 1800mhz 4GB x4 | 300GB Intel DC S3500 SSD | 512GB Plextor M5 Pro | 2x 1TB WD Blue HDD |
 | Enermax NAXN82+ 650W 80Plus Bronze | Fiio E07K | Grado SR80i | Cooler Master XB HAF EVO | Logitech G27 | Logitech G600 | CM Storm Quickfire TK | DualShock 4 |

Link to comment
Share on other sites

Link to post
Share on other sites

hey guys,

Thanks for the help

I had some guys walking me through it in a discord

 

TLDR:

.git file emans nothing

dont need to install git either

git clone downloads the files

The file downloaded is a FOLDER (cd into it dummy)

chmod the file to be executable (if it isnt already)

run it with ./bht 

 

TLDR commands (for future me 😉 )

git clone https://github.com/ezonakiusagi/bht.git

cd to the download 

chmod +x bht

 

[install dependencies]

sudo apt-get install smartmontools lsscsi mailutils ksh

sudo apt-get install lvm2
also install pvs (https://pvs-studio.com/en/docs/manual/0039/

 

lsblk

sudo ./bht /dev/sd[a-d]
sudo ./bht --status
 

Thanks 🙂

image.png

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×