How do you install a package from a github repository if it doesn't show up in pacman/pacaur/yaourt?

how do you install a package from a github repository if it doesn't show up in pacman/pacaur/yaourt?

Other urls found in this thread:

github.com/layeh/barnard
github.com/layeh/barnard.git
lmgtfy.com/?q=What is ./configure?
twitter.com/NSFWRedditVideo

Clone it and read the instructions

clone it and it will have some way to install it

you might have to compile it yourself

before you do anything retarded read the fucking instructions carefully

Ask this in an /sqt/ thread.

compile source code

do i just put git clone www.github.com and clone all of github?

git clone url
./configure / autoconf
Make
Make install

Or whatever language it is similar shite

what's ./configure?

yes.

it's for making configurations to make the application

It executes a script called "configure" within the software root directory. It is not mandatory but it's usually present and does stuff like dependence checking and ... wait for it ... configuration.

go to any github project and you will find a green button somewhere on the page that says "clone or download" where you will get a URL to a .git file.

then just use "git clone " and then the url... this will clone the whole thing locally to your machine. Depending on what kind of project you downloaded it might have different installation procedures. Often it says how to install or you might contact the author.

this is what i want to try and install

github.com/layeh/barnard

I don't know how to install stuff programmed in go, but use:
git clone github.com/layeh/barnard.git

to move everything to your computer first.

I guess you have to install go (or golang) first and the other requirements mentioned on the git readme

alright so you're going to want to do this:

git clone github.com/layeh/barnard.git

it looks like you'll also need to install

gumble
gumbleopenal
termbox-go

I don't see a configure or make file or build instructions so this is gonna be a pretty rough first time compiling something from github

lmgtfy.com/?q=What is ./configure?

so if i want to install this, i have to use git clone so that i have a copy of the repository, as it is right now, on my computer. do i get to choose what director it goes into or is it in the git programs directory automatically?

also, once i do this, f there's no make/config file i have to make my own then im guessing? if that's the case, how would i approach handling the dependencies first? install go, then gumble/gumbleopenal/termbox-go and then finally start "make" something in the git once that's all out of the way?

What is a readme

it clones it to your current working directory, so most likely your home folder

is that good practice or should i make a dedicated git directory?

I have a "builds" folder I use but it doesn't really matter. Personal preference.

What's arguably more important is making it easy to use the executables if these are programs you use often. What I would recommend is just symlinking the executable from the git folder t somewhere in your PATH, like /usr/bin or something.

lmao wtf
dude why are you even using arch when you don't even know VERY basic shit

The Apple MacBook Pro with Retina Display doesn't have this problem.

arch isn't actually complicated, it's one of the easier to use distros aside from its initial install. it's also nice and minimal, which is a good thing for a beginner.

what's symlink?

symbolic link. think of it as a shortcut. it'll make it so programs think it's in the directory you have the link in, but it'll actually be wherever you want

would it be picked up by dmenu if it's in PATH that way?

Usually I also create a separate directory/opt/ to install stuff that isn't in repos.

Also if it's popular you might want to package it for your package manager.

I believe so, yes. I'm not sure if dmenu works with aliases, but it probably does with symlinks.

>Also if it's popular you might want to package it for your package manager.
this, especially since you're on arch, it's not too hard to put something into the AUR, and for git packages it can be mostly automated I believe.

my sides are adios

i don't think im capable of that, i can't even figure out why wifi won't work on it.

Minimal just means you have to spend more time installing shit.

that's not true.

Arch is harder to install than Gentoo.

are you joking? i installed it fine without any script and i'm retarded.

You create an ebuild and add it to your local overlay

what's an ebuld/local overlay