Install binutils-riscv64-linux-gnu by entering the following commands in the terminal:
sudo apt update sudo apt install binutils-riscv64-linux-gnu
Description:
GNU binary utilities, for riscv64-linux-gnu target
This package provides GNU assembler, linker and binary utilities for the riscv64-linux-gnu target. . You don't need this package unless you plan to cross-compile programs for riscv64-linux-gnu and riscv64-linux-gnu is not your native platform.
Homepage: https://www.gnu.org/software/binutils/
Version: 2.30-15ubuntu1
Section: universe/devel