problem in installing ansible on CentOS-8.5.2111-x86_64 [closed] - ansible

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 months ago.
Improve this question
I need to install ansible on CentOS-8.5.2111-x86_64 but i have an error
[root#ansible3 ~]# yum install ansible
Last metadata expiration check: 0:01:56 ago on Wed 07 Dec 2022 02:42:20 PM EET.
Error:
Problem: conflicting requests
- nothing provides python3.9dist(ansible-core) needed by ansible-6.3.0-1.el8.noarch
- nothing provides (python3.9dist(ansible-core) >= 2.13.3 with python3.9dist(ansible-core) < 2.14) needed by ansible-6.3.0-1.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
the steps i have done
first installed epel release by command [yum install -y epel-release]
then install python3 by yum install python3
and then trying to install ansible by the above command and the error is attached

If you execute command python3, what Python version does the prompt return?
Higher Ansible versions require Python3.9+. CentOS 8 is usually packed w a lower python version.
You can try to install it by locating where python3.9 is actually installed on the machine, and then install it via the pip3 module.
Try:
yum install python3-pip -y
python3 -m pip install ansible
It might install a lower version of Ansible.

Related

Ubuntu apt dist-upgrade failing due to "/var/lib/dkms/nvidia-fs/2.14.12/source/dkms.conf does not exist" [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 days ago.
Improve this question
I unfortunately found out during a boot that apt had failed to setup boot for an updated kernel correctly.
When I ran sudo apt dist-upgrade I found it was broken..
I have a manually installed the latest Nvidia GPUdirect/CUDA environment because of how old the official Ubuntu packages are. Obviously the install is now causing problems.
Things I tried:
I tried to find where you could "uninstall nvidia-fs". Couldn't find it on any documentation.
I tried to re-install nvidia-fs using the cuda.run installer. The didn't work successfully.
I traced out the scripts, and found a sizable script program that was called /usr/sbin/dkms, that had a "remove" flag.
ran the following command:
sudo dkms remove -m nvidia-fs -v 2.14.12
and then sudo apt dist-upgrade.
This repaired the kernel install. On to fixing the nvidia-fs install.

What does "conda install pytorch torchvision cudatoolkit=10.2 -c pytorch" install? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I tried installing PyTorch on my system with not just the pip install pytorch -c pytorch command but with conda install pytorch torchvision cudatoolkit=10.2 -c pytorch but I see a very long command prompt running since last 2 hours giving a very large outputs.
Is the process going good? I've CUDA 10.2 installed and also tensorflow-gpu and cuDNN too.
I see these arguments being shown.
Here's the long list of commands running since past 2 hours
https://drive.google.com/file/d/1D4p9bfxNHXZfe8PCjc45OPlPZfasxk_4/view?usp=sharing
Thanks in advance.
The preferred way of installing PyTorch is through Anaconda, it has some of the common dependencies (packages) pre-installed and saves you a lot of time. Try a clean install of Conda and run:
conda install pytorch torchvision cudatoolkit=10.1 -c pytorch
The main difference between Anaconda and a vanilla Python installation would be the packages that come pre-installed and the source of those packages. Conda has it's own Python environment, own set of packages and Conda CLI (and a GUI now) to manage the environment.
The conda command can be thought of as pip, but the difference being that conda can install libraries and packages that are not only for Python.
Refer to here for more details: https://www.anaconda.com/understanding-conda-and-pip/
As for your log, I don't see anything wrong with it. Just let it do it's job.
If there is an error message I missed on there, let me know and I'll take a look.

how can i install beautiful soup in the centOS server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I just got a new hostserver from hostgator which has centOS. Now I have a webscraping program written in the python which imports from bs4 import BeautifulSoup
how can i install beautiful soup in the centOS server?
Please help
You can do it via setuptools:
easy_install beautifulsoup4
Or, if you have pip installed:
pip install beautifulsoup4
In case you are using system python, you need to run it with sudo.
Or, if you are using system python, you can install it via yum:
sudo yum install python-beautifulsoup4
If, nothing worked at this point for whatever reason, you can always download the package and install it manually, for example:
$ wget http://www.crummy.com/software/BeautifulSoup/bs4/download/4.3/beautifulsoup4-4.3.2.tar.gz
$ tar -xvf beautifulsoup4-4.3.2.tar.gz
$ cd beautifulsoup4-4.3.2
$ python setup.py install
Hope that helps.

Location of GCC binary in installing VM tools [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am trying to install VM tools in Debian linux which is having trouble finding the gcc binaries. I am trying to install the binaries, as shown in selected answer on this page:
installing vmware tools: location of GCC binary?
However, in these commands:
sudo aptitude install gcc-4.7 make linux-headers-`uname -r` -y
sudo apt-get install build-essential
sudo apt-get install gcc-4.7 linux-headers-`uname -r`
the system is asking me to insert the Official amd64 binary in the CDROM and then press enter.
My debian in running on a VM over windows. Not sure where to get this thing and fix this problem. Please advise.
Debian uses apt to install packages. (apt-get or aptitude are front-ends to the apt systems).
whenever you ask the system to install a given package, it will first need the actual package files. now apt can fetch the requested packages from a number of different places, including read-only media (like CDROMs or DVDs) or the internet (via http or ftp).
these "places" can be configured in the /etc/apt/sources.list file.
if you have installed Debian from the set of CDROMs, then your sources.list will tell apt, that it can get package files from the cdrom-drive. obviously you need to have the correct CDROM inserted in your drive.
on a virtual machine, you will find that you can use ISO-images of the files and tell your virtualization software (vmware) to make a given ISO available to the client.
however, the usual way is to add an "internet ressource" to sources.list, so you don't need to juggle with CDROM (images) and you will always get any bugfixes. obviously your machine will need to be online for this to work.
add an official online debian repository to your sources. the following uses http://http.debian.net which should automatically use a mirror that is physically close to your machine:
echo "deb http://http.debian.net/debian $(lsb_release -c | awk '{print $2}') main" | sudo tee -a /etc/apt/sources.list
then update the cache
sudo aptitude update
and install the required package(s)
sudo aptitude install build-essential

Fail to install libsqlite3-dev (rvm requirements) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I've just moved to Ubuntu 12.10 from Win7. Because Ruby development is a kind of pain on Win. But I get stuck on a first step on Ubuntu also.
First I got rvm as it described on rvm web site:
\curl -L https://get.rvm.io | bash -s
And then this
$ rvm requirements
gave me error and here is the log:
...
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libsqlite3-dev : Depends: libsqlite3-0 (= 3.7.13-1) but 3.7.15.2-1~pub1 is to be installed
E: Unable to correct problems, you have held broken packages.
I messing around with libsqlite3-dev and libsqlite3-0: re-installing, download and install via dpkg (and forcing instalation also). After one total system reinstall (desperade purge of libsqlite3-0, he-he), 7 hours, dozens web pages and zillions apt-get installs-purge-downloads I totaly don't know what to do. So I can provide any needed log output just don't know what exactly - I am very new in Linux.

Resources