[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

how do you install a package from a github repository if it doesn't

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 39
Thread images: 1

File: tfw strong but no gf.gif (54KB, 350x263px) Image search: [Google]
tfw strong but no gf.gif
54KB, 350x263px
how do you install a package from a github repository if it doesn't show up in pacman/pacaur/yaourt?
>>
Clone it and read the instructions
>>
>>58064840

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
>>
>>58064840
Ask this in an /sqt/ thread.
>>
>>58064840
compile source code
>>
>>58064899
>>58064883
>>58064862
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
>>
>>58065009
what's ./configure?
>>
>>58064978
yes.
>>
it's for making configurations to make the application
>>
>>58065964
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.
>>
>>58066394
this is what i want to try and install

https://github.com/layeh/barnard
>>
>>58067523
I don't know how to install stuff programmed in go, but use:
git clone https://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
>>
>>58067523
alright so you're going to want to do this:

git clone https://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
>>
>>58065964
https://lmgtfy.com/?q=What+is+.%2Fconfigure%3F
>>
>>58067590
>>58067570
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?
>>
>>58064840
What is a readme
>>
>>58067704
it clones it to your current working directory, so most likely your home folder
>>
>>58068133
is that good practice or should i make a dedicated git directory?
>>
>>58068184
I have a "builds" folder I use but it doesn't really matter. Personal preference.
>>
>>58068184
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.
>>
>>58065964
>>58064840
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.
>>
>>58069609
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.
>>
>>58069224
what's symlink?
>>
>>58070153
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
>>
>>58070161
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.
>>
>>58070176
I believe so, yes. I'm not sure if dmenu works with aliases, but it probably does with symlinks.
>>
>>58070204
>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.
>>
>>58064978
my sides are adios
>>
>>58070815
i don't think im capable of that, i can't even figure out why wifi won't work on it.
>>
>>58070100

Minimal just means you have to spend more time installing shit.
>>
>>58071398
that's not true.
>>
>>58071445
Arch is harder to install than Gentoo.
>>
>>58071472
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
>>
>>58071512
what's an ebuld/local overlay
Thread posts: 39
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.