How To Install libnuget-core-cil on Ubuntu 18.04

In this tutorial we learn how to install libnuget-core-cil on Ubuntu 18.04. libnuget-core-cil is Package manager for NuGet repos - library

Introduction

In this tutorial we learn how to install libnuget-core-cil on Ubuntu 18.04.

What is libnuget-core-cil

libnuget-core-cil is:

NuGet is the package manager for the Microsoft development platform including .NET. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central package repository used by all package authors and consumers.

This package contains the NuGet.Core library

There are three methods to install libnuget-core-cil on Ubuntu 18.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 libnuget-core-cil Using apt-get

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

sudo apt-get update

After updating apt database, We can install libnuget-core-cil using apt-get by running the following command:

sudo apt-get -y install libnuget-core-cil

Install libnuget-core-cil Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libnuget-core-cil using apt by running the following command:

sudo apt -y install libnuget-core-cil

Install libnuget-core-cil 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 libnuget-core-cil using aptitude by running the following command:

sudo aptitude -y install libnuget-core-cil

How To Uninstall libnuget-core-cil on Ubuntu 18.04

To uninstall only the libnuget-core-cil package we can use the following command:

sudo apt-get remove libnuget-core-cil

Uninstall libnuget-core-cil And Its Dependencies

To uninstall libnuget-core-cil and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libnuget-core-cil

Remove libnuget-core-cil Configurations and Data

To remove libnuget-core-cil configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libnuget-core-cil

Remove libnuget-core-cil configuration, data, and all of its dependencies

We can use the following command to remove libnuget-core-cil configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libnuget-core-cil

References

Summary

In this tutorial we learn how to install libnuget-core-cil package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.