2024-08-05

How To Install Synaptic Package Manager on Ubuntu 24.04

Install Synaptic

Open Terminal and type the following command line followed by Enter.

$ sudo apt-get install synaptic apt-xapian-index software-properties-gtk

It will install three packages "synaptic" the application, "apt-xapian-index" search functionality, and "software-properties-gtk" the repository settings.

Full article:

Tool of choice - aptitude (CLI)

For a long time I was using aptitude with great success. I can't even remember how many broken Debian and Ubuntu installations I was able to fix with aptitude. Problem resolution, dependency search, package selection, undo function (very important!), etc.

The aptitude program runs from command-line, so when a problem arises and system cannot boot into graphical mode, this is really THE BEST. And I mean that.

Tool of choice - synaptic (GUI)

Second in line is of course synaptic which runs in graphical mode. It is partially similar to aptitude, but offers greater flexibility than basic Ubuntu software management and update utilities. For me this is the SECOND BEST so far.

Yet I have never used packages recommended in the article:

  • apt-xapian-index and
  • software-properties-gtk.

This is something to look into, and a reason for this very post.

And whenever something goes really bad, there is always (you guessed it) aptitude.

2023-10-04

How To Upgrade To Debian 12 Bookworm From Debian 11 Bullseye

Recenly I wanted to upgrade one of my virtual machines from Debian 11.1 (bullseye) to Debian 12 (bookworm). But how to do that when it is not Ubuntu, which I use quite often?

Well, I have found a very informative tutorial, step by step - with almost guaranteed success ratio ;-)

See more:
https://ostechnix.com/upgrade-to-debian-12-from-debian-11/

2023-05-05

Secure Apache with Let's Encrypt on Ubuntu 22.04

TUTORIAL: How To Secure Apache with Let's Encrypt on Ubuntu 22.04

Perfect tutorial with perfect outcome! The crucial thing is indeed to have VirtualHost configured on HTTP port 80 in Apache first. With these instructions getting auto-renewable SSL certificate for a website is really easy. Big THANK YOU to the authors :)

2023-01-16

How to find files modified last month

Very interesting use of Linux date program, especially parameters to calculate start of last month. It's clever and it works!
find . -type f -name '*.php' -newermt "$(date -d "$(date +%y-%m-1) - 1 month" +%y-%m-%d)"

2022-09-21

Install Google Chrome on Ubuntu 20.04

New virtual machine and new Kubuntu installation. Good days ahead again!

I just found out that old ways of using apt-key program are replaced in new Ubuntu Linux releases by Apt directory /etc/apt/trusted.gpg.d/. It is similar to another Apt directory /etc/apt/sources.list.d/ with files describing software repositories.
Good opportunity to learn something new :)

To install official Google Chrome including automatic updates, I used following tutorial:

Install Google Chrome on Ubuntu 20.04

2021-11-10

How to restore full context menus in Windows 11

Original article:

Related blog post:

Registry files
win11_classic_context_menu.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}]
@=""

[HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32]
@=""
undo_win11_classic_context_menu.reg
Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}]

2021-02-05

Git line endings CR-LF

There is a need in some developer teams to use the same settings for line endings of text files that are checked out or commited to Git repositories.
For this there are two options in git config that can be applied:

  • core.safecrlf=false
  • core.autocrlf=input

I am using these settings with great success to achieve the ultimate goal: use Unix line endings whenever possible, even when developing on Windows machine.