Can't find Makefile of editorconfig-core-c - linux

I am trying to install editorconfig-core-c. So I followed the following tutorial:
Tutorial of editorconfig-core-c
So I needed to do:
sudo apt-get install cmake libpcre3-dev
and
make install
But in which folder is the Makefile? I didn't found anything in ~/
Does anyone have a suggestion for me?

Try running the below commands to make, install it and then remove the downloaded files. The key steps you need are
Install any prerequisites
Download the source
Run cmake . in the downloaded directory to create the makefile
Install with sudo make install
A complete set of the commands needed is provided below.
sudo apt-get install cmake libpcre3-dev git
cd
git clone https://github.com/editorconfig/editorconfig-core-c.git
cd editorconfig-core-c/
cmake .
sudo make install
cd ..
rm -rf editorconfig-core-c/

Related

Docker - No rule to make target `hiredis'

I have been scratching my head since past 2 days for this issue. I am using amazon linux image and trying to install redis through a Dockerfile, but this doesn't work.
RUN yum install -y java-17-amazon-corretto.x86_64
RUN yum install -y tar
RUN yum install -y wget
RUN yum -y update
RUN yum -y install gcc make
RUN wget http://download.redis.io/redis-stable.tar.gz
RUN tar xvzf redis-stable.tar.gz
RUN cd redis-stable/deps
make hiredis jemalloc linenoise lua geohash-int
cd ..
make install
When I follow the docs, it says run make and make install from the root of the install directory.
RUN cd redis-stable
RUN make
RUN make install

How to build detect it easy on ubuntu 20.04 from horsicq github?

i have cloned project from this link: https://github.com/horsicq/Detect-It-Easy
And i don't know what to do next, read.me says this commands : chmod a+x configure
./configure
make
make install
But it doesn't work . i want to check docs from command line for java project
git clone --recursive https://github.com/horsicq/DIE-engine.git "--recursive" is very important. It clones all module
chmod a+x configure It makes the file "configure" executable.
./configure "configure" checks if the system has all nessecary packages. If it fails you should install these packages.
For Ubuntu: sudo apt-get install --quiet --assume-yes build-essential qt5-default qtbase5-dev qttools5-dev-tools qtscript5-dev
make It compiles the project
sudo make install It installs the program to system

Install git or update git without apt-get or yum

I have some linux boxes that do not allow me to use yum to install packages. Instead I need to download the zip or tar and then use a package manager to install the items on my linux boxes.
When you go to the git-scm page, the only way they provide to install git is to use yum, apt-get, etc from the command line.
Why is there not just a zip file?
Where can I find the package to install?
Has anyone else had this same issue?
I had the same issue before. I tried to install git from source and it works.
Intalling these packages first:
curl
autoconf
zlib-devel
openssl-devel
perl
cpio
expat-devel
gettext-devel
Getting the GIT scm source code:
git-latest.tar.gz
Compiling the GIT scm from source
tar xzvf git-latest.tar.gz
cd git-{date} // edit it
autoconf
./configure --with-curl=/usr/local
make
make install

node js can't install right on my Ubuntu computer

I use the git to install node js, the method I use is below:
mkdir ~/local
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
git clone git://github.com/joyent/node.git
cd node
./configure --prefix=~/local
make install
cd ..
After this, I use node on my command line, it tell me no node.Any one can help me?
I got the method form https://gist.github.com/isaacs/579814, but can't work.
My path is here.
You have to make before you make install.
The wiki has more information about building from source.
I used NVM to install Node.js to my Ubuntu computer:
First install these packages
sudo apt-get install curl build-essential libssl-dev libxml2 libxml2-dev libexpat1-dev
Install nvm
git clone https://github.com/creationix/nvm.git ~/.nvm
To activate nvm, you need to source it from your bash shell (e.g, add to your ~/.bash_profile)
. ~/.nvm/nvm.sh
The following steps are also required when upgrading Node
Install Node (use whichever version you like, but v0.8.x works)
nvm install v0.8.23
nvm alias default v0.8.23
nvm use v0.8.23
Any issues, I would check out the NVM repo.
This is my build script for node.js on ubuntu. I don't build from the bleeding edge most recent code, but its close to your process.
sudo apt-get update
sudo apt-get -y install build-essential libssl-dev
wget http://nodejs.org/dist/latest/docs/
node_version=`grep -i 'current version' index.html | sed -E 's/.*([0-9]+\.[0-9]+\.[0-9]+).*/\1/'`
wget http://nodejs.org/dist/v$node_version/node-v$node_version.tar.gz
tar -xzf node-v$node_version.tar.gz
cd node-v$node_version
./configure
make
sudo make install
cd ..
rm -rf node-v$node_version.tar.gz node-v$node_version index.html

Installing the libs3 on linux

Could someone pls give me a detailed procedure to intsall libs3 on LINUX? Just the procedure will do.
Thanks in advance.
These are the instructions to install libs3 on centos on a 64 bit machine.
According to their README, you are supposed to build an rpm package out of their source code using 'rpmbuild -ta '
1.) So first, install rpmbuild if it isn't installed already. [My install location is the default one: ~/rpmbuild]
2.) Clone libs3.
git clone https://github.com/bji/libs3.git
3.) Rename folder as libs3-trunk [rpmbuild complained if its name wasn't that, so...], create a tar.gz, copy it to SOURCES folder inside rpmbuild directory.
mv libs3 libs3-trunk
tar -zcvf libs3-trunk.tar.gz libs3-trunk/
mv libs3-trunk.tar.gz ~/rpmbuild/SOURCES
cd ~/rpmbuild/SOURCES
4.) Build the rpm
rpmbuild -ta libs3-trunk.tar.gz
cd ../RPMS/x86_64
5.) Install dependency libs3-2-2.0-5.1.x86_64.rpm from
[http://rpm.pbone.net/index.php3/stat/4/idpl/21900926/dir/centos_6/com/libs3-2-2.0-5.1.x86_64.rpm.html] OR [ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/home:/dalgaaf:/ceph:/extra/CentOS_CentOS-6/x86_64/libs3-2-2.0-5.1.x86_64.rpm]
6.) Install the rpm:
Execute following as sudo:
rpm -Uvh libs3-2-2.0-5.1.x86_64.rpm
rpm -Uvh --replacefiles libs3-trunk-1.x86_64.rpm
rpm -Uvh libs3-devel-trunk-1.x86_64.rpm
7.) Install libcurl-devel/libxml2-devel through yum if you get following error:
make: curl-config: Command not found
make: xml2-config: Command not found
sudo yum install libcurl-devel.x86_64
sudo yum install libxml2-devel.x86_64
For ubuntu versions >=14.04, libs3-dev is available as an Ubuntu package.
So you just need to run:
sudo apt-get install libs3-dev

Resources