# Ubuntu Corner

![](https://i.ytimg.com/vi/9DHUyz54flA/mqdefault.jpg)

{% hint style="info" %}
**Ubuntu X.YY**

**X-**&#x72;epresenting the **year**

**YY** representing the **month of eventual release within in that year**

{% endhint %}

{% hint style="info" %}
*The latest LTS version of Ubuntu is* **Ubuntu 24.04 LTS** *“***Noble Numbat***”*
{% endhint %}

{% hint style="info" %}

* LTS = Long Term Support
* **Released once every 2 years**, always in **April**.
* Version format: **YY.04** (e.g., 20.04, 22.04, 24.04)
  {% endhint %}

{% hint style="info" %}
Ubuntu's first release, made in **2004 October (10th month)** was **Ubuntu 4.10**
{% endhint %}

{% hint style="info" %}
Software installation

* GNOME-Software
* Synaptic Package Manager
* GDebi Package Installer
* *apt -*&#x43;ommand Line Tool
  {% endhint %}

{% hint style="success" %}

#### Install compression Library - Minizip development files

{% endhint %}

```
sudo apt-get update -y
```

```
sudo apt-get install -y libminizip-dev
```

{% hint style="success" %}

#### Anydesk wayland not supported  Issue on Ubuntu 22.04 LTS

{% endhint %}

Please go to this file using Terminal

```shell
sudo gedit /etc/gdm3/custom.conf
```

**Uncomment this line(Remove # from the line)**

<mark style="color:green;">**WaylandEnable=false**</mark>

Reboot your system:bookmark:

{% hint style="success" %}

## Ubuntu Login Loop Issue

{% endhint %}

<mark style="color:red;">**Issue:**</mark> When you try to log in to Ubuntu after starting up, you get taken right back around to the same login screen, and the process repeats indefinitely.

<mark style="color:blue;">**Solution:**</mark>

**Step 1:** Press Ctrl + Alt+F3/F4

**Step 2:** Enter Username and Password&#x20;

**Step 3:**

```bash
sudo nano /etc/gdm3/custom.conf
```

**Step 4:**

**Uncomment this line(Remove # from the line)**

<mark style="color:green;">**AutomaticLoginEnable= true**</mark>     &#x20;

<mark style="color:green;">**AutomaticLogin=user1(Computername)**</mark>

**Step 5:** Ctrl+S to save ,Ctrl+X to exit the file&#x20;

**Step 6:** reboot

<div align="left"><img src="https://img.shields.io/badge/courtesy-ITMMLP-643843" alt=""></div>

## **The command to use as a super user on Ubuntu system**

```bash
sudo nautilus
```

## &#x20;**Guest Removal Ubuntu 16.04**

```bash
 sudo mkdir /etc/lightdm/lightdm.conf.d
```

```bash
 sudo sh -c 'printf "[SeatDefaults]\nallow-guest=false\n" > /etc/lightdm/lightdm.conf.d/50-no-guest.conf'
```

`restart system` :signal\_strength:&#x20;

## How can I create launchers on my Ubuntu desktop

```bash
cd usr/share/applications/anydesk.desktop ~/Desktop
```

```bash
chmod +x ~/Desktop/anydesk.desktop
```

## Important apt Commands

| *<mark style="color:purple;">**apt**</mark>*<mark style="color:purple;">**&#x20;**</mark><mark style="color:purple;">**Command**</mark> | <mark style="color:purple;">**Function of the command**</mark> |
| --------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| apt install                                                                                                                             | Installs a package                                             |
| apt remove                                                                                                                              | Removes a package                                              |
| apt purge                                                                                                                               | Removes package with configuration                             |
| apt update                                                                                                                              | Refreshes repository index                                     |
| apt upgrade                                                                                                                             | Upgrade all upgradable packages                                |
| apt autoremove                                                                                                                          | Removes unwanted packages                                      |
| apt search                                                                                                                              | Searches for the program                                       |

## USEFUL LINUX COMMANDS :grin:&#x20;

> **system information**

| **command**       | **Description**                |
| ----------------- | ------------------------------ |
| date              | show the current date and time |
| uname -a          | show kernel information        |
| cat /proc/cpuinfo | cpu information                |
| cat /proc/meminfo | memory information             |
| man command       | show the manual for command    |

## UBUNTU SHORTCUTS :sunglasses:&#x20;

| **Shortcut** | **Usage**                                   |
| ------------ | ------------------------------------------- |
| Ctrl+C       | halts the current command                   |
| Ctrl+Z       | stops the current command                   |
| Ctrl+D       | log out of current session, similar to exit |
| Ctrl+W       | erases one word in the current line         |
| Ctrl+U       | erases the whole line                       |
| Ctrl+R       | type to bring up a recent command           |
| !!           | repeats the last command                    |
| exit         | log out of current session                  |

## How to Know if Your System Uses MBR or GPT Partitioning on  Linux

```
sudo parted -l
```

{% hint style="info" %}
&#x20;In the output, look for the line starting with **Partition Table**:

&#x20;For **MBR**, it would show **msdos**.

&#x20;For **GPT**, it would show **gpt**.
{% endhint %}

## BOOT KEY

![](/files/-MUEMliG6N-W_CrEKl7b)

![SMC](https://img.shields.io/badge/%20courtesy-KITE-120078)

## BIOS KEY

![](/files/-MUENWe4JFNb-bRD-P2_)

![SMC](https://img.shields.io/badge/%20courtesy-KITE-120078)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ksitmalappuzha.in/hastham/hastham-gateway/ubuntu-package-installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
