How To Install tweak on Ubuntu 18.04
Introduction
In this tutorial we learn how to install tweak
on Ubuntu 18.04.
What is tweak
tweak is:
Tweak is a hex editor. It allows you to edit a file at very low level, letting you see the full and exact binary contents of the file. It can be useful for modifying binary files such as executables, editing disk or CD images, debugging programs that generate binary file formats incorrectly, and many other things.
Tweak runs under any terminal emulator using the curses library. It has customizable keybindings, but the default keybindings are similar to emacs.
There are three methods to install tweak
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 tweak Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install tweak
using apt-get
by running the following command:
sudo apt-get -y install tweak
Install tweak Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install tweak
using apt
by running the following command:
sudo apt -y install tweak
Install tweak 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 tweak
using aptitude
by running the following command:
sudo aptitude -y install tweak
How To Uninstall tweak on Ubuntu 18.04
To uninstall only the tweak
package we can use the following command:
sudo apt-get remove tweak
Uninstall tweak And Its Dependencies
To uninstall tweak
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove tweak
Remove tweak Configurations and Data
To remove tweak
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge tweak
Remove tweak configuration, data, and all of its dependencies
We can use the following command to remove tweak
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge tweak
References
Summary
In this tutorial we learn how to install tweak
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.