Posts: 65
THX1138
Joined: 14 Sep 2017
#1
I am trying to follow instructions to compile a program but something goes wrong with the command 'git'.

The instructions are:

Code: Select all

Make sure you have `NodeJS` with `npm` installed on your system before you begin.
One you've got npm, follow these steps in every platform, then proceed to run the corresponding platform specif$

1. Open a `Terminal` or `Command Prompt` at your desired build location.
2. Clone this repository and its submodules.
```
git clone --recursive https://github.com/ImaginarySense/Teleprompter-Electron.git
cd Teleprompter-Electron
```
The output is:

Code: Select all

sean@Teleprompter:~/Teleprompter
$ git clone --recursive https://github.com/ImaginarySense/Teleprompter-Electron.git
bash: git: command not found
sean@Teleprompter:~/Teleprompter
I installed NodeJS and npm with Synaptic Package Manager. Are they supposed to give me the git command?
Posts: 148
figosdev
Joined: 29 Jun 2017
#2
sudo apt-get install git

nodejs and npm do not themselves require git-- the thing youre trying to download requires git, nodejs and npm. thats why installing the things you installed didnt install git along with them.

note that github usually lets you download an archive and untar it, if you prefer to do so. note for antix fans: if someone tells me the other command line for installing packages in antix, i will very gladly provide that along with the apt-get line, if its just as easy. (its supposed to be easier.)
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#3
note that github usually lets you download an archive and untar it, if you prefer to do so
+1
(git's installation adds 80Mb)
the other command line for installing packages in antix
To install a .deb file you've downloaded, can sudo dpkg -i packagename
but in that situation, instead, I often launch gdebi to inspect the file contents and check dependencies
Posts: 148
figosdev
Joined: 29 Jun 2017
#4
no i mean theres a handy-dandy antix-cli package installer, and since im a pretty huge fan of handy-dandy cli software in general, you shouldnt take my use of"handy-dandy" in any particular way good or bad.

i was simply acknowledging that le user commun might like the antix-specific installer over apt-get (thats why they made one) and that if anyone tells me what command installs git in it, i will provide that alongside the command i already know. though part of me thinks the antix tool is probably interactive and wont involve a simple command-- its difficult to abstract"apt-get install packagename" in a way thats far more friendly, but there are a few times when i do want a tool that lets me use arrow keys instead of names.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#5
cli-aptiX
This is a command line wrapper aound the basic"apt-get","apt-cache", and related commands.
It's designed to make it easy to search for and install Debian packages. In some ways it is similar to the GUI based Synaptic program.
If you been wanting something like Synaptic that works in the command line then maybe"cli-aptiX" is what you've been looking for.
--------------------------------------
{snip}
You can review the cli-aptiX usage instructions here:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://github.com/antiX-Linux/cli-aptiX"
linktext was:"https://github.com/antiX-Linux/cli-aptiX"
====================================
Posts: 148
figosdev
Joined: 29 Jun 2017
#6
you know even if i never used it, that seems like a pretty awesome little app i would consider having on hand in my own distro. i mean if its 900k i might leave it out, but if its a python or bash script (or even written in c) id consider adding it.

note that so far i have never added a 3rd-party application that wasnt in refracta, puppy or debian already (unless i wrote it.) not that im set against it, and its always easier if its python or bash.
Posts: 1,445
skidoo
Joined: 09 Feb 2012
#7
you can grab the debfile here:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://antixlinux.com/stretch/pool/main/c/cli-aptix/"
linktext was:"http://antixlinux.com/stretch/pool/main/c/cli-aptix/"
====================================

38kb (I didn't check the installed size)