Ubuntu 18.04 no tweak tool

I am trying to install myself the gnome tweak tool but it is never found!

Thanks for any help :)

Console:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package gnome-tweak-tool is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gnome-tweak-tool' has no installation candidate

Solution 1:

That's because Ubuntu 18.04 ships by default with GNOME 3.28, in which they renamed the gnome-tweak-tool to gnome-tweaks. And in the Activities Overview can be found by searching for Tweaks.

If it's not installed then you should be able to install it with:

sudo apt-get update
sudo apt-get install gnome-tweaks 

This is due to Canonical packaging it up like this in order not to confuse users too much with the naming change.

Solution 2:

Since @WinEunuuchs2Unix asked, here's the answer based on @PRATAP help:

sudo apt update;
sudo apt upgrade -y;
sudo apt install gnome-tweaks;

The upgrade part is very important because otherwise the changes from update won't get installed.