how to fix broken /usr/bin/ld? [closed] - linux

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 accidentally execute the following command
sudo cp libcuda.so /usr/bin/ld
because i thought /usr/bin/ld is a directory, and I believe my /usr/bin/ld is broken now, at present I cannot use cmake anymore, does anyone know how can I fix this? thanks!
System: Ubuntu 20.04

One simple way to fix it would be to reinstall the package containing /usr/bin/ld.
sudo apt reinstall binutils

Related

Can't install vmfs-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 4 years ago.
Improve this question
I want to install vmfs-tools to read vmdk in linux.
OS is CentOs7.
I refer here
https://centos.pkgs.org/7/forensics-x86_64/vmfs-tools-0.2.5-2.el7.x86_64.rpm.html
I could install vmfs-tools-0.2.5-2.el7.x86_64.rpm in my CentOs.
But fail this command which for installing vmfs-tools.
"sudo yum --enablerepo=forensics install vmfs-tools"
This is fail message.
Please teach me if you know about this, Thank you.
Moved permanently
... Means the URL in the file.repo changed. See https://forensics.cert.org/
New direct URL to "cert" https://forensics.cert.org/centos/cert/7/x86_64/
# CentOS-CERT.repo
[cert]
name=CentOS-CERT
baseurl=https://forensics.cert.org/centos/cert/7/x86_64/
gpgcheck=0
enabled=1
Add cert.repo to /etc/yum.repos.d/ . Then you can do # yum install vmfs-tools
P.S.: The site "pkgs.org" will often show outdated information.

How to install jot command on Win10 [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 5 years ago.
Improve this question
How to install jot command on the Win10 because I use Git Bash to run a xxx.sh and show a exception as following:
jot: command not found
How can I solve this?
jot (seen here) is a BSD command.
So unless you can get it sources (usr.bin/jot/jot.c) and somehow recompile it for mingw, I don't see it available either on Linux or as an exe on Windows.
Update Nov. 2020: DimP adds in the comments:
For anyone looking for an answer on Debian etc. environments, Ubuntu has Athena-jot:
sudo apt-get update sudo apt-get install athena-jot

I get this message when trying to use the command modprode, bash: modprobe: command not found [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
How do I install modprobe? I have already installed kmod using apt-get. I'm using Debian 8. Thank you.
You should run the command modprobe as root , type :
su -
Enter your root password then run modprobe , or install and configure sudo
sudo modprobe module_name

Package installation in linux/ubuntu [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 6 years ago.
Improve this question
How do you compile and install bless hex editor or any other app without using package managers in linux(eg:aptitude,synaptic etc)?
Goto http://home.gna.org/bless/downloads.html
Download the source
Extract the tarball by running tar -xf bless-x.x.x.tar.gz & cd into the extracted dir
Install dependencies, (you need Mono >= 1.1.14 and Gtk#2 >= 2.8) visit http://www.mono-project.com/download/ for more details on the installation process
Run ./configure
Run make
Run make install

Missing ch command ubuntu [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 6 years ago.
Improve this question
I am trying to follow this question to install numba on ubuntu 16.04.
At some point I need to run this command from the terminal:
sudo ch -c "LLVM_CONFIG=/usr/bin/config-3.7 python3 setup.py build"
However the terminal says that the ch command doesn't exist.
It seems I cannot install the command by sudo apt-get install ch
How shall I fix this?
You can try using sh instead of ch.

Resources