In some situations we need to know which packages we have installed in a Debian or Ubuntu system. In that case, we can use the tool dpkg, which will give us the information we need.
Next command will give us the current packages installed with different states:
The states we can have are:
- install: The package is selected for installation.
- hold: A package marked to be on hold is not handled by dpkg, unless forced to do that with option –force-hold.
- deinstall: The package is selected for deinstallation (i.e. we want to remove all files, except configuration files).
- purge: The package is selected to be purged (i.e. we want to remove everything from system directories, even configuration files).
Continue reading List installed packages in Ubuntu
Grafana is an open source metric analytics & visualization tool which can help us to monitor the system with a nice Dashboard.
Step 1: Installing Grafana
Grafana is available in the official packages repository, however it could not be the latest version, so we’ll use the official repository on packagecloud.
First, download the GPG key of packagecloud and add it to the trusted APT keys.
$ curl https://packagecloud.io/gpg.key | sudo apt-key add -
Then, add the packagecloud repository to your APT sources.
$ sudo add-apt-repository "deb https://packagecloud.io/grafana/stable/debian/ stretch main"
Continue reading How to Monitor an Ubuntu Server with Grafana & Prometheus
screenFetch is a software for GNU/Linx which shows information related to our Hardware and our Operating System, including the logo of the Linux Distro it is being used.
This is the info screenFetch shows:
- User Name
- Host Name
- OS with Code Name
- Installed Kernel Info
- System Uptime
- List of Installed Packages
- bash Shell Version
- System Resolution
- DE (Desktop Environment)
- WM (Window Manager)
- WM Theme
- GTK Theme
- Icon Theme
- RAM Usage
Here some examples:
Continue reading Customize our Linux terminal with screenFetch (Ubuntu, Debian, CentOS, Linux Mint…)
Welcome to my new blog. It’s strange to open new blogs when there are people who say they have died, however I believe this site could be useful at least for me… to remember what I have done in the past.
Anyway, Hello World!