VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » IT, programs, coding
Build Programs on Linux from GitHub - Chris Titus Tech

Build Programs on Linux from GitHub - Chris Titus Tech

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Build Programs on Linux from GitHub - Chris Titus Tech Build Programs on Linux from GitHub Let's build the latest and greatest software that hasn't even been released yet, but is on GitHub. I'll be using OBS Studio for this as the latest commits are amazing
Date: 2022-03-21

Comments and reviews: 10


Generally the release builds are automated, so once a release has been tagged it's picked up and built by CI/CD, then the package is pushed to the assets of that release automatically, so if you want to keep things simple and it has packages already, use them. Building from source is fantastic for things you can't find packages for, or for patching and testing patches for example, but for the most part there's no major reason to use source over non-source, especially if you just checkout the repo and build from master, master is NOT a stable codebase, that's why release tags exist, so you're subject to what ever things have been committed at any one time. This -could- mean it's unfinished, contains bugs, or doesn't even build. (that said, usually with teams dev is done on a local repo and then merged, but yeah...)
reply

You point out the most important element needed is -good documentation- on installing from github.
money manager ex is a program I like but the 1.3x (Linux) versions were always crashing, always.
So I figured I would clone it and use visual studio code to try to fix it. No go, very poor documentation and developers are really not interested in helping, they point you to their bad documentation.
Mmex version 1.4.0-alpha.6[linux] does not crash, but there are items that still need work.
Mmex has been around a long time, check here [youtube], but because the developers are how they are the program is where it is.
So yes you are completely correct, good documentation on how to download everything needed to code/build a program from github is a must.
thanks for this and your other videos

reply

I preface with I have the LMDE 4 Linux distro. After copy and paste the Debian-based OBS Build Directions, and enter password, my terminal returns with:
Note, selecting 'libfontconfig1-dev' instead of 'libfontconfig-dev'
E: Unable to locate package libpipewire-0.3-dev, as shown below:
[sudo] password for judy:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libfontconfig1-dev' instead of 'libfontconfig-dev'
E: Unable to locate package libpipewire-0.3-dev
E: Couldn't find any package by glob 'libpipewire-0.3-dev'
E: Couldn't find any package by regex 'libpipewire-0.3-dev'
How to fix this OBS build based on above terminal messages?

reply

it-s pretty cool that in video you just copy-paste a few lines and all works (and creates package for distro!) but newbies have sometimes have problems and methods to resolve them not every time easy to find. For example, when package have instruction to build (in 3 lines) but nothing about what dependency need to be installed (or have, but for another distro). so... look into PKGBUILD but then many dependencies have different package names or exists in repo as part of another package so... it-s nice when you can apt-get build-deps if old version already in repo though...
reply

just so you know i havn't done a lot of testing on this (i would like to see more data if you have) but when you use the -j male flag it is better to go by core count rather then thread count you ideally want to use two or three jobs higher then your core count. while smt has many advantages when compiling software it only slows you down.
P.S most of my data comes from compiling compiling gcc and the kernel and using the time command to time it.

reply

One other benefit of building from source is security. If something isn't in the official repo and you need to download it, i prefer to build from source. Sure i could do hash checks etc but I assume if somebody is competent enough to hack the download site, they're probably good enough to go in & change the hash to the contaminated file as well. When you build from source, you know what's going in your computer.
reply

And here I am...trying to make git...
You would think that something as...well, yeah I'm in ubuntu studio, not exactly the place where you would expect an up to date version of git. Doesn't even come with the make command, I sudoed apted the build-essential and I have my fingers crossed...
Maybe it's a bit overkill to make an arch install just for using lmms and ardour5...
Just got into this game!

reply

Your awesome Chris thanks so much. Any chance you can do clamav on Linux mint? I have that installed via software manager but the GUI tells me an update is available. I go digging and no update via software manager, so their website says I have to do a whole uninstall first then compile new one. I-m too scared to wreck my system, moved recently from win 8. Keep up great work -
reply

Thank you Chris for this interesting video (as always).
So with a bleeding edge software installation, you get the bleeding edge bugs no ??? :-)
By the way I installed OBS on my Manjaro daily driver from the official repositories and the version is 25.0.8.
On my Linux Mint PC in the software manager, when you look for OBS, you get a flatpak version 25.0.8 too.

reply

Chris, this is the type of videos that may not translate into money but are most appreciated. If I had a teacher with your method for teaching, I would have learned at least twice as fast as I did.
Keep it up, your great work doesn't go unnoticed.
PD: let's wait until you get the audience on fire when you mention the next devil on your videos! Ha!

reply
Add a review, comment






Other channel videos