Receiving error while adding this repository: sudo apt-add-repository "deb http://llvm.org/apt/trusty/ llvm-toolchain-trusty main" I noticed that there was no llvm-arm available there. In general, is there a way to install llvm > 3-4 on arm-board using apt-get ?
Related
I am trying to install postgresql on my system to run apache AGE on it. I am trying to run the ./configure command for checking the required libraries and their existence. Although upon running this command it gives me the following error
I am currently using wsl for this rather than using windows for installation. It would be really helpful if someone can guide me through this process.
Install the required dependencies first using following command
sudo apt-get install build-essential libreadline-dev zlib1g-dev flex bison
Install postgres-11 or 12
sudo apt install postgresql-server-dev-11
Then configure with this command
./configure --enable-debug --enable-cassert --prefix=$(pwd) CFLAGS="-ggdb -Og -fno-omit-frame-pointer"
You may need to install some libraries before.
If you are in Debian based distros, run:
sudo apt-get install build-essential libreadline-dev zlib1g-dev flex bison
Also, if you want to debug later, be sure to run the configure command with at least these debugger flags:
./configure --enable-debug --enable-cassert
This documentation may give you more details about it:
https://www.postgresql.org/docs/current/installation.html
There are 2 compilers used in IMX7(ARM Yocto Linux):
arm-poky-linux-gnueabi-gcc
arm-poky-linux-gnueabi-g++
When I build complete image by spending about 2 hours its already downloaded.
But I would like to know how to install this tool chain directly on PC(Ubuntu/CentOS) and use it as separate compiler in PC instead of with its Image as I mentioned above.
Use below command in your ubuntu pc
$ sudo apt-get install gcc-arm-linux-gnueabihf
$ sudo apt-get install g++-arm-linux-gnueabihf
I try to use imgmin (written in C) by rflynn (see on GitHub rflynn/imgmin).
So I followed the instructions
sudo apt-get install -y autoconf libmagickwand-dev pngnq pngcrush pngquant
git clone https://github.com/rflynn/imgmin.git
cd imgmin
autoreconf -fi
./configure
make
sudo make install
imgmin original.jpg optimized.jpg
I compiled and installed it without any problems (or notices). But I can't run "imgmin", it always tells me:
-bash: imgmin: command not found
Where is my mistake? Thank you for any suggestion.
I'm running on Ubuntu Server 16.04 LTS with latest updates.
I am running ubuntu 12.0.4 LTS on my controller. I was trying to install qt4-make using apt-get, but I am getting a message that the package is not found. I need this to make and compile a file. How can I install this ? Also, is there any alternative I can download ? I even tried sudo apt-get install libqt4-* . Still nothing happens.
I think qt4-make is qmake, so try this:
sudo apt-get install qt4-qmake
I installed opencv2.3 on ubuntu by first adding the ppa and the doing apt-get install
$ sudo add-apt-repository ppa:gijzelaar/cuda
$ sudo add-apt-repository ppa:gijzelaar/opencv2.3
$ sudo apt-get update
$ sudo apt-get install libopencv-dev
I am developing on Eclipse and my programs work. I have this one problem though, while following an ebook. I cannot find the /opencv/samples folder in my system. I did a unix directory search to no avail.
Also, in Synaptic Package Manager I find that the opencv packages are not marked green, ie they're not installed. However I have written and executed opencv codes on my machine.
What is the reason for this?
It seems you have installed binary OpenCV package while the samples are (most likely) included only to source package.