bug-datamash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-datamash] Install on Unbuntu 12.04 (Precise)?


From: Assaf Gordon
Subject: Re: [Bug-datamash] Install on Unbuntu 12.04 (Precise)?
Date: Wed, 20 Jan 2016 23:49:37 -0500

Hello,

> On Jan 20, 2016, at 18:21, address@hidden wrote:
> 
> I'm very excited with the potential for datamash, but need a small bit of 
> your input to resolve an installation error:
> 
> E: Unable to locate package datamash
> 
> Steps I've taken to resolve it:
> 
> 1) sudo apt-get update
> 2) sudo apt-cache search datamash
> 3) sudo gedit /etc/apt/sources.list
> 
> What is the correct package repository I should either add to item #3 above 
> or alternatively use for Github (using devtools)?
> 
> Thank you very much in advance for your support & development of a greatly 
> useful CLI package.

Thank you for the kind words.

Ubuntu 12.04 is a relatively old version (released in 2012), and will not have 
Datamash available as a native package.

I would recommend compiling it from source, like so:

    cd /tmp
    wget http://ftp.gnu.org/gnu/datamash/datamash-1.1.0.tar.gz
    tar -xzf datamash-1.1.0.tar.gz
    cd datamash-1.1.0
    ./configure
    make
    sudo make install

That should compile and install the latest stable version of datamash in 
/usr/local/bin/datamash.

There is also a git repository for cutting-edge development.
The official repository is here: http://git.savannah.gnu.org/cgit/datamash.git
and a github mirror is here: https://github.com/agordon/datamash

Recent versions of automake,autoconf and gettext are required to compile 
datamash from git - I do not think they are available in Ubuntu 12.04. 
Compiling datamash from the tar.gz file should "just work" on Ubuntu 12.04 (if 
not - please let me know).

regards,
 - assaf

````


reply via email to

[Prev in Thread] Current Thread [Next in Thread]