How to install llvm-14 - clang

I had llvm-14 before but something really weird happened, but it got removed. I tried sudo apt install llvm-14
but I get the error:
llvm-14 : Depende: llvm-14-runtime (= 1:14.0.6~++20221030064722+f28c006a5895-1~exp1~20221030064759.169) pero no va a instalarse
Depende: llvm-14-linker-tools (= 1:14.0.6~++20221030064722+f28c006a5895-1~exp1~20221030064759.169) pero no va a instalarse
Depende: libllvm14 pero no va a instalarse
Recomienda: llvm-14-dev pero no va a instalarse
(sorry it's in Spanish, it basically tells that those deps are missing and they will not be installed)
how can I fix this?

Try to remove the package and install again.
sudo apt-get remove && sudo apt install llvm-14

Related

Containerd.io depends libseccomp2

Hi I'm trying to install docker in my Debian 10 computer and I have a few problems trying to install containerd.io service.
When I'm trying to install using this command I got an error that I need to upgrade a dependency. But If I try to upgrade manually terminal shows me an advice that I'm already using the last version of this package.
sudo apt-get install docker-ce docker-ce-cli containerd.io
Also I tried to follow this tutorial, but it is not compatible with my debian version
docker-ce : Depends: libseccomp2 (>= 2.3.0) but 2.2.3-3ubuntu3 is to be installed
Depends: libseccomp2 (>= 2.4.0) but 2.3.3-4 is to be installed
I had the same error. I made the wrong Linux distribution. I had chosen Ubuntu instead of Debian. I had to delete the lines with ubuntu in nano /etc/apt/sources.list and I did sudo apt-get update and I installed sudo apt-get install build-essential. It worked for me !

Nvidia 9.2 CUDA toolkit nvcc install error

I am trying to install the CUDA toolkit on Ubuntu 16.04 with
sudo apt-get install cuda
and keep getting the following error:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
cuda : Depends: cuda-9-2 (>= 9.2.148) but it is not going to be
installed
E: Unable to correct problems, you have held broken packages
any help?
Option 1:
sudo apt-get install cuda-runtime-9-2
sudo apt-get install cuda-9-2
sudo apt-get install cuda
Option 2:
sudo apt-get install aptitude
sudo aptitude install cuda

How to install `cv2` correctly for `Raspbian Jessie`?

When I tried to install opencv2 in python 3.4.2 in rasbian jessie, the following error occured.
pip3 install python3-opencv
Collecting python3-opencv
Could not find a version that satisfies the requirement python3-opencv (from versions: )
No matching distribution found for python3-opencv
I have also tried:
sudo apt-get install python3-opencv
It also shows the same error.

how can i install rmagick on ubuntu 17.04

Installing rmagick on Ubuntu
there are solutions for different versions of ubuntu, but none worked on 17.04 ?
sudo apt-get install libmagickwand-dev gives
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libmagickwand-dev : Depends: imagemagick-6-common (= 8:6.9.7.4+dfsg-3ubuntu1) but 8:6.9.7.4+dfsg-3ubuntu1.2 is to be installed
Depends: libmagickwand-6.q16-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Couldn't find any solution for this. Updated to Ubuntu to 17.10, where it works fine.
You can search for any packages in ubuntu doing a sudo apt-cache search libmagickwand-dev and if you find the package you are looking for then install it doing sudo apt-get install libmagickwand-dev,
Installing all the unmet dependencies should fix the problem, and it is always helpful to do the commands below to upgrade any missing packages
sudo apt-get upgrade && sudo apt-get update
You should be able to install rmagick without any issues after this.

install libopencv-dev without libopencv-ocl-dev

I recently update my os to Ubuntu 13.10 64bit, when I ran
sudo apt-get install libopencv-dev
My computer crashes.
The reason is that
libopencv-dev -> libopencv-ocl-dev -> nvida-319
using
aptitude why libopencv-dev nvidia-319
p libopencv-dev Depends libopencv-ocl-dev (= 2.4.5+dfsg-0ubuntu4)
p libopencv-ocl-dev Depends libopencv-ocl2.4 (= 2.4.5+dfsg-0ubuntu4)
p libopencv-ocl2.4 Depends libopencl1
p nvidia-319 Provides libopencl1
And it is the nvida-319 crashes my computer
So how can install libopencv-dev without libopencv-ocl-dev.
sudo apt-get install ocl-icd-libopencl1
sudo apt-get autoremove
nvidia is just one provider of libopencl1. There is also the ATI version for example. It is called ati-opencl1. The ATI OpenCL implementation will even work -- on the CPU. Install that first and aptitude will not try to install the nvidia package.
Depending on your Ubuntu version it may be that you have to install the fglrx-driver package instead (ati-opencl1 is a part of it).
Is there any intel graphics drivers for opencv on ubuntu 13.10 x64? (or another version)
I also found this link also but without answer :
https://askubuntu.com/questions/365897/how-to-install-opencv-without-nvidia-drivers

Resources