How To Install gdc-powerpc-linux-gnuspe on Debian 9

In this tutorial we learn how to install gdc-powerpc-linux-gnuspe on Debian 9. gdc-powerpc-linux-gnuspe is GNU D compiler (based on GCC) for the powerpcspe architecture

Introduction

In this tutorial we learn how to install gdc-powerpc-linux-gnuspe on Debian 9.

What is gdc-powerpc-linux-gnuspe

gdc-powerpc-linux-gnuspe is:

This is the GNU D compiler, which compiles D on platforms supported by the gcc compiler. It uses the gcc backend to generate optimized code.

This is a dependency package providing the default GNU D cross-compiler for the powerpcspe architecture.

There are three methods to install gdc-powerpc-linux-gnuspe on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install gdc-powerpc-linux-gnuspe Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install gdc-powerpc-linux-gnuspe using apt-get by running the following command:

sudo apt-get -y install gdc-powerpc-linux-gnuspe

Install gdc-powerpc-linux-gnuspe Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install gdc-powerpc-linux-gnuspe using apt by running the following command:

sudo apt -y install gdc-powerpc-linux-gnuspe

Install gdc-powerpc-linux-gnuspe 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install gdc-powerpc-linux-gnuspe using aptitude by running the following command:

sudo aptitude -y install gdc-powerpc-linux-gnuspe

How To Uninstall gdc-powerpc-linux-gnuspe on Debian 9

To uninstall only the gdc-powerpc-linux-gnuspe package we can use the following command:

sudo apt-get remove gdc-powerpc-linux-gnuspe

Uninstall gdc-powerpc-linux-gnuspe And Its Dependencies

To uninstall gdc-powerpc-linux-gnuspe and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove gdc-powerpc-linux-gnuspe

Remove gdc-powerpc-linux-gnuspe Configurations and Data

To remove gdc-powerpc-linux-gnuspe configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge gdc-powerpc-linux-gnuspe

Remove gdc-powerpc-linux-gnuspe configuration, data, and all of its dependencies

We can use the following command to remove gdc-powerpc-linux-gnuspe configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge gdc-powerpc-linux-gnuspe

Dependencies

gdc-powerpc-linux-gnuspe have the following dependencies:

References

Summary

In this tutorial we learn how to install gdc-powerpc-linux-gnuspe package on Debian 9 using different package management tools: apt, apt-get and aptitude.