How To Install linuxbrew-wrapper on Ubuntu 18.04
Introduction
In this tutorial we learn how to install linuxbrew-wrapper
on Ubuntu 18.04.
What is linuxbrew-wrapper
linuxbrew-wrapper is:
Linuxbrew is a fork of Homebrew, the Mac OS package manager, for Linux.
It can be installed in your home directory and does not require root access. The same package manager can be used on both your Linux server and your Mac laptop. Installing a modern version of glibc and gcc in your home directory on an old distribution of Linux takes five minutes.
Features:
- Can install software to a home directory and so does not require sudo
- Install software not packaged by the native distribution
- Install up-to-date versions of software when the native distribution is old
- Use the same package manager to manage both your Mac and Linux machines
This package provides Linuxbrew install scripts instead of linuxbrew itself.
There are three methods to install linuxbrew-wrapper
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 linuxbrew-wrapper Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install linuxbrew-wrapper
using apt-get
by running the following command:
sudo apt-get -y install linuxbrew-wrapper
Install linuxbrew-wrapper Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install linuxbrew-wrapper
using apt
by running the following command:
sudo apt -y install linuxbrew-wrapper
Install linuxbrew-wrapper 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 linuxbrew-wrapper
using aptitude
by running the following command:
sudo aptitude -y install linuxbrew-wrapper
How To Uninstall linuxbrew-wrapper on Ubuntu 18.04
To uninstall only the linuxbrew-wrapper
package we can use the following command:
sudo apt-get remove linuxbrew-wrapper
Uninstall linuxbrew-wrapper And Its Dependencies
To uninstall linuxbrew-wrapper
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove linuxbrew-wrapper
Remove linuxbrew-wrapper Configurations and Data
To remove linuxbrew-wrapper
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge linuxbrew-wrapper
Remove linuxbrew-wrapper configuration, data, and all of its dependencies
We can use the following command to remove linuxbrew-wrapper
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge linuxbrew-wrapper
References
Summary
In this tutorial we learn how to install linuxbrew-wrapper
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.