I am using Msys2 to run and compile c/nim programs, I cloned a repo that has a .nim file that I want to run but didn't have ceration packages such as nimcrypto so I used the command
nimble install nimcrypto
but got this error
$ nimble install nimcrypto
Prompt: No local packages.json found, download it from internet? [y/N]
Answer: y
Downloading Official package list
Tip: 5 messages have been suppressed, use --verbose to show them.
Error: Refresh failed
... Could not download: No SSL/TLS CA certificates found.
Where do I get these certificates from and how do I add them to nimble
downloaded nimble using this
downloaded nim using this
Nim Compiler Version 1.4.6 [Windows: amd64]
Compiled at 2021-05-03
Copyright (c) 2006-2020 by Andreas Rumpf
git hash: 09db720eff0ec9e160debab126af37b1a4df296c
active boot switches: -d:release
Manually downloaded the cert to /usr/bin from this link
and this seems to solve the issue
Related
I have set up a code-server on a remote machine and when browsing the extensions, the C/C++-Extension from Microsoft is not available.
It is also not possible to install it via the CLI:
pi#raspberrypi:~ $ code-server --install-extension ms-vscode.cpptools
Installing extensions...
Extension 'ms-vscode.cpptools' not found.
Make sure you use the full extension ID, including the publisher, e.g.: ms-dotnettools.csharp
Failed Installing Extensions: ms-vscode.cpptools
Is this extension just not available, or is it, because the server is not accessible via HTTPS (I couldn't get the certification to work)
First you have to fullfill prerequisites: https://code.visualstudio.com/docs/cpp/config-linux
Then download the extension:
https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools
-> Click on version history and choose for your linux architecture.
Install extension with: code-server --install-extension ms-vscode.cpptools-1.10.3#linux-x64.vsix
there have been some similar questions (Installing RQuantLib on Linux), but none related to the AWS RStudio environment. After trying the usual rute
install.packages('RQuantLib');
library(devtools)
install_github("eddelbuettel/rquantlib")
I get the following error (in both cases):
configure: error: Please install QuantLib before trying to build RQuantLib.
ERROR: configuration failed for package ‘RQuantLib’.
Also, all of a sudden (after upgrading R on my local machine from 3.4.4 to 3.5.0) RQuantLib stopped working also on my local Windows machine:
Error in system(full, intern = TRUE, ignore.stderr = quiet, ...) :
running command '"C:/PROGRA~1/R/R-35~1.0/bin/x64/R" --no-site-file --no- environ --no-save --no-restore --quiet CMD config CC' had status 1
After following the directions on the Github page I tried the following:
if (!require("drat")) install.packages("drat")
drat::addRepo("ghrr")
install.packages("RQuantLib", type="binary")
but got the follwoing error:
Warning in install.packages :
unable to access index for repository https://ghrr.github.io/drat/bin/windows/contrib/3.5:
cannot open URL 'https://ghrr.github.io/drat/bin/windows/contrib/3.5/PACKAGES'
Warning in install.packages :
package ‘RQuantLib’ is not available (as a binary package for R version 3.5.0)
What else could I try? The AWS problem has a higher priority, although I would really like to be able to use RQuantLib on my local machine again, so any help would be really appreciated.
A small end note: The RQuantLib library compiles succesfully on the Debian 16.04 AWS AMI, but not on the RStudio AMI.
Windows builds, just like Unix builds, require QuantLib to be present which has its challenges.
The most recent upload restores this ability, utilising a GitHub repo with a prebuilt version of QuantLib. Try installing RQuantLib 0.4.5 now on Windows; you should get a binary from CRAN as can been on the CRAN page.
I am trying to install twisted in my shared hosting and ended up with this error.
unable to execute gcc: Permission denied
error: command 'gcc' failed with exit status 1
I contacted my provider and they confirmed they cannot install it.
Is there any manual way of installing using the source file. I am able to download the package using wget.
Now I have folder with name "Twisted-17.9.0", Is there any way install using source files.
My hosted server is of Cento OS
All of the files were removed from /etc/yum.repos.d/ directory. How can I go about re-installing the default repos files that come with a fresh CentOS 7 install.
When I execute the following command "yum repolist all" I get the following result:
Loaded plugins: fastestmirror, landpacks
Loading mirror speeds from cached hostfile
repolist: 0
Thank you.
Rebuild your the default CentOS yum.repo.d folder
On a dev machine, somehow, I managed to erase my yum.repo.d contents. I wanted to rebuild the repo files back to their default. First you need to figure out what version you are using:
cat /etc/redhat-release
Then visit the correct release at : http://vault.centos.org/
navigate to the correct os/x86_64/CentOS/ directory (could be os/x86_64/CentOS/ i386/)
Download the following files to the server:
wget http://vault.centos.org/5.x/os/x86_64/CentOS/centos-release-notes-5.x-0.x86_64.rpm
wget http://vault.centos.org/5.x/os/x86_64/CentOS/centos-release-5-x.el5.centos.x86_64.rpm
Then install the two rpms:
rpm -Uivh *.rpm
Should be back to the original shipping repo files.
Credit: By jbmurphy on July 8, 2011 in Linux
Reference - http://www.jbmurphy.com/2011/07/08/rebuild-your-the-default-centos-yum-repo-d-folder/
On my system, ArchLinux x86_64, I have installed the package opam-git which was working the last time I used it.
The following command opam update fail with this message:
opam update
=-=- Updating package repositories =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] curl: code 404 while downloading https://opam.ocaml.org/1.3/urls.txt
[ERROR] Could not update repository default
In this link https://github.com/ocaml/opam-repository/issues/6231 they say:
it is 2.0.dev now
What should I do to resolve my problem?
This is a git devel version of opam, did I get this right? Current opam release is 1.2.
And it is from Arch AUR?
It looks like AUR published an inconsistent opam dev state from git.
Once the git is consistent (pull request done) file a bug report, wait for the update, and do a new opam install from AUR.
Or just rely on the current versions from ocaml.org, IMO the premier source.
BTW when encountering problems with your local .opam directory and the compiled ocaml packages: the whole stuff can be deleted and reinstalled without any side effects (provided your own source is somewhere else). This is the functional paradigm.
/Str.