When I install a package using raco
raco pkg install pkg-name
I get a prompt asking me to confirm if I want to install the dependencies. I hit y and after a while I get a prompt confirming if I want to install the dependencies of the dependencies.
Is there a command line option which can disable all prompting / give only one prompt?
To disable all promptings and install dependencies without asking:
raco pkg install --auto pkg-name
In the documentation for raco pkg install, --auto means:
Looks for dependencies (when uninstalled) or updates (when version requirements are unmet) via the configured package catalogs
and
does not ask for permission to install or update
Related
I created an offline repo for RHEL 8:
downloaded all needed packages with dnf download
create repodata with createrepo command
I'm able to install most of the packages in offline mode but python3 can't be installed
The error I'm receiving is:
No available modular metadata for modular package 'python36-3.6.8-2.module+el8.1.0+3334+5cb623d7.x86_64', it cannot be installed on the system
Error: No available modular metadata for modular package
What can I do to fix this?
Regards,
It seems this worked for me: https://unix.stackexchange.com/questions/567057/download-rpm-and-all-dependencies-on-rhel-centos-8
There are some packages required like: python3-createrepo_c libmodulemd
And Python module: click
It may be that you need Development Tools:
$ sudo yum groupinstall ‘Development Tools’
See https://developers.redhat.com/rhel8/hw/python
I try to install ccxt.pro via pipenv. I usually use python venv module to create virtual environment but I try to work with pipenv too.
In ccxt.pro documentation, package should be installed via pip3 over https or ssh. Via github user and password I am able to install it.
When I tried to install this library over pipenv, I receive Installation Failed error:
pipenv install git+https://github.com/kroitor/ccxt.pro.git#subdirectory=python
Installing git+https://github.com/kroitor/ccxt.pro.git#subdirectory=python…
WARNING: pipenv requires an #egg fragment for version controlled dependencies. Please
install remote dependency in the form git+https://github.com/kroitor/ccxt.pro.git#egg=<package-name>.
✘ Installation Failed
I install all dependencies from setup.py but the problem persist. Triead to apply this but it get stucked on Installing....
Questions:
How can I install ccxt.pro via pipenv?
Why am I not able to install it the same way like with pip install command?
Like npm for node, we use package.json to solve dependencies.
I tried raco pkg, it seems to be just a way to dev/pub packages instead of solving external dependencies.
As I described above, info.rkt in Racket acts like package.json in JavaScript, and raco pkg install will read the dependencies specified in info.rkt and recursively install these dependencies.
For instance, here's the Pollen project's info.rkt. You can see that it specifies txexpr which is another package as a dependency. Therefore, when you raco pkg install pollen, it will ask you if you want to install txexpr too. You can also invoke raco pkg install --auto pollen which will install dependencies automatically without asking any question.
Note that these packages are registered with https://pkg.racket-lang.org/ which is an equivalent of https://www.npmjs.com/ in JS.
You can read the documentation of info.rkt regarding package dependencies here.
We want to write a Icinga monitor to catch rpm package conflicts. e.g. from a "yum update":
--> Finished Dependency Resolution
Error: git2u-core conflicts with git-1.8.3.1-20.el7.x86_64
Is there a way to run the "Dependency Resolution" independently of the "yum update" command? Or some other way to force yum to resolve the dependencies without installing or downloading anything in case of no error?
You can try with command yum update --assumeno.
This command will download just repodata, not packages itself.
I am trying to follow the HARTL tutorial on nitrous.io, trying to install libraries I get the error....
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
When I try to enter...
apt-get install libxslt-dev libxml2-dev libsqlite3-dev
How can I run this command without root? I saw some reference to this issue here... Install libraries on nitrous.io however, I don't understand how prefixing works. I tried to run....
/home/action apt-get install libxslt-dev libxml2-dev libsqlite3-dev
But, get the error...
-bash: /home/action: Is a directory
Thank you.
If you chose the Rails box template, you can skip this. You can probably start right out on Section 1.2.3 of Chapter 1.
apt (or dpkg, in general) cannot install packages into some user-provided path; packages installed into system paths specified within them.
Link you referred to addresses configure, as it accepts --prefix argument. It have nothing to do with apt. configure usually used to build software from sources.