How To Install beef on Ubuntu 18.04
Introduction
In this tutorial we learn how to install beef on Ubuntu 18.04.
What is beef
beef is:
Beef is an interpreter for the Brainfuck programming language.
Its main goals are to be comfortable for the user and to run most Brainfuck programs unchanged; speed is generally quite good.
Beef performs thorough error checking to make sure malformed programs are not executed; it also supports a bunch of command-line options that can be used for configuration or compatibility purposes.
If GVFS is installed, Beef can use any available backend as either output or (where it makes sense) input source. GNU readline is used for interactive input.
There are three methods to install beef 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 beef Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get update
After updating apt database, We can install beef using apt-get by running the following command:
sudo apt-get -y install beef
Install beef Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install beef using apt by running the following command:
sudo apt -y install beef
Install beef 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 beef using aptitude by running the following command:
sudo aptitude -y install beef
How To Uninstall beef on Ubuntu 18.04
To uninstall only the beef package we can use the following command:
sudo apt-get remove beef
Uninstall beef And Its Dependencies
To uninstall beef and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove beef
Remove beef Configurations and Data
To remove beef configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge beef
Remove beef configuration, data, and all of its dependencies
We can use the following command to remove beef configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge beef
References
Summary
In this tutorial we learn how to install beef package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.