How To Install binutils-or1k-elf on Ubuntu 22.04
Introduction
In this tutorial we learn how to install binutils-or1k-elf
on Ubuntu 22.04.
What is binutils-or1k-elf
binutils-or1k-elf is:
This package provides GNU assembler, linker and binary utilities for a specific hardware and operating system combination. You don’t need it unless you plan to cross-compile programs for it from another operating system.
This package targets the Open RISC 1000 processors.
There are three methods to install binutils-or1k-elf
on Ubuntu 22.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install binutils-or1k-elf Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install binutils-or1k-elf
using apt-get
by running the following command:
sudo apt-get -y install binutils-or1k-elf
Install binutils-or1k-elf Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install binutils-or1k-elf
using apt
by running the following command:
sudo apt -y install binutils-or1k-elf
Install binutils-or1k-elf Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install binutils-or1k-elf
using aptitude
by running the following command:
sudo aptitude -y install binutils-or1k-elf
How To Uninstall binutils-or1k-elf on Ubuntu 22.04
To uninstall only the binutils-or1k-elf
package we can use the following command:
sudo apt-get remove binutils-or1k-elf
Uninstall binutils-or1k-elf And Its Dependencies
To uninstall binutils-or1k-elf
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove binutils-or1k-elf
Remove binutils-or1k-elf Configurations and Data
To remove binutils-or1k-elf
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge binutils-or1k-elf
Remove binutils-or1k-elf configuration, data, and all of its dependencies
We can use the following command to remove binutils-or1k-elf
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge binutils-or1k-elf
References
Summary
In this tutorial we learn how to install binutils-or1k-elf
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.