How to Open, Extract and Create RAR Files in Linux.

RAR files, a common compressed file format, are widely used to store and share large amounts of data efficiently. While Linux natively supports various compression formats like ZIP and TAR.

RAR is the most popular tool for creating and extracting compressed archive (.rar) files. When we download an archive file from the web, we require a rar tool to extract them.

RAR is available freely under Windows operating systems to handle compressed files, but unfortunately, the rar tool isn’t pre-installed under Linux systems.

In this article, we’ll guide you through the process of installing unrar and rar command-line tools to open, extract, uncompress, or unrar and create an archive file on a Linux system.

Table of Contents

  • Install Unrar on Linux
  • How to Extract RAR Files in Linux
  • How to List RAR Files in Linux
  • How to Check Integrity of RAR File in Linux
  • How to Install Rar in Linux
  • How to Create RAR File in Linux
  • How to Delete Files in RAR Archive
  • How to Repair RAR Files in Linux
  • How to Add Files to RAR Archive
  • How to Set Password to RAR File
  • How to Lock RAR File
  • Conclusion

Install Unrar on Linux

To work with RAR files on Linux, you’ll need the unrar tool, which allows you to extract content from RAR archives. To install unrar, open a terminal and use the default package manager specific to your Linux distribution.

For example, on Debian and Ubuntu-based distributions, you can easily install the unrar package using the apt-get or apt program as shown.

$ sudo apt-get install unrar

Or

$ sudo apt install unrar

If you are using RHEL-based distributions, you can use the dnf command or yum command to install it.

———— On Fedora Linux ————

$ sudo dnf install unrar

———— On RHEL-based Linux ————

$ sudo yum install epel-release

$ sudo yum install unrar

On other popular Linux distributions, you can install it using your default package manager as shown.$ sudo emerge -a app-arch/unrar [On Gentoo Linux] $ sudo apk add unrar [On Alpine Linux] $ sudo pacman -S unrar [On Arch Linux] $ sudo zypper install unrar [On OpenSUSE]

If your distribution does not offer an unrar package, you need to download the latest unrar/rar file and install it using the following commands.

————— On 64-bit —————

# cd /tmp # wget https://www.rarlab.com/rar/rarlinux-x64-623.tar.gz

# tar -zxvf rarlinux-x64-623.tar.gz

# cd rar

# sudo cp -v rar unrar /usr/local/bin/

————— On 32-bit —————

# cd /tmp

# wget https://www.rarlab.com/rar/rarlinux-x32-623.tar.gz

# tar -zxvf rarlinux-x32-623.tar.gz

# cd rar

# sudo cp -v rar unrar /usr/local/bin/

How to Extract RAR Files in Linux

Once you have unrar installed, you can easily open or extract the contents of a RAR file in the current working directory by using the following command with the e option.

$ unrar e tecmint.rar

Extracting RAR Files
Extracting RAR Files

To open/extract a RAR file in a specific path or destination directory, just use the e option, it will extract all the files in the specified destination directory.

$ unrar e tecmint.rar /home/tecmint/rarfiles

Extracting RAR Files to Directory
Extracting RAR Files to the Directory

To open/extract an RAR file with its original directory structure, just issue the below command with the x option, which will extract according to their folder structure see below the output of the command.

$ unrar x tecmint.rar

Extracting RAR Files with Directory Structure
Extracting RAR Files with Directory Structure

How to List RAR Files in Linux

To list the contents of an RAR file in Linux, you can use the unrar l command, which will display the list of files with their sizesdatestime, and permissions.

$ unrar l tecmint.rar

Listing Content of RAR Files
Listing Content of RAR Files

How to Check Integrity of RAR File in Linux

To check the integrity of an RAR archive file, you can use the unrar t command, which will perform a complete integrity check for each file for errors and displays the status of the file.

$ unrar t tecmint.rar

Testing RAR Files
Testing RAR Files

The unrar command is used to extract, list, or test archive files only. It has no option for creating RAR files under Linux. So, here we need to install the RAR command-line utility to create archive files.

How to Install Rar in Linux

The rar command-line utility is used to create RAR archives, you can install rar using a package manager appropriate for your Linux distribution,

$ sudo apt install rar [On Debian, Ubuntu and Mint]

$ sudo yum install rar [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]

$ sudo emerge -a app-arch/rar [On Gentoo Linux]

$ sudo apk add rar [On Alpine Linux]

$ sudo pacman -S rar [On Arch Linux]

$ sudo zypper install rar [On OpenSUSE]

How to Create RAR File in Linux

To create an archive (RAR) file in Linux, run the following command with a option, which will create an archive file for a tecmint directory.

$ rar a tecmint.rar tecmint

Creating RAR File in Linux
Creating RAR File in Linux

How to Delete Files in RAR Archive

The rar d command is used to delete files from an existing RAR archive in Linux. The d option directly modifies the existing RAR archive by removing the specified files.

$ rar d tecmint.rar randfile001 randfile002

In the above command, the randfile001 and randfile002 files will be deleted from the tecmint.rar RAR archive.

Delete Files in RAR Archive
Delete Files in the RAR Archive

How to Repair RAR Files in Linux

The rar r command is used to repair and recover data from damaged or corrupted RAR archives in Linux.

$ rar r tecmint.rar

Repair RAR Archive
Repair RAR Archive

How to Add Files to RAR Archive

To update or add files to the existing archive file, use the rar u command, which allows you to add files to an existing RAR archive or update files within the archive.

$ rar u tecmint.rar hello.py

Now, verify that the file tecmint.sql is added to the archive file.

$ rar l tecmint.rar

Add Files to RAR Archive
Add Files to the RAR Archive

How to Set Password to RAR File

This is a very interesting feature of the rar tool, which allows us to set a password to the RAR archive file using the following command.

$ rar a -p tecmint.rar

Set Password to RAR File
Set Password to RAR File

Now verify it by extracting the archive file and see whether it will prompt us to enter the password that we have set above.

$ rar x tecmint.rar

Extract Password Protected RAR File
Extract Password Protected RAR File

How to Lock RAR File

The rar k command is used to lock an existing RAR archive file, which is useful if you want to prevent further modifications to the archive.

$ rar k tecmint.rar

Lock RAR File
Lock RAR File
Conclusion

For more RAR and Unrar options and usage, run the following command it will display a list of options with their description.

$ man unrar

$ man rar

We have presented almost all of the options above for rar and unrar commands with their examples. If you feel that we’ve missed anything in this list and you would like us to add, please update us using the comment form below.

Source

How to Find Files Based on Permissions in Linux.

Are you trying to locate files with specific file permissions for different purposes, such as security auditing? Fortunately, the find command provides a handy “-perm” flag which enables users to list all the files that match the provided file permissions.

However, this blog post assumes you are already familiar with file permissions and how to check or grant them. If that’s not the case, refer to our beginner’s guide on changing file permissions.

Now that you’re prepared and have an understanding of file permissions, this guide will help you search for your desired files based on their permissions, using the well-known “find” and “ls” commands.

Find Files Based on Permissions in Linux

The syntax of the find command for locating files based on their permission is stated below:$ find [path] -type f -perm [permissions]

Here’s what each part of the syntax means:

  • [path] – It states the directory or path from where you want to begin your search. For instance, to look for the file in the root directory use “/”.
  • -type f – This option filters the search results to only include regular files, excluding other types of files.
  • -perm [permissions] – This option specifies the permission mode you intend to find. You can add Minus (-) or Slash (/) prefixes before the permission mode, or no prefix at all.

Let’s quickly review permission prefixes before delving into examples for further clarity.

  • No prefix – exact permissions.
  • Minus (-) prefix – At least specified permissions, with extras allowed.
  • Slash (/) prefix – At least any category (owner/group/others) must have specified permission bit(s).

1. Find Files That Have Specific Permissions

In this example, we will look for files in the “UbuntuMint” directory that have exactly read and write permissions for the owner only “600” by executing the command stated below.

Before executing the following command, you can run “ls -l ~/UbuntuMint” to review the permissions of files within this directory:

$ ls -l ~/UbuntuMint $ find ~/UbuntuMint -type f -perm 600

Find Files by Specific Permissions
Find Files by Specific Permissions

You can notice that the above command has returned the “file4.txt” which exactly meets the specified criteria.

2. Find Files That Have Executable Permissions

If you want to search files with executable permissions for their ownergroup, and other users, simply execute.$ find ~/UbuntuMint -type f -perm 111

Find Files with Execute Permissions
Find Files with Execute Permissions

Upon executing this command, you’ll notice files that precisely match the specified executable permissions.

3. Find Files That Have Read/Write Permissions

Before delving into this example, let’s use the “ls” command within the directory to inspect current file permissions. Here, you’ll observe two files with read and write (6) permissions for the file owner, and read permissions (4) for the group and other users.

In this scenario, the find command will enumerate multiple files with “644” permission:

$ ls -l ~/UbuntuMint

$ find ~/UbuntuMint -type f -perm 644

Find Files with Read Write Permissions
Find Files with Read Write Permissions

4. Find Files That Have Owner’s Read/Write Permissions

Let’s use the “-” minus prefix before the file permissions to list all the files that possess at least read and write permissions for the file owner.

So basically the command mentioned below will return files with permissions like “600”, 601602610620630, and so on:

$ find ~/UbuntuMint -type f -perm -600

Find Files with Owner's Read and Write Permissions
Find Files with Owner’s Read and Write Permissions

5. Find Files with Any Category Meeting Specified Permissions

Next, let’s explore the working of the slash (/) prefix before file permissions by executing the provided command. This will retrieve files within the “UbuntuMint” directory where at least one of the categories (ownergroup, or others) meets the specified permission bits.

$ find ~/UbuntuMint -type f -perm /600

Find Files with Exact Permissions
Find Files with Exact Permissions

6. Find Files That Have Symbolic Permissions

Users can opt for symbolic permissions instead of the numerical mode to specify file permissions. Execute the command below to find files with read and write permissions for the owner and read permissions for the group and others within the “UbuntuMint” directory:

$ find ~/UbuntuMint -type f -perm u=rw,g=r,o=r

This command is equivalent to the above command:

$ find ~/UbuntuMint -type f -perm u+rw,g+r,o+r

Note: Prefixes can be utilized with symbolic permissions as well.

Find Files with Symbolic Permissions
Find Files with Symbolic Permissions

Now that you have learned the usage of the find command with the “-perm” flag, let’s explore another command that combines both the “ls” and “grep” commands.

Find Files Based on Permissions Using the ‘ls’ and ‘grep’ Commands

You can even utilize the powerful combination of the ls command piped with the grep command to display all files in the current directory and subsequently filter out files that match the specified permission.

Note: The “-l” flag in the “ls” command helps in displaying detailed information about files including file permissions, ownership, size, modification time, and more.

Let’s run the command mentioned below to look for files that have read and write permissions for the file owner. Here in this command, the “^” symbol specifies that the grep command will only filter files not directories:

$ ls -l | grep “^-rw——-“

Find Files Based on Permissions
Find Files Based on Permissions

However, if you want to focus on only permissions for a specific user like file owner and don’t care about permission of other user classes, you can define the permissions for that particular user bits and employ a wildcard character for the rest, as shown below:

$ ls -l ~/UbuntuMint/ | grep “^-rw-*”

Find Files by Specifying Particular User Bits
Find Files by Specifying Particular User Bits

This command effectively identifies all files within the “~/UbuntuMint/” directory that possess read and write permissions for the file owner.

Conclusion

If you’re seeking to identify files within a directory based on specific file permissions for security audits or other purposes, this guide is your essential resource. It offered two distinct commands, accompanied by numerous examples, to assist you in pinpointing files according to their permissions.

Source

How to Uncompress a ‘.gz’ File in Linux With Gunzip Command.

File compression is a common practice in Linux, where its users shrink files and directories using tools like Gzip to free up storage space and increase their system’s performance.

This compression technique also smooths out the process of sending files across networks – fast and efficient. But here’s the twist: when you need to use or change these compressed files, you wish they could return to their original, uncompressed state.

This is where the powerful command “Gunzip” steps in. It acts like a digital magician, letting you effortlessly restore files and directories with extensions like “.gz” or “.z” to their primary state with the previous file size and format.

Quick Note: Gzip is a widely used utility employed to compress files, directories, tar archives, and even websites effectively. Think of it as a clever way to neatly pack your clothes in a suitcase before a trip – it’s all about saving space in the most efficient way possible.

Let’s dive into this article, where we’ll delve into the usage of the “gunzip” command with examples in Linux.

1. Use of the “gunzip” Command in Linux

Gunzip is a command-line utility designed for decompressing files that have been compressed using the GNU Zip (gzip) compression algorithm. It efficiently restores files with suffixes, such as, “-gz”“.gz”“.z”“.taz”“.tgz”“_z”“-z”, or “.Z” back to their initial/actual forms.

During this process, the compressed file is seamlessly replaced with its uncompressed version. While Gunzip can even compress a file or directory, it is primarily renowned for its proficiency in decompression tasks.

Let’s discuss the syntax of gunzip command.

$ gunzip [OPTION]… [FILE]…

The syntax of the “gunzip” command has two parts: Option and File.

The Option/Flag is used to change the conduct of the command whereas File is the representation of the input files that need to be decompressed. The flag or option comes with a hyphen after the “gunzip” command.

Run the 'gunzip -h' command in your terminal to view the available options of the ‘gunzip‘ command along with their explanations:

$ gunzip -h

These flags make it easy for a Linux user to perform compression and decompression in different cases.

Gunzip Command Help
Gunzip Command Help

2. Why Do We Use Gunzip?

Let’s discuss a few of the reasons why Linux users prefer the “gunzip” command for decompressing files and directories:

  • The Gzip compression is a widely used and standardized compression format, making it compatible across different systems and platforms.
  • The “gunzip” is used to decompress files that have been compressed using the gzip compression algorithm, which reduces the file size, making it more efficient for storage and data transfer.
  • The compressed files are smaller in size, which means they can be transferred over networks more quickly.
  • The compression not only saves space but also helps identify data corruption during transfer.
  • The “gunzip” command proves to be very flexible due to the variety of flags that it offers.
  • It can be integrated with many other Linux tools like tar etc, hence making it more convenient to use.
  • The “gunzip” simplicity and consistent behavior make it ideal for scripting and automation purposes. Linux users often employ it within scripts and automated workflows to efficiently manage decompression tasks.

Moving ahead, now we will discuss some examples of the gunzip command to understand its usage.

3. How to Unzip (Open) Gz File

At times when you need to unzip a single file, just execute the command provided below:

$ gunzip singleFile.gz

This will decompress the “singleFile.gz” file and restore the original file named “singleFile”. To verify if your file is decompressed, simply execute the “ls” command.

Extract Gz File Linux
Extract Gz File Linux

4. How to Extract Multiple Gzip Files

At times, you may need to decompress multiple files all at once by specifying the names of the .gz files you intend to decompress.

$ gunzip multiFile1.gz multiFile2.gz multiFile3.gz

This will decompress all three files (“multiFile1.gz”, “multiFile2.gz”, “multiFile3.gz”) and bring them to their previous corresponding decompressed states (“multiFile1”, “multiFile2”, “multiFile3”).

Extract Multiple Gz Files in Linux
Extract Multiple Gz Files in Linux

5. Force Decompress a Gz File

Sometimes, you may need to decompress a file while a decompressed file of the same name already exists in the directory. In such cases, a warning about file overwriting can arise.

To address this situation, the “gunzip” command provides the "-f" or "--force" flag, which empowers you to forcefully decompress the file with a ".gz" extension.

Note: The default behavior of the “gunzip” command is to replace the actual file. If you require to preserve/retain the actual file intact, you can combine the "-f" and "-k" flags.

For instance, to forcefully decompress the file “forceFile.gz” within a directory containing a file named “forceFile“, you can execute the mentioned command:

$ gunzip -f forceFile.gz

Force Decompress Gz File
Force Decompress Gz File

This command will effectively decompress the file “forceFile.gz” to “forceFile“, even if an existing “forceFile” file is present on your system.

6. How to Unzip a Gz File to a Directory

Until now you must have noticed that all the decompressed files resided in the same directory where their corresponding compressed files were located. This might have sparked the question:

“Can we decompress files directly into another directory or location?” The answer is yes, we can simply use the “-d” flag to decompress a file in another directory.

To do so, simply specify the path of the directory where you want to decompress the desired file, followed by the file’s name after the “-d” flag, as demonstrated below:

$ gunzip -d ~/to/Ubuntu/Mint/directory/file.gz

Unzip Gz File to Directory
Unzip Gz File to Directory

This will decompress the file “file.gz” in the “~/to/Ubuntu/Mint/directory” directory.

7. How to Unzip Gzip File While Keeping Original File

Consider a scenario where you want to send a compressed file to your friend and keep the decompressed file for yourself or vice versa. In either case, the objective is to retain both versions of the file in your system. For this purpose, the “gunzip” command offers the "-k" option.

To implement this approach, run the command stated below, which will decompress the files “originalFile1.gz” and “originalFile2.gz“, simultaneously redirecting the decompressed output to new files named “originalFile1” and “originalFile2“, all while retaining the compressed versions of the files:

$ gunzip -k originalFile1.gz originalFile2.gz

Executing this command will effectively decompress the specified files, creating new decompressed versions while retaining the original compressed files intact. To confirm the change, display all the files in the current directory.

Unzip Gzip File by Keeping Original File
Unzip Gzip File by Keeping Original File

8. How to Unzip Gzip File to Standard Output

Want to see the content of a compressed file but don’t want to decompress it? Well, no worries you can simply use the “-c” flag to view the text of the compressed file:

$ gunzip -c ubuntuMintFile.gz

This command will display the textual content of the file “ubuntuMintFile.gz”.

View Gzip File Contents
View Gzip File Contents

In the output below you can see that you get the same output by using the “-c” flag and by unzipping the file first and then using the cat command to read data from a file and display it on the console as output.

9. How to Check the Information of Gzip File

Being a Linux user, you might face a situation where you’ve compressed a file and you want to know the details about it. Ideally, you should be decompressing it before and then you might be able to get its details.

The “gunzip” command provides a “-l” flag which displays the information about the compressed file without necessitating its decompression. This information might be the size of the original file, the size of a compressed file, the name of the actual file, and the ratio of compression.

Let’s try it out by using a compressed file “ubuntuMintFile.gz”:

$ gunzip -l ubuntuMintFile.gz

This will display comprehensive information about the “ubuntuMintFile” file.

View Gzip File Info
View Gzip File Info

10. How to Decompress a Gzip File with Max Compression

There are instances when you’ll encounter a situation where the quality of the decompressed file takes precedence over the time consumed by the decompression process. In such instances, you can use the “-9” flag of the “gunzip” to achieve a higher-quality decompression, as demonstrated below:

$ gunzip -9 betterFile.gz

This command decompresses the file “betterFile.gz” in better quality but obviously will consume more time in the decompression process.

Decompress Gzip File Better
Decompress Gzip File Better

11. How to Decompress a Gzip File Faster

Likewise, you can even prefer speed over quality while uncompressing a file or directory. In this case, use the “-1” option followed by the filename that is to be decompressed.

$ gunzip -1 fasterFile.gz

This command extracts the file “fasterFile.gz” in a lesser time with a considerable speed.

Decompress Gzip File Faster
Decompress Gzip File Faster

12. How to View Gzip Decompress Process

To decompress a file while receiving detailed feedback, the “gunzip” command provides the useful “-v” flag that displays the progress and details of the decompression process.

$ gunzip -v verboseFile.gz

View Unzip Gzip File Progress
View Unzip Gzip File Progress
Conclusion

The “gunzip” command is one of the best algorithms used by Linux enthusiasts for file decompression. This guide covered various commands for decompressing files and directories using the “gunzip” utility that are compressed by the “gzip” command.

Source

14 Best Operating Systems for the Internet of Things (IoT)

An Internet of Things OS is any Operating System specifically designed to work within the constraints that are particular to IoT devices which are typically limited in memory size, processing power, capacity, and built to enable swift data transfer over the Internet.

There are several (mostly Linux-based) Operating Systems that you can use for IoT but they wouldn’t allow you to get the best out of your setup and that’s the reason why IoT-focused distros exist.

Here are the list of top Operating Systems you can use for your Internet of Things projects.

Contents:

1. Zephyr (Operating System)

2. Ubuntu Core

3. RIOT OS

4. FreeRTOS

5. Mbed OS

6. Fuchsia OS

7. Contiki-NG

8. TinyOS

9. BalenaOS

10. MicroPython

11. Windows for IoT

12. OpenWrt

13. Embedded Linux

14. Fedora IoT

Conclusion

1. Zephyr (Operating System)

Zephyr is a small, scalable, open-source, and real-time operating system (RTOS) for connected devices, that provides modularity which allows developers to optimize the system for a specific use. It supports multiple architectures and offers features like Bluetooth, LoRa, and NFC.

Zephyr is designed to be easy to use and efficient, with a small memory footprint and low power consumption. It also includes a number of features that make it well-suited for IoT devices, such as support for networking, security, and power management.

Some of the key features of Zephyr include:

  • Small memory footprint and low power consumption.
  • Support for multiple hardware architectures.
  • Connectivity support for Wi-Fi, Bluetooth, and Ethernet.
  • Security features, such as encryption and authentication.
  • Power management features, such as dynamic voltage and frequency scaling.
  • A modular design that makes it easy to add new features and drivers.

Zephyr is used in a wide variety of IoT devices, including sensors, actuators, gateways, and wearables. It is also used in some industrial and automotive applications.

2. Ubuntu Core

Ubuntu Core is a robust version of Linux’s most popular distro, Ubuntu, made particularly for large container deployments and Internet of Things devices. It was built by Canonical to use the same kernel, system software, and libraries as Ubuntu but on a much smaller scale, and it is used to power robots, gateways, digital signs, etc.

Ubuntu Core is designed to provide users with a secure embedded Linux for IoT devices. All of its aspects are verified in order to maintain immutable packages and persistent digital signatures. It is also minimal and enterprise-ready.

3. RIOT OS

RIOT is a free, friendly, and open source Operating System designed for working with IoT devices with the aim of implementing all relevant open standards that support secure, durable, and privacy-friendly IoT connections.

RIOT‘s features include a minimum RAM and ROM size of ~1.5kB and ~5kB, full support for C and C++, multi-threading, modularity, and MCU without MMU.

Here are some of the features of RIOT OS:

  • Supports a wide range of hardware platforms, including 8-bit, 16-bit, and 32-bit microcontrollers.
  • Provides a real-time kernel with guaranteed response times.
  • It boasts a minimal memory footprint, ideal for devices with limited resources.
  • Is modular, making it easy to add or remove features.
  • Provides a uniform API for accessing hardware and services.
  • It is open source, allowing for free modification and redistribution.

RIOT OS is a popular choice for developing IoT applications by a wide range of companies and organizations, including Bosch, Siemens, and the European Space Agency.

If you are looking for an OS for your IoT project, RIOT OS is a good option to consider, It is a powerful, versatile, and open-source OS that can be used to develop a wide variety of applications.

4. FreeRTOS

FreeRTOS is an open-source, real-time operating system (RTOS) for microcontrollers, which is a lightweight kernel that offers basic functionality for task management, scheduling, and synchronization.

FreeRTOS is free to use and distribute, and it is supported by a large active community and used by a wide variety of embedded systems, including industrial automation, medical devices, consumer electronics, automotive, networking, smart home devices, and Internet of Things (IoT).

Here are some of the key features of FreeRTOS:

  • It is a small and efficient kernel that takes up minimal memory and processing resources.
  • It supports multiple tasks that can run concurrently.
  • It provides a variety of scheduling algorithms to choose from.
  • It provides a variety of synchronization mechanisms to ensure that tasks do not interfere with each other.
  • It provides a variety of memory management options, including static and dynamic allocation.
  • It has been ported to over 35 microcontroller platforms.
  • It provides a variety of security features, such as secure boot and over-the-air updates.

If you are developing an embedded system, FreeRTOS is a good choice for an RTOS. It is reliable, efficient, and easy to use.

5. Mbed OS

Mbed OS is an open-source, real-time operating system (RTOS) designed for embedded systems, specifically targeting Internet of Things (IoT) devices.

Developed by Arm, one of the industry leaders in microprocessor technology, Mbed OS offers a range of features and tools that make it easier for developers to produce efficient, secure, and scalable products.

Here are some of the key features of Mbed OS:

  • A lightweight operating system that takes up minimal memory and processing resources. This makes it ideal for resource-constrained IoT devices.
  • It is designed to be efficient in terms of power consumption and performance. This is important for IoT devices that need to operate on batteries or other limited power sources.
  • Provides a variety of security features to protect IoT devices from attack. This includes secure boot, over-the-air updates, and cryptography.
  • Portable to a wide range of Arm Cortex-M microcontrollers. This makes it easy to develop IoT devices that can run on a variety of hardware platforms.
  • Has a large and active community of developers and users. This means that there is a lot of support available, and you are more likely to find solutions to problems that you encounter.

If you are developing an IoT device, Mbed OS is a good choice for an operating system, as it is lightweight, efficient, secure, and portable, and it has a large and active community of support.

6. Fuchsia OS

Fuchsia is an open-source capability, real-time operating system created for the Internet of Things devices by Google. Unlike two of Google’s much-loved products, Chrome and Android, which are based on the Linux kernel, Fuchsia OS is based on the Zircon kernel.

It ships with Node.js which enables support for JavaScript and it is expected to be able to run on AMD devices as well as on phones and tablets with the ability to run Android apps.

Want to see Fuschia in action? Check out this demo link.

7. Contiki-NG

Contiki-NG (short for Contiki Next Generation) is an open-source operating system for resource-constrained, networked, Internet of Things (IoT) devices. It serves as the successor to the older Contiki OS and offers enhanced features, stability, and performance.

Designed with tiny devices in mind, Contiki-NG provides multitasking capabilities and a built-in Internet Protocol (IP) suite, making it suitable for a wide range of IoT applications.

Here are some of the key features of Contiki-NG:

  • Supports a variety of low-power communication protocols, including 6LoWPAN, IPv6, 6TiSCH, RPL, and CoAP.
  • It provides a variety of security features, including secure boot, over-the-air updates, and cryptography.
  • Portable to a wide range of hardware platforms, including 8-bit, 16-bit, and 32-bit microcontrollers.
  • Designed in a modular way, which makes it easy to add new features and adapt it to different applications.
  • Has a large and active community of developers and users, which means that there is a lot of support available.

8. TinyOS

Tiny OS is a free and open-source BSD-based Operating System aimed at low-power wireless devices e.g. devices used in sensor networks, Personal Area Networks, universal computing, smart meters, and smart buildings.

It initially started as a project hosted on Google Code where it was writeable by only selected core developers but it has since 2013, transitioned to GitHub where it is more open to the open-source community and is averaging at least 35,000 downloads per year.

Here are some of the key features of TinyOS:

  • It is designed to be lightweight and efficient, taking up minimal memory and processing resources.
  • It is based on a component-based architecture, which makes it easy to develop and maintain applications.
  • It uses an event-driven programming model, which means that applications are event-driven and do not have to worry about managing the underlying hardware.
  • It is designed to be network-aware, making it easy to develop applications that communicate with each other over a network.
  • An open-source operating system, which means that it is free to use and modify.

9. BalenaOS

BalenaOS is a Linux-based operating system optimized for running Docker containers on embedded devices. It is based on the Yocto Project, and it uses Docker as its container runtime, which is designed to be lightweight, secure, and easy to use.

Here are some of the key features of BalenaOS:

  • Designed to be lightweight and efficient, taking up minimal memory and processing resources.
  • It uses Docker as its container runtime, which makes it easy to deploy and manage applications.
  • Includes a variety of security features, such as secure boot and over-the-air updates.
  • Provides a variety of tools and documentation to help developers get started.

BalenaOS is used by a variety of companies, including Bosch, Intel, and Samsung. It is also used by a number of open-source projects, such as Home Assistant and OpenHAB.

10. MicroPython

MicroPython is a streamlined and optimized version of the Python 3 programming language, incorporating a minimal portion of the Python standard library and designed specifically for microcontrollers and resource-restricted settings.

It is a smaller and more lightweight version of Python that is designed to run on microcontrollers and other embedded systems with limited resources. It is based on the Python programming language, but it has been stripped down to the essentials to make it more efficient and portable.

MicroPython is a good choice for developing applications for embedded systems, such as IoT devices, robotics, educational projects and prototypes..

11. Windows for IoT

Windows for IoT represents Microsoft’s endeavor to carve out a place in the burgeoning Internet of Things (IoT) landscape. Specifically tailored for IoT devices, this platform offers developers and businesses a means to create smart, interconnected solutions with a familiar Windows framework.

The platform is split mainly into two primary editions Windows 10 IoT Core and Windows 10 IoT Enterprise and can be integrated seamlessly with Azure IoT Suite, Microsoft’s cloud solution for IoT, providing an end-to-end solution for businesses.

With the massive growth of IoT, Microsoft’s Windows for IoT is positioning itself as a reliable, scalable, and efficient platform, bridging the gap between everyday devices and the power of smart, interconnected technology.

12. OpenWrt

OpenWrt is an open-source firmware project aimed at embedded devices, particularly routers. Unlike many factory-default firmware that offer limited customization and functionality.

Originating from a firmware created for the Linksys WRT54G series in 2004, OpenWrt has evolved to support a vast array of hardware from various manufacturers. Its modular design enables users to personalize their device’s functionalities by choosing from a vast collection of available packages tailored for different needs.

One standout feature of OpenWrt is its package management system that allows for easy installation of software and extensions, providing enhanced functionalities beyond the capabilities of standard firmware.

13. Embedded Linux

Embedded Linux is a term used to describe the latest generation of embedded Linux operating systems, which is based on the Ubuntu Core distribution and features a number of improvements over previous versions, including:

  • It is designed to be more lightweight and efficient, making it ideal for resource-constrained devices.
  • Built on a modular architecture, which makes it easier to customize and update the operating system.
  • Built on a secure foundation, with features such as AppArmor and Seccomp to protect devices from cyberattacks.
  • Designed to be cloud-native, making it easy to develop, deploy, and manage applications on embedded devices.

14. Fedora IoT

Fedora IoT is a variant of the Fedora operating system, tailored for IoT devices that provides a robust, secure, and open-source platform for edge computing, ensuring consistent updates and strong community support.

With its modular design, Fedora IoT simplifies device management, making it an ideal choice for developers and enterprises venturing into the Internet of Things ecosystem.

Conclusion

Choosing the right IoT operating system is crucial in ensuring the functionality, efficiency, and security of connected devices. Factors like memory constraints, required connectivity protocols, and scalability need to be considered.

Do you already use any of the above-mentioned Operating Systems for your IoT projects? Or are you familiar with recommendable ones not on the list? Drop your comments in the discussion section.

Source

96 Essential Linux Applications for Every User in 2023.

2022 was an exceptional year for numerous applications, particularly those that are both free and open source. While various Linux distributions include a set of default apps, users have the freedom to replace them with any free or paid alternatives they prefer.

Today, we bring you a list of Linux applications that have been able to make it to users’ Linux installations almost all the time despite the butt-load of other alternatives.

Simply put, any app on this list is among the most used in its category, and if you haven’t already tried it out you are probably missing out.

Linux Backup Tools

Certainly, backing up data is crucial for any system, including Linux and there are various tools available for Linux that cater to different backup needs.

1. Rsync

rsync is one of the most popular open-source command-line-based bandwidth-friendly backup tools for performing swift incremental file transfers and synchronization.

Local Backup

$ rsync -av /source/directory/ /destination/directory/

Remote Backup (using SSH)

$ rsync -av -e ssh /source/directory/ user@remote_host:/destination/directory/
Rsync Example Usage
Rsync Example Usage

2. Timeshift

Timeshift provides users with the ability to protect their system by taking incremental snapshots which can be reverted to at a different date – similar to the function of Time Machine in Mac OS and System Restore in Windows.

To install Timeshift in Linux, run:

$ sudo apt install timeshift         [On Debian, Ubuntu and Mint]
$ sudo yum install timeshift         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/timeshift  [On Gentoo Linux]
$ sudo apk add timeshift             [On Alpine Linux]
$ sudo pacman -S timeshift           [On Arch Linux]
$ sudo zypper install timeshift      [On OpenSUSE]    
Timeshift - System Restore Tool for Linux
Timeshift – System Restore Tool for Linux

Linux BitTorrent Clients

Torrent clients are widely used on Linux for downloading and sharing files over the BitTorrent protocol.

Here’s a categorization of some of the popular Linux torrent clients:

3. Deluge

Deluge is a beautiful cross-platform BitTorrent client that aims to perfect the μTorrent experience and make it available to users for free.

To install Deluge in Linux, run:

$ sudo apt install deluge         [On Debian, Ubuntu and Mint]
$ sudo yum install deluge         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/deluge  [On Gentoo Linux]
$ sudo apk add deluge             [On Alpine Linux]
$ sudo pacman -S deluge           [On Arch Linux]
$ sudo zypper install deluge      [On OpenSUSE]    
Deluge BitTorrent Client
Deluge BitTorrent Client

4. qBittorent

qBittorent is an open-source BitTorrent protocol client that aims to provide a free alternative to torrent apps like μTorrent.

To install qBittorent in Linux, run:

$ sudo apt install qbittorrent         [On Debian, Ubuntu and Mint]
$ sudo yum install qbittorrent         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/qbittorrent  [On Gentoo Linux]
$ sudo apk add qbittorrent             [On Alpine Linux]
$ sudo pacman -S qbittorrent           [On Arch Linux]
$ sudo zypper install qbittorrent      [On OpenSUSE]    
qBittorrent BitTorrent Client
qBittorrent BitTorrent Client

5. Transmission

Transmission is also a BitTorrent client with awesome functionalities and a major focus on speed and ease of use. It comes preinstalled with many Linux distros.

To install Transmission in Linux, run:

$ sudo apt install transmission         [On Debian, Ubuntu and Mint]
$ sudo yum install transmission         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/transmission  [On Gentoo Linux]
$ sudo apk add transmission             [On Alpine Linux]
$ sudo pacman -S transmission           [On Arch Linux]
$ sudo zypper install transmission      [On OpenSUSE]    
Transmission BitTorrent Client
Transmission BitTorrent Client

6. Tixati

Tixati is a distinctive Bittorrent client known for its detailed user interface, advanced bandwidth charting, and peer properties.

Free from spyware and ads, it offers a pure torrenting experience, prioritizing user privacy and efficient downloading capabilities.

To install Tixati in Linux, visit the official Tixati website to download the appropriate package for your Linux distribution (typically a .deb file for Debian/Ubuntu or a .rpm file for Fedora/RedHat) and install it.

Tixati Bittorrent Client
Tixati Bittorrent Client

Linux Cloud Storage

Cloud storage solutions have become increasingly popular as they offer a convenient way to store, access, and share data across devices and locations.

Here’s a categorization of some of the popular Linux cloud storage solutions:

7. Dropbox

The Dropbox team rebranded its cloud service earlier this year to provide an even better performance and app integration for their clients. It starts with 2GB of storage for free.

To install Dropbox in Linux, run:

$ cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf -    [On 32-Bit]
$ cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - [On 64-Bit]
$ ~/.dropbox-dist/dropboxd
Dropbox - Secure Cloud Storage
Dropbox – Secure Cloud Storage

8. Google Drive

Google Drive is Google’s cloud service solution and my guess is that it needs no introduction. Just like with Dropbox, you can sync files across all your connected devices. It starts with 15GB of storage for free and this includes Gmail, Google Photos, Maps, etc.

Google Drive - Personal Cloud Storage
Google Drive – Personal Cloud Storage

9. Mega

Mega stands out from the rest because apart from being extremely security-conscious, it gives free users 20GB to do as they wish! Its end-to-end encryption ensures that they can’t access your data, and if you forget your recovery key, you too wouldn’t be able to.

MEGA Cloud Storage
MEGA Cloud Storage

Linux Commandline Editors

10. Vim

Vim is an open-source clone of a vi text editor developed to be customizable and able to work with any type of text.

To install Vim in Linux, run:

$ sudo apt install vim         [On Debian, Ubuntu and Mint]
$ sudo yum install vim         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/vim  [On Gentoo Linux]
$ sudo apk add vim             [On Alpine Linux]
$ sudo pacman -S vim           [On Arch Linux]
$ sudo zypper install vim      [On OpenSUSE]    
Vim Text Editor
Vim Text Editor

11. Emacs

Emacs refers to a set of highly configurable text editors. The most popular variant, GNU Emacs, is written in Lisp and C to be self-documenting, extensible, and customizable.

To install Emacs in Linux, run:

$ sudo apt install emacs         [On Debian, Ubuntu and Mint]
$ sudo yum install emacs         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/emacs  [On Gentoo Linux]
$ sudo apk add emacs             [On Alpine Linux]
$ sudo pacman -S emacs           [On Arch Linux]
$ sudo zypper install emacs      [On OpenSUSE]    
Emacs Text Editor
Emacs Text Editor

12. Nano

Nano is a feature-rich CLI text editor for power users and it has the ability to work with different terminals, among other functionalities.

To install Nano in Linux, run:

$ sudo apt install nano         [On Debian, Ubuntu and Mint]
$ sudo yum install nano         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/nano  [On Gentoo Linux]
$ sudo apk add nano             [On Alpine Linux]
$ sudo pacman -S nano           [On Arch Linux]
$ sudo zypper install nano      [On OpenSUSE]    
Nano Text Editor
Nano Text Editor

Linux Download Manager

Download managers are essential tools that optimize the process of downloading files from the internet.

Here’s a categorization of some of the popular Linux download managers:

13. Aria2

Aria2 is an open-source lightweight multi-source and multi-protocol command line-based downloader with support for Metalinks, torrents, HTTP/HTTPS, SFTP, etc.

To install Aria2 in Linux, run:

$ sudo apt install aria2         [On Debian, Ubuntu and Mint]
$ sudo yum install aria2         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/aria2  [On Gentoo Linux]
$ sudo apk add aria2             [On Alpine Linux]
$ sudo pacman -S aria2           [On Arch Linux]
$ sudo zypper install aria2      [On OpenSUSE]    
Aria2 - Commandline Download Tool
Aria2 – Commandline Download Tool

14. uGet

uGet has earned its title as the #1 open-source download manager for Linux distros and it features the ability to handle any downloading task you can throw at it including using multiple connections, using queues, categories, etc.

To install uGet in Linux, run:

$ sudo apt install uget         [On Debian, Ubuntu and Mint]
$ sudo yum install uget         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/uget  [On Gentoo Linux]
$ sudo apk add uget             [On Alpine Linux]
$ sudo pacman -S uget           [On Arch Linux]
$ sudo zypper install uget      [On OpenSUSE]    
uGet - Download Manager
uGet – Download Manager

15. XDM

XDMXtreme Download Manager is an open-source downloader written in Java. Like any good download manager, it can work with queues, torrents, browsers, and it also includes a video grabber and a smart scheduler.

To install XDM in Linux, run:

$ sudo apt install xdman         [On Debian, Ubuntu and Mint]
$ sudo yum install xdman         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/xdman  [On Gentoo Linux]
$ sudo apk add xdman             [On Alpine Linux]
$ sudo pacman -S xdman           [On Arch Linux]
$ sudo zypper install xdman      [On OpenSUSE]    
Xtreme Download Manager
Xtreme Download Manager

Linux Email Clients

There’s a wide range of email clients available for managing, sending, and receiving emails. Here’s a categorization of some of the popular Linux email clients:

16. Thunderbird

Thunderbird is among the most popular email applications. It is free, open-source, customizable, feature-rich, and above all, easy to install.

To install Thunderbird in Linux, run:

$ sudo apt install thunderbird         [On Debian, Ubuntu and Mint]
$ sudo yum install thunderbird         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/thunderbird  [On Gentoo Linux]
$ sudo apk add thunderbird             [On Alpine Linux]
$ sudo pacman -S thunderbird           [On Arch Linux]
$ sudo zypper install thunderbird      [On OpenSUSE]    
Thunderbird Email Client
Thunderbird Email Client

17. Geary

Geary is an open-source email client based on WebKitGTK+. It is free, open-source, feature-rich, and adopted by the GNOME project.

To install Geary in Linux, run:

$ sudo apt install geary         [On Debian, Ubuntu and Mint]
$ sudo yum install geary         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/geary  [On Gentoo Linux]
$ sudo apk add geary             [On Alpine Linux]
$ sudo pacman -S geary           [On Arch Linux]
$ sudo zypper install geary      [On OpenSUSE]    
Geary Email Client
Geary Email Client

18. Evolution

Evolution is a free and open-source email client for managing emails, meeting schedules, reminders, and contacts.

To install Evolution in Linux, run:

$ sudo apt install evolution         [On Debian, Ubuntu and Mint]
$ sudo yum install evolution         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/evolution  [On Gentoo Linux]
$ sudo apk add evolution             [On Alpine Linux]
$ sudo pacman -S evolution           [On Arch Linux]
$ sudo zypper install evolution      [On OpenSUSE]    
Evolution Email Client
Evolution Email Client

Linux Finance Software

For Linux users, there are several finance software options available, each catering to different financial management needs.

19. GnuCash

GnuCash is a free, cross-platform, and open-source software for financial accounting tasks for personal and small to mid-size businesses.

To install GnuCash in Linux, run:

$ sudo apt install gnucash         [On Debian, Ubuntu and Mint]
$ sudo yum install gnucash         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/gnucash  [On Gentoo Linux]
$ sudo apk add gnucash             [On Alpine Linux]
$ sudo pacman -S gnucash           [On Arch Linux]
$ sudo zypper install gnucash      [On OpenSUSE]    
GnuCash - Free Accounting Software
GnuCash – Free Accounting Software

20. KMyMoney

KMyMoney is a finance management software that provides all important features found in the commercially-available, personal finance managers.

To install KMyMoney in Linux, run:

$ sudo apt install kmymoney         [On Debian, Ubuntu and Mint]
$ sudo yum install kmymoney         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/kmymoney  [On Gentoo Linux]
$ sudo apk add kmymoney             [On Alpine Linux]
$ sudo pacman -S kmymoney           [On Arch Linux]
$ sudo zypper install kmymoney      [On OpenSUSE]    
KMyMoney - Personal Finance Manager
KMyMoney – Personal Finance Manager

Linux Gaming Tools

Gaming on Linux has seen significant growth over the years, thanks to various tools and platforms that have made it easier for gamers to enjoy their favorite titles on this open-source OS.

21. Steam

Steam is a video game digital distribution service responsible for thousands of gamers having access to the several now-available games for the Open Source community and gaming issues on Linux are virtually a thing of the past. If you’re a gamer, you can’t go wrong with Steam.

To install Steam in Linux, run:

$ sudo apt install steam         [On Debian, Ubuntu and Mint]
$ sudo yum install steam         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/steam  [On Gentoo Linux]
$ sudo apk add steam             [On Alpine Linux]
$ sudo pacman -S steam           [On Arch Linux]
$ sudo zypper install steam      [On OpenSUSE]    
Steam - Video Game Service
Steam – Video Game Service

22. Lutris

Lutris is an open-source gaming platform that helps you manage, install, and optimize your games on Linux.

To install Lutris in Linux, run:

$ sudo apt install lutris         [On Debian, Ubuntu and Mint]
$ sudo yum install lutris         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/lutris  [On Gentoo Linux]
$ sudo apk add lutris             [On Alpine Linux]
$ sudo pacman -S lutris           [On Arch Linux]
$ sudo zypper install lutris      [On OpenSUSE]    
Lutris - Open Gaming Platform
Lutris – Open Gaming Platform

Linux IDE Editors

Integrated Development Environments (IDEs) and code editors are essential tools for developers, providing a comprehensive environment for coding, debugging, testing, and sometimes even deployment.

23. Eclipse IDE

Eclipse is the most widely used Java IDE containing a base workspace and an impossible-to-overemphasize configurable plug-in system for personalizing its coding environment.

Eclipse IDE Editor
Eclipse IDE Editor

24. Netbeans IDE

A fan-favorite, Netbeans enables users to easily build applications for mobile, desktop, and web platforms using Java, PHP, HTML5, JavaScript, and C/C++, among other languages.

Netbeans IDE Editor
Netbeans IDE Editor

25. Brackets

Brackets is an advanced text editor developed by Adobe to feature visual tools, preprocessor support, and a design-focused user flow for web development. In the hands of an expert, it can serve as an IDE in its own right.

To install Brackets in Linux, run:

$ sudo apt install brackets         [On Debian, Ubuntu and Mint]
$ sudo yum install brackets         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/brackets  [On Gentoo Linux]
$ sudo apk add brackets             [On Alpine Linux]
$ sudo pacman -S brackets           [On Arch Linux]
$ sudo zypper install brackets      [On OpenSUSE]    
Brackets Code Editor
Brackets Code Editor

26. Light Table

Light Table is a self-proclaimed next-generation IDE developed to offer awesome features like data value flow stats and coding collaboration.

Light Table - Code Editor
Light Table – Code Editor

27. Visual Studio Code

Visual Studio Code is a source code editor created by Microsoft to offer users the best-advanced features in a text editor including syntax highlighting, code completion, debugging, performance statistics and graphs, etc.

Visual Studio Code
Visual Studio Code

Linux Instant Messaging

Instant messaging (IM) on Linux has evolved over the years, and there are several applications and platforms available for users.

28. Pidgin

Pidgin is an open-source instant messaging app that supports virtually all chatting platforms and can have its abilities extended using extensions.

To install Pidgin in Linux, run:

$ sudo apt install pidgin         [On Debian, Ubuntu and Mint]
$ sudo yum install pidgin         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/pidgin  [On Gentoo Linux]
$ sudo apk add pidgin             [On Alpine Linux]
$ sudo pacman -S pidgin           [On Arch Linux]
$ sudo zypper install pidgin      [On OpenSUSE]    
Pidgin - Instant Messaging App
Pidgin – Instant Messaging App

29. Skype

Skype is a telecommunications application offering video calls, voice chats, and instant messaging.

To install Skype in Linux, run:

$ sudo snap install skype --classic
Skype - Telecommunications Application
Skype – Telecommunications Application

30. Empathy

Empathy is a messaging app with support for voice, video chat, text, and file transfers over multiple protocols. It also allows you to add other service accounts to it and interface with all of them through it.

To install Empathy in Linux, run:

$ sudo apt install empathy         [On Debian, Ubuntu and Mint]
$ sudo yum install empathy         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/empathy  [On Gentoo Linux]
$ sudo apk add empathy             [On Alpine Linux]
$ sudo pacman -S empathy           [On Arch Linux]
$ sudo zypper install empathy      [On OpenSUSE]    
Empathy Messaging Program
Empathy Messaging Program

Linux Antivirus Tools

Linux is generally considered more secure than some other operating systems, but it’s still important to be cautious, especially on shared or networked systems.

31. ClamAV/ClamTk

ClamAV is an open-source and cross-platform command-line antivirus app for detecting Trojans, viruses, and other malicious codes. ClamTk is its GUI front-end.

To install ClamTk in Linux, run:

$ sudo apt install clamtk         [On Debian, Ubuntu and Mint]
$ sudo yum install clamtk         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/clamtk  [On Gentoo Linux]
$ sudo apk add clamtk             [On Alpine Linux]
$ sudo pacman -S clamtk           [On Arch Linux]
$ sudo zypper install clamtk      [On OpenSUSE]    
clamtk - ClamAV (Clam Antivirus)
clamtk – ClamAV (Clam Antivirus)

Linux Desktop Environments

Linux offers a variety of desktop environments (DEs) that cater to different user preferences in terms of aesthetics, functionality, and resource consumption.

32. Cinnamon Desktop

Cinnamon is a free and open-source derivative of GNOME and it follows the traditional desktop metaphor conventions.

To install Cinnamon desktop on Ubuntu and Fedora, run.

$ sudo apt install cinnamon          [On Debian, Ubuntu and Mint]
$ sudo dnf install @cinnamon-desktop [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
Cinnamon Desktop
Cinnamon Desktop

33. Mate Desktop

The Mate Desktop Environment is a derivative and continuation of GNOME developed to offer an attractive UI on Linux using traditional metaphors.

To install Mate desktop on Ubuntu and Fedora, run.

$ sudo apt install ubuntu-mate-desktop   [On Debian, Ubuntu and Mint]
$ sudo dnf install @mate-desktop         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
Mate Desktop
Mate Desktop

34. GNOME Desktop

GNOME is a Desktop Environment comprised of several free and open-source applications and can run on any Linux distro and on most BSD derivatives.

Install Gnome desktop on UbuntuDebian and Fedora, use the following commands.

------ On Ubuntu and Linux Mint ------
$ sudo apt install tasksel
$ sudo apt update
$ sudo tasksel install ubuntu-desktop

------ On Fedora ------
$ sudo dnf group install “Fedora Workstation”
Gnome Desktop
Gnome Desktop

35. KDE Desktop

KDE is developed by the KDE community to provide users with a graphical solution for interfacing with their system and performing several computing tasks.

Install KDE desktop on UbuntuDebian and Fedora, use the following commands.

------ On Ubuntu and Linux Mint ------
$ sudo apt install tasksel
$ sudo apt update
$ sudo tasksel install kubuntu-desktop

------ On Fedora ------
$ sudo dnf -y group install "KDE Plasma Workspaces"
KDE Desktop
KDE Desktop

36. XFCE Desktop

XFCE is a lightweight desktop environment that offers simplicity, speed, and low resource usage, making it ideal for older hardware and performance-conscious users.

Install the XFCE desktop on UbuntuDebian, and Fedora, use the following commands.

$ sudo apt install xfce4                [On Debian, Ubuntu and Mint]
$ dnf install @xfce-desktop-environment [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
XFCE Desktop
XFCE Desktop

Linux Maintenance Tools

Linux maintenance tools help in optimizing, diagnosing, repairing, and monitoring your Linux systems.

37. GNOME Tweak Tool

The GNOME Tweak Tool is the most popular tool for customizing and tweaking GNOME and GNOME Shell settings.

To install the GNOME Tweak Tool on Ubuntu and Fedora, run.

$ sudo apt install gnome-tweak-tool  [On Debian, Ubuntu and Mint]
$ sudo dnf install gnome-tweak-tool  [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]

38. Stacer

Stacer is a free, open-source app for monitoring and optimizing Linux systems.

To install Stacer in Linux, run:

------ On Ubuntu and Linux Mint ------
$ sudo add-apt-repository ppa:oguzhaninan/stacer
$ sudo apt-get update
$ sudo apt-get install stacer

$ sudo apt install clamav stacer    [On Debian]
$ sudo pacman -S clamav stacer      [On Arch Linux]
$ sudo dnf install clamav stacer    [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo zypper install clamav stacer [On OpenSUSE]
$ sudo emerge -a sys-apps/stacer    [On Gentoo Linux]
$ sudo apk add stacer               [On Alpine Linux]
Stacer - Linux System Optimizer and Monitorin
Stacer – Linux System Optimizer and Monitoring

39. BleachBit

BleachBit is a free disk space cleaner that also works as a privacy manager and system optimizer.

To install BleachBit in Linux, run:

$ sudo apt install bleachbit         [On Debian, Ubuntu and Mint]
$ sudo yum install bleachbit         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/bleachbit  [On Gentoo Linux]
$ sudo apk add bleachbit             [On Alpine Linux]
$ sudo pacman -S bleachbit           [On Arch Linux]
$ sudo zypper install bleachbit      [On OpenSUSE]    
BleachBit - Clean Your System and Free Disk Space
BleachBit – Clean Your System and Free Disk Space

Linux Terminals

The terminal, often referred to as the command line or shell, is an essential tool for Linux users to interact with the operating system and execute commands.

40. GNOME Terminal

GNOME Terminal is GNOME’s default terminal emulator that comes with tabs, profiles, and a customizable user-friendly interface to execute shell commands on Linux systems.

To install GNOME Terminal in Linux, run:

$ sudo apt install gnome-terminal         [On Debian, Ubuntu and Mint]
$ sudo yum install gnome-terminal         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/gnome-terminal  [On Gentoo Linux]
$ sudo apk add gnome-terminal             [On Alpine Linux]
$ sudo pacman -S gnome-terminal           [On Arch Linux]
$ sudo zypper install gnome-terminal      [On OpenSUSE]  
GNOME Terminal
GNOME Terminal

41. Konsole

Konsole is the default terminal emulator for the KDE Plasma desktop environment that offers advanced features, multiple tabs, customizable profiles, and seamless integration with KDE applications.

To install Konsole in Linux, run:

$ sudo apt install konsole         [On Debian, Ubuntu and Mint]
$ sudo yum install konsole         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/konsole  [On Gentoo Linux]
$ sudo apk add konsole             [On Alpine Linux]
$ sudo pacman -S konsole           [On Arch Linux]
$ sudo zypper install konsole      [On OpenSUSE]  
Konsole Terminal
Konsole Terminal

42. Terminator

Terminator is a feature-rich GNOME Terminal-based terminal app built with a focus on arranging terminals, among other functions.

To install Terminator in Linux, run:

$ sudo apt install terminator         [On Debian, Ubuntu and Mint]
$ sudo yum install terminator         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/terminator  [On Gentoo Linux]
$ sudo apk add terminator             [On Alpine Linux]
$ sudo pacman -S terminator           [On Arch Linux]
$ sudo zypper install terminator      [On OpenSUSE]  
Terminator Terminal
Terminator Terminal

43. Guake

Guake is a lightweight drop-down terminal for the GNOME Desktop Environment that offers tabs, transparency, and a customizable appearance.

To install Guake in Linux, run:

$ sudo apt install guake         [On Debian, Ubuntu and Mint]
$ sudo yum install guake         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/guake  [On Gentoo Linux]
$ sudo apk add guake             [On Alpine Linux]
$ sudo pacman -S guake           [On Arch Linux]
$ sudo zypper install guake      [On OpenSUSE]  
Guake Terminal
Guake Terminal

Linux Multimedia Editors

Linux offers a variety of multimedia editors catering to different needs.

44. Ardour

Ardour is a beautiful Digital Audio Workstation (DAW) for recording, editing, and mixing audio professionally.

To install Ardour in Linux, run:

$ sudo apt install ardour         [On Debian, Ubuntu and Mint]
$ sudo yum install ardour         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/ardour  [On Gentoo Linux]
$ sudo apk add ardour             [On Alpine Linux]
$ sudo pacman -S ardour           [On Arch Linux]
$ sudo zypper install ardour      [On OpenSUSE]  
Ardour - Digital Audio Workstation
Ardour – Digital Audio Workstation

45. Audacity

Audacity is an easy-to-use cross-platform and open-source multi-track audio editor and recorder; arguably the most famous of them all.

To install Audacity in Linux, run:

$ sudo apt install audacity         [On Debian, Ubuntu and Mint]
$ sudo yum install audacity         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/audacity  [On Gentoo Linux]
$ sudo apk add audacity             [On Alpine Linux]
$ sudo pacman -S audacity           [On Arch Linux]
$ sudo zypper install audacity      [On OpenSUSE]  
Audacity - Audio Software
Audacity – Audio Software

46. Blender

Blender is the free and open-source 3D creation suite that supports the complete 3D pipeline i.e. rigging, modeling, video editing, animation, simulation, motion tracking, rendering, compositing, and 2D animation pipeline.

To install Blender in Linux, run:

$ sudo apt install blender         [On Debian, Ubuntu and Mint]
$ sudo yum install blender         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/blender  [On Gentoo Linux]
$ sudo apk add blender             [On Alpine Linux]
$ sudo pacman -S blender           [On Arch Linux]
$ sudo zypper install blender      [On OpenSUSE]  
Blender - 3D Computer Graphics Software
Blender – 3D Computer Graphics Software

47. GIMP

GIMP is the most popular open-source Photoshop alternative and it is for a reason. It features various customization options, 3rd-party plugins, and a helpful user community.

To install GIMP in Linux, run:

$ sudo apt install gimp         [On Debian, Ubuntu and Mint]
$ sudo yum install gimp         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/gimp  [On Gentoo Linux]
$ sudo apk add gimp             [On Alpine Linux]
$ sudo pacman -S gimp           [On Arch Linux]
$ sudo zypper install gimp      [On OpenSUSE]  
GIMP - Image Manipulation Program
GIMP – Image Manipulation Program

48. Krita

Krita is an open-source painting app that can also serve as an image-manipulating tool and it features a beautiful UI with reliable performance.

To install Krita in Linux, run:

$ sudo apt install krita         [On Debian, Ubuntu and Mint]
$ sudo yum install krita         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/krita  [On Gentoo Linux]
$ sudo apk add krita             [On Alpine Linux]
$ sudo pacman -S krita           [On Arch Linux]
$ sudo zypper install krita      [On OpenSUSE]  
Krita - Raster Graphics Editor
Krita – Raster Graphics Editor

49. Lightworks

Lightworks is a powerful, flexible, and beautiful tool for editing videos professionally. It comes feature-packed with hundreds of amazing effects and presets that allow it to handle any editing task that you throw at it and it has 25 years of experience to back up its claims.

To install Lightworks in Linux, open your favorite browser go to the Lightworks download page choose the appropriate package for your system (DEB or RPM), and install it.

Lightworks - Pro Video Editing Software
Lightworks – Pro Video Editing Software

50. Natron

Natron is a cross-platform open-source cross-platform application for video composition and editing as you would with Adobe After Effects.

Founded by Blackmagic Fusion to be free and portable, it offers sufficient tools for compositors to achieve high-quality results and fast rates.

To install Natron in Linux, you need to use the Snap Store by running the following command in the terminal.

$ sudo snap install natron
Natron Digital Compositor
Natron Digital Compositor

51. OpenShot

OpenShot is an award-winning free and open-source video editor known for its excellent performance and powerful capabilities.

To install OpenShot in Linux, run:

$ sudo apt install openshot         [On Debian, Ubuntu and Mint]
$ sudo yum install openshot         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/openshot  [On Gentoo Linux]
$ sudo apk add openshot             [On Alpine Linux]
$ sudo pacman -S openshot           [On Arch Linux]
$ sudo zypper install openshot      [On OpenSUSE]  
OpenShot Video Editor
OpenShot Video Editor

52. PiTiV

Pitivi is a beautiful video editor that features a beautiful code base, and an awesome community, is easy to use, and allows for hassle-free collaboration.

To install PiTiV in Linux, run:

$ sudo apt install pitivi         [On Debian, Ubuntu and Mint]
$ sudo yum install pitivi         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/pitivi  [On Gentoo Linux]
$ sudo apk add pitivi             [On Alpine Linux]
$ sudo pacman -S pitivi           [On Arch Linux]
$ sudo zypper install pitivi      [On OpenSUSE]  
Pitivi - Open Source Video Editor
Pitivi – Open Source Video Editor

53. Kdenlive

Kdenlive is a robust open-source video editor that supports multi-track editing, a wide range of video formats, and offers numerous effects and transitions.

With features like proxy editing, automatic backup, and a customizable interface, Kdenlive stands out as a comprehensive tool for video enthusiasts and professionals alike.

To install Kdenlive in Linux, run:

$ sudo apt install kdenlive         [On Debian, Ubuntu and Mint]
$ sudo yum install kdenlive         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/kdenlive  [On Gentoo Linux]
$ sudo apk add kdenlive             [On Alpine Linux]
$ sudo pacman -S kdenlive           [On Arch Linux]
$ sudo zypper install kdenlive      [On OpenSUSE]    
Kdenlive - Video Editing Freedom
Kdenlive – Video Editing Freedom

Linux Music Players

Linux Music Players encompass a diverse range of software tailored for the Linux operating system.

54. Rhythmbox

Rhythmbox possesses the ability to perform all music tasks you throw at it and has so far proved to be a reliable music player that it ships with Ubuntu.

To install Rhythmbox in Linux, run:

$ sudo apt install rhythmbox         [On Debian, Ubuntu and Mint]
$ sudo yum install rhythmbox         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/rhythmbox  [On Gentoo Linux]
$ sudo apk add rhythmbox             [On Alpine Linux]
$ sudo pacman -S rhythmbox           [On Arch Linux]
$ sudo zypper install rhythmbox      [On OpenSUSE]    
Rhythmbox Music Player
Rhythmbox Music Player

55. Lollypop

Lollypop is a beautiful, relatively new, open-source music player featuring a number of advanced options like online radio, scrubbing support, and party mode. Yet, it manages to keep everything simple and easy to manage.

To install Lollypop in Linux, run:

$ sudo apt install lollypop         [On Debian, Ubuntu and Mint]
$ sudo yum install lollypop         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/lollypop  [On Gentoo Linux]
$ sudo apk add lollypop             [On Alpine Linux]
$ sudo pacman -S lollypop           [On Arch Linux]
$ sudo zypper install lollypop      [On OpenSUSE]    
Lollypop Music Player
Lollypop Music Player

56. Amarok

Amarok is a robust music player with an intuitive UI and tons of advanced features bundled into a single unit. It also allows users to discover new music based on their genre preferences.

To install Amarok in Linux, run:

$ sudo apt install amarok         [On Debian, Ubuntu and Mint]
$ sudo yum install amarok         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/amarok  [On Gentoo Linux]
$ sudo apk add amarok             [On Alpine Linux]
$ sudo pacman -S amarok           [On Arch Linux]
$ sudo zypper install amarok      [On OpenSUSE]    
Amarok Music Player
Amarok Music Player

57. Clementine

Clementine is an Amarok-inspired music player that also features a straightforward UI, advanced control features, and the ability to let users search for and discover new music.

To install Clementine in Linux, run:

$ sudo apt install clementine         [On Debian, Ubuntu and Mint]
$ sudo yum install clementine         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/clementine  [On Gentoo Linux]
$ sudo apk add clementine             [On Alpine Linux]
$ sudo pacman -S clementine           [On Arch Linux]
$ sudo zypper install clementine      [On OpenSUSE]    
Clementine Music Player
Clementine Music Player

58. Cmus

Cmus is arguably the most efficient command-line music player, which is fast and reliable, and its functionality can be increased using extensions.

To install Cmus in Linux, run:

$ sudo apt install cmus         [On Debian, Ubuntu and Mint]
$ sudo yum install cmus         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/cmus  [On Gentoo Linux]
$ sudo apk add cmus             [On Alpine Linux]
$ sudo pacman -S cmus           [On Arch Linux]
$ sudo zypper install cmus      [On OpenSUSE]    
Cmus - Console Music Player
Cmus – Console Music Player

59. Moc

MOC (Music On Console) is a console audio player for Linux/Unix, designed to be both powerful and user-friendly.

To install Moc in Linux, run:

$ sudo apt install moc         [On Debian, Ubuntu and Mint]
$ sudo yum install moc         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/moc  [On Gentoo Linux]
$ sudo apk add moc             [On Alpine Linux]
$ sudo pacman -S moc           [On Arch Linux]
$ sudo zypper install moc      [On OpenSUSE]    
MOC - Music on Console
MOC – Music on Console

Linux Office Suites

Linux Office Suites provide a comprehensive range of productivity tools tailored to the Linux environment.

60. Calligra Suite

The Calligra Suite developed by KDE, is a versatile office and graphic design toolkit that boasts a rich array of tools, encompassing word processing, spreadsheet management, captivating presentations, intricate vector graphics creation, and comprehensive database editing.

To install Calligra Suite in Linux, run:

$ sudo apt install calligra         [On Debian, Ubuntu and Mint]
$ sudo yum install calligra         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/calligra  [On Gentoo Linux]
$ sudo apk add calligra             [On Alpine Linux]
$ sudo pacman -S calligra           [On Arch Linux]
$ sudo zypper install calligra      [On OpenSUSE]    
Calligra Suite
Calligra Suite

61. LibreOffice

LibreOffice is the most actively developed office suite in the open-source community, LibreOffice is known for its reliability and its functions can be increased using extensions.

To install LibreOffice in Linux, run:

$ sudo apt install libreoffice         [On Debian, Ubuntu and Mint]
$ sudo yum install libreoffice         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/libreoffice  [On Gentoo Linux]
$ sudo apk add libreoffice             [On Alpine Linux]
$ sudo pacman -S libreoffice           [On Arch Linux]
$ sudo zypper install libreoffice      [On OpenSUSE]    
LibreOffice Suite
LibreOffice Suite

62. WPS Office

WPS Office stands out as a streamlined, yet robust office suite that enhances productivity with tools like Writer, Presentation, Spreadsheet, and a dedicated PDF editor, ensuring optimal work efficiency and seamless document management.

To install WPS Office in Linux, visit the official WPS Office website to download the appropriate package for your Linux distribution (typically a .deb file for Debian/Ubuntu or a .rpm file for Fedora/RedHat) and install it.

WPS Office
WPS Office

Linux Screenshot Tools

Linux Screenshot Tools offer a diverse array of utilities designed to capture, annotate, and manage screen captures within the Linux environment.

63. Shutter

Shutter allows users to take screenshots of their desktops and then edit them using filters and other effects coupled with the option to upload and share them online.

To install Shutter in Linux, run:

$ sudo apt install shutter         [On Debian, Ubuntu and Mint]
$ sudo yum install shutter         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/shutter  [On Gentoo Linux]
$ sudo apk add shutter             [On Alpine Linux]
$ sudo pacman -S shutter           [On Arch Linux]
$ sudo zypper install shutter      [On OpenSUSE]    
Shutter - Screenshot Tool
Shutter – Screenshot Tool

64. Kazam

Kazam screen caster captures screen content to output a video and audio file supported by any video player with VP8/WebM and PulseAudio support.

To install Kazam in Linux, run:

$ sudo apt install kazam         [On Debian, Ubuntu and Mint]
$ sudo yum install kazam         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/kazam  [On Gentoo Linux]
$ sudo apk add kazam             [On Alpine Linux]
$ sudo pacman -S kazam           [On Arch Linux]
$ sudo zypper install kazam      [On OpenSUSE]    
Kazam Screencaster
Kazam Screencaster

65. Gnome Screenshot

Gnome Screenshot was once bundled with Gnome utilities but is now a standalone app. It can be used to take screencasts in a format that is easily shareable.

To install Gnome Screenshot in Linux, run:

$ sudo apt install gnome-screenshot         [On Debian, Ubuntu and Mint]
$ sudo yum install gnome-screenshot         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/gnome-screenshot  [On Gentoo Linux]
$ sudo apk add gnome-screenshot             [On Alpine Linux]
$ sudo pacman -S gnome-screenshot           [On Arch Linux]
$ sudo zypper install gnome-screenshot      [On OpenSUSE]    
GNOME Screenshot
GNOME Screenshot

Linux Screen Recorders

Linux Screen Recorders offers a diverse set of tools designed specifically for capturing and recording content on your Linux desktop.

66. SimpleScreenRecorder

SimpleScreenRecorder was created to be better than the screen-recording apps available at the time of its creation and has now turned into one of the most efficient and easy-to-use screen recorders for Linux distros.

To install SimpleScreenRecorder in Linux, run:

$ sudo apt install simplescreenrecorder         [On Debian, Ubuntu and Mint]
$ sudo yum install simplescreenrecorder         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/simplescreenrecorder  [On Gentoo Linux]
$ sudo apk add simplescreenrecorder             [On Alpine Linux]
$ sudo pacman -S simplescreenrecorder           [On Arch Linux]
$ sudo zypper install simplescreenrecorder      [On OpenSUSE]    
SimpleScreenRecorder
SimpleScreenRecorder

67. recordMyDesktop

recordMyDesktop is an open-source session recorder that is also capable of recording desktop session audio.

To install recordMyDesktop in Linux, run:

$ sudo apt install recordmydesktop         [On Debian, Ubuntu and Mint]
$ sudo yum install recordmydesktop         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/recordmydesktop  [On Gentoo Linux]
$ sudo apk add recordmydesktop             [On Alpine Linux]
$ sudo pacman -S recordmydesktop           [On Arch Linux]
$ sudo zypper install recordmydesktop      [On OpenSUSE]    
recordMyDesktop
recordMyDesktop

68. Kooha – Screen Recorder

Kooha is a straightforward screen recording tool designed with an uncluttered interface. With Kooha, recording is a breeze, as you can initiate it with a single click, eliminating the need for extensive configurations.

Key features of Kooha include:

  • Capture microphone, desktop audio, or both simultaneously.
  • Support for various formats, including WebM, MP4, GIF, and Matroska.
  • Choose to record a specific monitor, window, or a defined screen area.
  • Multiple source selection options for added flexibility.
  • Configure saving locations, pointer visibility, frame rate, and delay settings.
  • Experimental support for hardware-accelerated encoding, enhancing performance.
Kooha - Screen Recorder
Kooha – Screen Recorder

To install Kooha in Linux, run:

$ git clone https://github.com/SeaDve/Kooha.git
$ cd Kooha
$ meson _build --prefix=/usr/local
$ ninja -C _build install  

Linux Text Editors

69. Notepad++

Notepad++ is a versatile text and source code editor that supports multiple programming languages, offers syntax highlighting, and boasts a plugin system for extended functionality, making it a favorite among developers.

To install Notepad++ in Linux, run:

$ sudo snap install notepad-plus-plus
Notepad++
Notepad++

70. Sublime Text

Sublime Text is easily among the most awesome text editors to date. It is customizable, lightweight (even when bulldozed with a lot of data files and extensions), flexible, and remains free to use forever.

To install Sublime Text in Linux, run:

$ sudo apt install sublime-text         [On Debian, Ubuntu and Mint]
$ sudo yum install sublime-text         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/sublime-text  [On Gentoo Linux]
$ sudo apk add sublime-text             [On Alpine Linux]
$ sudo pacman -S sublime-text           [On Arch Linux]
$ sudo zypper install sublime-text      [On OpenSUSE]    
Sublime Text
Sublime Text

71. Geany

Geany is a memory-friendly text editor with basic IDE features designed to exhibit shot load times and extensible functions using libraries.

To install Geany in Linux, run:

$ sudo apt install geany         [On Debian, Ubuntu and Mint]
$ sudo yum install geany         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/geany  [On Gentoo Linux]
$ sudo apk add geany             [On Alpine Linux]
$ sudo pacman -S geany           [On Arch Linux]
$ sudo zypper install geany      [On OpenSUSE]    
Geany Text Editor
Geany Text Editor

72. Gedit

Gedit is famous for its simplicity and it comes preinstalled with many Linux distros because of its function as an excellent general-purpose text editor.

To install Gedit in Linux, run:

$ sudo apt install gedit         [On Debian, Ubuntu and Mint]
$ sudo yum install gedit         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/gedit  [On Gentoo Linux]
$ sudo apk add gedit             [On Alpine Linux]
$ sudo pacman -S gedit           [On Arch Linux]
$ sudo zypper install gedit      [On OpenSUSE]    
Gedit Text Editor
Gedit Text Editor

Linux To-Do List Apps

Linux To-Do List Apps are specialized software tools designed for the Linux operating system to help users manage, organize, and prioritize their tasks and daily activities.

73. Evernote

Evernote is a cloud-based note-taking productivity app designed to work perfectly with different types of notes including to-do lists and reminders.

There is no official Evernote app for Linux, so check out another third party 6 Evernote Alternative Clients for Linux.

Evernote - Best Note Taking App
Evernote – Best Note-Taking App

74. Everdo

Everdo is a beautiful, security-conscious, low-friction Getting-Things-Done app productivity app for handling to-dos and other note types.

If Evernote comes off to you in an unpleasant way, Everdo is a perfect alternative.

To install Everdo in Linux, download the Everdo AppImage, make the file executable, and run it as shown.

$ chmod +x Everdo*.AppImage
$ ./Everdo*.AppImage
Everdo - Best GTD App
Everdo – Best GTD App

75. Org Mode

Org Mode is a GNU Emacs major mode for convenient plain-text markup and other tasks such as keeping notes, planning projects, authoring documents, maintaining to-do lists, etc., in a fast and effective plain-text system.

Org is bundled with GNU Emacs distributions, so most users can simply activate it without needing a separate installation and start exploring its features.

Org Mode for Emacs
Org Mode for Emacs

76. Taskwarrior

Taskwarrior is an open-source and cross-platform command-line app for managing tasks. It is famous for its speed and distraction-free environment.

To install Taskwarrior in Linux, run:

$ sudo apt install taskwarrior         [On Debian, Ubuntu and Mint]
$ sudo yum install taskwarrior         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/taskwarrior  [On Gentoo Linux]
$ sudo apk add taskwarrior             [On Alpine Linux]
$ sudo pacman -S taskwarrior           [On Arch Linux]
$ sudo zypper install taskwarrior      [On OpenSUSE]    
Taskwarrior - Task Management Tool
Taskwarrior – Task Management Tool

77. Obsidian

Obsidian is a powerful note-taking software that emphasizes linking thoughts and building a knowledge base. Its unique graph view visualizes connections, while its markdown support ensures flexibility and longevity for your notes.

To install Obsidian in Linux, download the Obsidian AppImage, make the file executable, and run it as shown.

$ chmod +x Obsidian*.AppImage
$ ./Obsidian*.AppImage
Obsidian - Note-Taking Software
Obsidian – Note-Taking Software

Linux Video Players

Video Players are software applications designed to play multimedia content, primarily focusing on video files and streams.

78. Banshee

Banshee is an open-source multi-format-supporting media player that was first developed in 2005 and has only been getting better since.

To install Banshee in Linux, run:

$ sudo apt install banshee         [On Debian, Ubuntu and Mint]
$ sudo yum install banshee         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/banshee  [On Gentoo Linux]
$ sudo apk add banshee             [On Alpine Linux]
$ sudo pacman -S banshee           [On Arch Linux]
$ sudo zypper install banshee      [On OpenSUSE]    
Banshee Media Player
Banshee Media Player

79. VLC

VLC is my favorite video player and it’s so awesome that it can play almost any audio and video format you throw at it. You can also use it to play internet radio, record desktop sessions, and stream movies online.

To install VLC in Linux, run:

$ sudo apt install vlc         [On Debian, Ubuntu and Mint]
$ sudo yum install vlc         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/vlc  [On Gentoo Linux]
$ sudo apk add vlc             [On Alpine Linux]
$ sudo pacman -S vlc           [On Arch Linux]
$ sudo zypper install vlc      [On OpenSUSE]    
VLC Media Player
VLC Media Player

80. Kodi

Kodi is among the world’s most famous media players and it comes as a full-fledged media center app for playing all things media whether locally or remotely.

Install Kodi on Ubuntu and Debian, using the following commands.

$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:team-xbmc/ppa
$ sudo apt-get update
$ sudo apt-get install kodi
Kodi Media Player
Kodi Media Player

81. SMPlayer

SMPlayer is a GUI for the award-winning MPlayer and it is capable of handling all popular media formats; coupled with the ability to stream from YouTube, Chromecast, and download subtitles.

Install SMPlayer on Ubuntu and Debian, using the following commands.

$ sudo add-apt-repository ppa:rvm/smplayer
$ sudo apt-get update
$ sudo apt-get install smplayer
SMPlayer - Free Media Player
SMPlayer – Free Media Player

Linux Virtualization Tools

Linux Virtualization Tools are specialized software solutions designed for the Linux ecosystem to create, manage, and run virtual machines (VMs) on a host system.

82. Qemu

Qemu is a generic, free, and open-source machine virtualizer and emulator that is capable of running any Operating System on any architecture that it supports.

It runs Xen and KVM virtual machines with near-native performance and enables users to run programs for another Linux/BSD on their machine.

QEMU is packaged by most Linux distributions:

$ sudo apt install qemu-system           [On Debian, Ubuntu and Mint]
$ sudo dnf install @virtualization       [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge --ask app-emulation/qemu   [On Gentoo Linux]
$ sudo zypper install qemu               [On OpenSUSE]    
$ sudo pacman -S qemu                    [On Arch Linux]
QEMU (Quick Emulator)
QEMU (Quick Emulator)

83. VirtualBox

VirtualBox is an open-source app created for general-purpose OS virtualization and it can be run on servers, desktops, and embedded systems.

To install VirtualBox in Linux, run:

$ sudo apt install virtualbox         [On Debian, Ubuntu and Mint]
$ sudo yum install virtualbox         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/virtualbox  [On Gentoo Linux]
$ sudo apk add virtualbox             [On Alpine Linux]
$ sudo pacman -S virtualbox           [On Arch Linux]
$ sudo zypper install virtualbox      [On OpenSUSE]    
VirtualBox
VirtualBox

84. VMWare

VMware is a digital workspace that provides platform virtualization and cloud computing services to customers and is reportedly the first to successfully virtualize x86 architecture systems. One of its products, VMware workstations allows users to run multiple OSes in virtual memory.

To install VMWare in Linux, download the VMware Workstation Player (.bundle) file, make the file executable, and run it as shown.

$ chmod +x VMware-Workstation-Player-*.bundle
$ sudo ./VMware-Workstation-Player-*.bundle
VMWare Workstation
VMWare Workstation

Linux Web Browsers

Linux Web Browsers are software applications tailored for the Linux operating system to access and navigate the World Wide Web.

85. Chrome

Google Chrome is undoubtedly the most popular browser. Known for its speed, simplicity, security, and beauty following Google’s Material Design trend, Chrome is a browser that web developers cannot do without. It is also free to use and open source.

Install Google Chrome on Ubuntu and Debian, using the following commands.

$ wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
$ sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
$ sudo apt-get update
$ sudo apt-get install google-chrome-stable
Google Chrome Browser
Google Chrome Browser

86. Firefox

Firefox Quantum is a beautiful, speedy, task-ready, and customizable browser capable of any browsing task that you throw at it. It is also free, open-source, and packed with developer-friendly tools that are easy for even beginners to get up and running with.

To install Firefox in Linux, run:

$ sudo apt install firefox         [On Debian, Ubuntu and Mint]
$ sudo yum install firefox         [On RHEL/CentOS/Fedora and Rocky/AlmaLinux]
$ sudo emerge -a sys-apps/firefox  [On Gentoo Linux]
$ sudo apk add firefox             [On Alpine Linux]
$ sudo pacman -S firefox           [On Arch Linux]
$ sudo zypper install firefox      [On OpenSUSE]    
Firefox Chrome Browser
Firefox Chrome Browser

87. Vivaldi

Vivaldi is a free and open-source Chrome-based project that aims to perfect Chrome’s features with a couple of more feature additions. It is known for its colorful panels, memory-friendly performance, and flexibility.

To install Vivaldi in Linux, visit the official Vivaldi website and download the RPM or DEB package suitable for your system, and install it as shown.

$ sudo dnf install ./vivaldi-stable-*.rpm
OR
$ sudo dnf install ./vivaldi-stable-*.deb
Vivaldi Chrome Browser
Vivaldi Chrome Browser

88. Opera

Opera is a versatile and innovative web browser known for its speed, security, and unique features. Originating in Norway, it introduced innovations like built-in ad blocking and free VPN.

Opera emphasizes user-friendly design, and its mobile versions, like Opera Mini, optimize browsing for slower connections.

To install Opera in Linux, visit the official Opera website and download the RPM or DEB package suitable for your system, and install it as shown.

$ sudo dnf install ./opera-stable-*.rpm
OR
$ sudo dnf install ./opera-stable-*.deb
Opera Web Browser
Opera Web Browser

Linux Media Servers

Linux media servers are specialized software solutions designed to store, manage, and stream multimedia content such as videos, music, photos, and more.

89. Plex

Plex is a free and open-source media server software that can stream your personal media library to any device.

To install Plex in Linux, visit the official Plex website download the RPM or DEB package suitable for your system, and install it as shown.

$ sudo dnf install ./plexmediaserver-*.rpm
OR
$ sudo dnf install ./plexmediaserver-*.deb
Plex Media Server
Plex Media Server

90. Emby

Emby is a versatile media solution that organizes and streams multimedia content. It offers a rich interface, live TV support, and mobile sync.

Emby ensures personalized experiences with user profiles and parental controls, bridging the gap between online content and personal media collections seamlessly.

To install Emby in Linux, visit the official Emby website download the RPM or DEB package suitable for your system, and install it as shown.

$ sudo dnf install ./emby-server-*.rpm
OR
$ sudo dnf install ./emby-server-*.deb
Emby Media Server
Emby Media Server

91. Jellyfin

Jellyfin is an open-source alternative to proprietary media servers that allows users to organize, manage, and stream their multimedia collections.

Being community-driven, it ensures data privacy, offering a customizable interface and plugins. It’s a go-to for those seeking a free, transparent, and adaptable home entertainment solution.

To install Jellyfin in Linux, you can use Flatpak or Snap packages as shown.

$ flatpak install flathub com.github.iwalton3.jellyfin-media-player
$ flatpak run com.github.iwalton3.jellyfin-media-player
Or
$ snap install jellyfin
Jellyfin Media System
Jellyfin Media System

Miscellaneous Software

Explore a diverse selection of Linux tools and applications, spanning various categories and purposes.

92. Synergy (Mouse and Keyboard Sharing)

Synergy is ideal for computer users who enjoy using more than one screen. It’s neither open-source nor is it a free app but it is the best app in its category available for Linux as far as I know so you might want to check it out.

Synergy - Share one mouse & keyboard across computers
Synergy – Share one mouse & keyboard across computers

93. ODrive (Google Drive Client)

ODrive combines your cloud storage services into one shareable encrypted account that you can access with a single password. Changes are synced across all accounts automatically and you can share files with anyone using web links.

ODrive - Google Drive GUI
ODrive – Google Drive GUI

94. FreeCAD (3D Modelling & Design)

FreeCAD is a full-featured open-source OpenCasCade-based mechanical engineering and product design tool that is customizable and can have its functionality extended with the use of plugins.

FreeCAD - 3D Parametric Modeler
FreeCAD – 3D Parametric Modeler

95. Exaile Music Player

Exaile offers a music player featuring an intuitive interface and robust music management functions. Enjoy automatic album art and lyrics retrieval, internet radio streaming, tabbed playlists, smart playlists with advanced filtering, and more.

Exaile - Music Player
Exaile – Music Player

96. GitBook Editor

GitBook Editor is a well-designed free, open-source, and cross-platform desktop client developed for GitBook by GitHub. Try it out if you intend on using version control when you write your next publication.

GitBook Editor
GitBook Editor
Conclusion

That concludes our list for today. Did I skip a famous title? Tell me about it in the comments section below.

Source

6 Best Modern Linux ‘init’ Systems (1992-2023).

In Linux and other Unix-like operating systems, the init (initialization) process is the first process executed by the kernel at boot time, which has a process ID (PID) of 1, that is executed in the background until the system is shut down.

The init process starts all other Linux processes, that is daemons, services, and other background processes, therefore, it is the mother of all other processes on the system.

A process can start many other child processes on the system, but if a parent process dies, init becomes the parent of the orphan process.

Linux init Systems (1992-2015)
Linux init Systems (1992-2015)

Over the years, many init systems have emerged in major Linux distributions and in this guide, we shall take a look at some of the best init systems you can work with on the Linux operating system.

1. System V Init

System V (SysV) is a mature and popular init scheme on Unix-like operating systems, it is the parent of all processes on a Unix/Linux system. SysV is the first commercial Unix operating system designed.

Almost all Linux distributions first used the SysV init scheme except Gentoo which has a custom init and Slackware which uses the BSD-style init scheme.

As years have passed by, due to some imperfections, several SysV init replacements have been developed in the quest to create more efficient and perfect init systems for Linux.

Although these alternatives seek to improve SysV and probably offer new features, they are still compatible with original SysV init scripts.

2. SystemD

SystemD is a relatively new init scheme on the Linux platform. Introduced in Fedora 15, it is an assortment of tools for easy system management. The main purpose is to initialize, manage, and keep track of all system processes in the boot process and while the system is running.

Systemd init is comprehensively distinct from other traditional Unix init systems, in the way it practically approaches system and services management. It is also compatible with SysV and LBS init scripts.

It has some of the following eminent features:

  • Clean, straightforward, and efficient design
  • Concurrent and parallel processing at bootup
  • Better APIv
  • Enables removal of optional processes
  • Supports event logging using journald
  • Supports job scheduling using systemd calendar timers
  • Storage of logs in binary files
  • Preservation of systemd state for future reference
  • Better integration with GNOME plus many more

3. Upstart

Upstart is an event-based init system developed by the makers of Ubuntu as a replacement for the SysV init system. It starts different system tasks and processes, inspects them while the system is running, and stops them during system shutdown.

It is a hybrid init system that uses both SysV startup scripts and Systemd scripts, some of the notable features of the Upstart init system include:

  • Originally developed for Ubuntu Linux but can run on all other distributions
  • Event-based starting and stopping of tasks and services
  • Events are generated during the starting and stopping of tasks and services
  • Events can be sent by other system processes
  • Communication with the init process through D-Bus
  • Users can start and stop their processes
  • Re-spawning of services that die abruptly and many more

4. OpenRC

OpenRC is a dependency-based init scheme for Unix-like operating systems, it is compatible with SysV init. As much as it brings some improvements to Sys V, you must keep in mind that OpenRC is not an absolute replacement for the /sbin/init file.

It offers some illustrious features including:

  • It can run on other many Linux distributions including Gentoo and also on BSD
  • Supports hardware-initiated init scripts
  • Supports a single configuration file
  • No per-service configurations supported
  • Runs as a daemon
  • Parallel services startup and many more

5. runit

runit is also a cross-platform init system that can run on GNU/Linux, Solaris, *BSD, and Mac OS X and it is an alternative to SysV init, which offers service supervision.

It comes with some benefits and remarkable components not found in SysV init and possibly other init systems in Linux and these include:

  • Service supervision, where each service is associated with a service directory
  • A clean process state guarantees each process a clean state
  • It has a reliable logging facility
  • Fast system boot-up and shutdown
  • It is also portable
  • Packaging friendly
  • Small code size and many more

6. s6

s6 offers a compact set of tools for UNIX, tailored for process supervision, similar to daemontools and runit. It facilitates operations on processes and daemons.

Designed as a low-level service administration toolkit, s6 provides diverse tools that can function independently or within its framework. These tools, when combined, deliver robust functionality with minimal code.

As I had earlier mentioned, the init system starts and manages all other processes on a Linux system. Additionally, SysV is the primary init scheme on Linux operating systems, but due to some performance weaknesses, system programmers have developed several replacements for it.

Here, we looked at a few of those replacements, but there could be other init systems that you think are worth mentioning.

Source.

Kubernetes Cheatsheet: Essential Commands and Concepts for Efficient Container Orchestration

Kubernetes Cheatsheet

Kubernetes Basics:

  • kubectl version: Check the Kubernetes client and server versions.
  • kubectl cluster-info: View cluster details.
  • kubectl get pods: List all pods in the current namespace.
  • kubectl get nodes: List all nodes in the cluster.
  • kubectl describe pod [pod-name]: Get detailed information about a pod.

Creating and Managing Resources:

  • kubectl create -f [yaml-file]: Create a resource from a YAML file.
  • kubectl apply -f [yaml-file]: Apply changes to a resource.
  • kubectl delete [resource-type] [resource-name]: Delete a resource.
  • kubectl edit [resource-type] [resource-name]: Edit a resource in the default text editor.
  • kubectl get [resource-type]: List resources of a specific type.
  • kubectl logs [pod-name]: View logs of a pod.

Scaling:

  • kubectl scale deployment [deployment-name] –replicas=[num-replicas]: Scale a deployment.
  • kubectl autoscale deployment [deployment-name] –min=[min-replicas] –max=[max-replicas]: Autoscale a deployment.

Networking:

  • kubectl expose [resource-type] [resource-name] –port=[port] –target-port=[target-port] –type=[service-type]:Expose a resource as a service.
  • kubectl get svc: List services.
  • kubectl port-forward [pod-name] [local-port]:[pod-port]: Forward ports from a local machine to a pod.

Configuration:

  • kubectl config view: View the current configuration.
  • kubectl config use-context [context-name]: Set the current context.

Pods:

  • kubectl exec -it [pod-name] — [command]: Execute a command in a pod.
  • kubectl run [pod-name] –image=[image-name]: Create a new pod running a specific image.

Namespaces:

  • kubectl create namespace [namespace-name]: Create a new namespace.
  • kubectl get namespaces: List namespaces.
  • kubectl config set-context –current –namespace=[namespace-name]: Set the default namespace.

Secrets and ConfigMaps:

  • kubectl create secret generic [secret-name] –from-literal=[key]=[value]: Create a secret.
  • kubectl create configmap [configmap-name] –from-literal=[key]=[value]: Create a ConfigMap.
  • kubectl describe secret [secret-name]: View secret details.
  • kubectl describe configmap [configmap-name]: View ConfigMap details.

Storage:

  • kubectl get pv: List persistent volumes.
  • kubectl get pvc: List persistent volume claims.

Advanced Troubleshooting:

  • kubectl describe [resource-type] [resource-name]: Get detailed information about a resource.
  • kubectl top [resource-type] [resource-name]: Display resource usage statistics.

Remember to replace placeholders like [resource-type], [resource-name], [pod-name], etc., with your actual resource and object names.

This cheatsheet should help you get started with Kubernetes and serve as a handy reference as you work with containers and orchestration in Kubernetes.

How to Check CPU Cores in Ubuntu.

Understanding the number of CPUs on your Ubuntu system is essential for a variety of tasks, including performance optimization, troubleshooting, and knowledge of system capabilities.

This article will examine several techniques for determining Ubuntu’s CPU count without the use of any external programs. To accommodate various user preferences, we will put a priority on command-line strategies and graphical user interface (GUI) tools.

Using the terminal is one of the simplest ways to check the number of CPUs in your Ubuntu system using various commands.

1. lscpu Command – Show CPU Architecture Information

The lscpu utility in Ubuntu is a useful command that offers comprehensive data on the CPU (Central Processing Unit) structure and its functionalities.

Users can acquire vital information like the number of CPUs or cores, CPU vendor details, cache dimensions, clock rates, and other essential details.

By employing the lscpu command, Ubuntu users can obtain valuable knowledge regarding their system’s CPU setup and utilize this information for diverse objectives such as system enhancement, performance assessment, and problem-solving.

You can install the lscpu tool with the help of the following command:

$ sudo apt-get install util-linux
$ lscpu
Ubuntu CPU Architecture Information
Ubuntu CPU Architecture Information

Look for the “CPU(s)” field to identify the number of CPUs.

2. cat /proc/cpuinfo – Show CPU Processor Info

The cat /proc/cpuinfo command is another way to retrieve detailed information about the CPU(s) on a Ubuntu system. It reads the /proc/cpuinfo file, which contains information about each CPU core.

When you run this command, it displays a comprehensive list of CPU-related details, including hardware configuration, number of CPUs, cores, etc.

$ cat /proc/cpuinfo
Get Ubuntu CPU Core Information
Get Ubuntu CPU Core Information

In order to get the total number of CPUs, count the number of distinct processor fields in the output. Each processor field represents a separate CPU core.

For example, let’s say the output of the command contains the following information:

processor  : 0
vendor_id  : GenuineIntel
cpu family : 6
model  	: 158
...
processor  : 1
vendor_id  : GenuineIntel
cpu family : 6
model  	: 158
...

In this case, there are two distinct processor fields (processor 0 and processor 1), indicating that there are two CPUs or CPU cores in the system.

3. nproc Command – Show Processing Units or CPU Cores

Using the nproc command user can quickly display the number of CPUs or CPU cores present in their system. The output is simply numeric that represents the number of CPUs.

To install nproc you need the following package:

$ sudo apt install coreutils
$ nproc
Show Ubuntu CPU Cores
Show Ubuntu CPU Cores

4. Hwinfo Command – Show CPU Hardware Components

The hwinfo command in Ubuntu is a strong utility that gives thorough hardware details about your system. You may learn more about numerous components, including CPUs, RAM, discs, network interfaces, and more, in-depth.

You can access a comprehensive report with hardware-related statistics by running the hwinfo command in the terminal. Understanding the setup of your system will help you fix hardware issues and improve performance.

To install hwinfo in Ubuntu:

$ sudo apt install hwinfo

Since the hwinfo provides detailed information about hardware components the output can be quite lengthy. Therefore we will filter the output by telling hwinfo to fetch only CPU-related information and filter it using the grep command in Linux.

$ hwinfo --cpu | grep "Units/Processor"
Show CPU Related Information
Show CPU Related Information

5. getconf _NPROCESSORS_ONLN Command

You can easily find out how many CPUs or online processors are currently in use on your system with Ubuntu’s “getconf _NPROCESSORS_ONLN” command. You may get an easy-to-understand numeric output showing the number of active CPUs by typing this command into the terminal.

getconf is mostly pre-installed in Ubuntu systems but if not you can install it:

$ sudo apt install libc-bin

To get the number of CPUs:

$ getconf _NPROCESSORS_ONLN
Find Number of Ubuntu CPUs
Find Number of Ubuntu CPUs

Numerous graphical user interfaces (GUI) tools provided by Ubuntu allow users to check the number of central processing units (CPUs) in their operating system.

These utilities present a user-friendly interface for showcasing system data, encompassing CPU specifications. Presented below is a selection of well-known GUI utilities that facilitate checking CPU quantity.

6. Gnome System Monitor

An elegant graphical program called GNOME System Monitor is included in Ubuntu and offers real-time resource management. The performance of your system’s CPU, memory, network, and disc utilization may be tracked and analyzed using its user-friendly interface.

You can simply monitor resource usage, spot any bottlenecks, and effectively manage activities with GNOME System Monitor.

If you have a Gnome environment then the Gnome system monitor is already installed. If not you can simply install it with the following command:

$ sudo apt install gnome-system-monitor
$ gnome-system-monitor

Head to the resources section to find out the number of CPUs and their usage.

Gnome System Monitor
Gnome System Monitor

7. Hardinfo

Hardinfo is an extensive tool for Ubuntu that offers in-depth insights into various hardware components and system configurations. It has a very user-friendly interface which will help you gather information related to your system.

To install the hardinfo graphical tool run:

$ sudo apt install hardinfo
$ hardinfo

Then head towards the Processor tab on the left-hand side of the app:
HardInfo - Check Hardware Information in Ubuntu
HardInfo – Check Hardware Information in Ubuntu

Here you can view the number of CPUs in your system.

Conclusion

This article delved into different techniques for verifying the CPU count in Ubuntu. Whether you favor the terminal or a graphical interface, Ubuntu provides multiple pre-installed choices for obtaining CPU data. By grasping the CPU count in your system, you can efficiently oversee system performance, address problems, and enhance resource allocation. Keep in mind to select the approach that aligns with your inclination and relish the advantages of comprehending your Ubuntu system thoroughly. Have a delightful computing experience!

Compare Files in Linux With These Tools.

Whether you’re a programmer, creative professional, or someone who just wants to browse the web, there are times when you find yourself finding the differences between files.

There are two main tools that you can use for comparing files in Linux:

  • diff: A command line utility that comes preinstalled on most Linux systems. The diff command has a learning curve.
  • Meld: A GUI tool that you can install to compare files and directories. It is easier to use, especially for desktop users.

But there are several other tools with different features for comparing files. Here, let me mention some useful GUI and CLI tools for checking the differences between files and folders.

Note: The tools aren’t ranked in any particular order. Choose what you find the best for you.

1. Diff command

diff command

Diff stands for difference (obviously!) and is used to find the difference between two files by scanning them line by line. It’s a core UNIX utility, developed in the 70s.

Diff will show you lines that are required to change in compared files to make them identical.

Key Features of Diff:

  • Uses special symbols and characters to indicate lines required to change to make both files identical.
  • Goes through line by line to provide the best possible result.

And, the best part is, diff comes pre-installed in every Linux distro.

As you can see in the screenshot above, it’s not easy to understand the diff command output in the first attempt. Worry not. We have a detailed guide on using diff command for you to explore.

2. Colordiff command

colordiff utility

For some reason, if you find Diff utility a bit bland in terms of colors, you can use Colordiff which is a modified version of the diff command utility with enhanced color and highlighting.

Key Features Colordiff:

  • Syntax highlighting with attractive colors.
  • Improved readability over the Diff utility.
  • Licensed under GPL and has digitally signed source code.
  • Customizable

Installation:

Colordiff is available in the default repository of almost every popular Linux distribution and if you’re using any Debian derivative, you can type in the following:

sudo apt install colordiff

3. Wdiff command

wdiff

Wdiff is the CLI front end of the Diff utility, and it has a different approach for comparing files i.e it scans on a word-per-word basis.

It starts by creating two temporary files and will run Diff over them. Finally, it collects the output from you’re met with word differences between two files.

Key Features of Wdiff:

  • Supports multiple languages.
  • Ability to add colorized output by integrating with Colordiff.

Installation:

Wdiff is available in the default repository of Debian derivatives and other distros. For Ubuntu-based distros, use the following command to get it installed:

sudo apt install wdiff

4. Vimdiff command

vimdiff

Key Features of Vimdiff:

  • Ability to export the results on an HTML web page.
  • Can also be used with Git.
  • Customization (of course).
  • Ability to use it as CLI and GUI tool.

It’s one of the most powerful features that you get with Vim editor. Whether you are using Vim in your terminal or the GUI version, you can use the vimdiff command.

Vimdiff works in a more advanced manner than the usual diff utility. For starters, when you enter vimdiff command, it starts the vim editor with your usual diff. However, if you know how to get around your way through Vim and its commands, you can perform a variety of tasks along with it.

So, I’d highly recommend you to get familiar with the basic commands of Vim if you intend to use this. Furthermore, having an idea of how to use buffers in Vim will be beneficial.

Installation:

To use Vimdiff, you would need to have Vim installed on your system. We also have a tutorial on how to install the latest Vim on Ubuntu.

You can use the command below to get it installed (if you’re not worried about the version you install):

sudo apt install vim

5. Gitdiff command

gitdiff

As its name suggests, this utility works over a Git repository.

This command will utilize the diff command we discussed earlier and will run over git data sources. That can be anything from commits, and branches to files and a lot more.

Key features of Gitdiff:

  • Ability to determine changes between multiple git data sources.
  • Can also be used with binary files.
  • Supports highlighting with colors.

Installation:

Gitdiff does not require any separate installation unless you don’t have Git installed on your system. And if you’re looking for the most recent version, we have a tutorial on how to install the latest Git version on Ubuntu.

Or, you can just follow the given command to install Git on your Ubuntu-based distro:

sudo apt install git

6. Kompare

kompare

Looking for a GUI tool that not just differentiates files, but also allows you to create and apply patches to them?

Then Kompare by KDE will be an interesting choice!

Primarily, it is used to view source files to compare and merge. But, you can get creative with it!

Kompare can be used over multiple files, and directories and supports multiple Diff formats.

Key Features of Kompare:

  • Offers statistics of differences found between compared files.
  • Bézier-based connection widget shows the source and destination of files.
  • Source and destination can also be changed with commands.
  • Easy to navigate UI.
  • Allows to create and apply patches.
  • Support for various Diff formats.
  • Appearance can be customized to some extent.

Installation:

Being part of the KDE family, Kompare can be found easily on the default repository of popular Linux distros and the software center. But, if you prefer the command-line, here’s the command:

sudo apt install kompare

7. Meld

meld

Tools like Kompare may overwhelm new users as they offer a plethora of features, but if you’re looking for simple, Meld is a good pick.

Meld provides up to three-way comparison for files and directories and has built-in support for version control systems. You can also refer to a detailed guide on how to compare files using Meld to know more about it.

Key Features of Meld:

  • Supports up to 3-way file comparison.
  • Syntax highlighting.
  • Support for version control systems.
  • Simple text filtering.
  • Minimal and easy-to-understand UI.

Installation:

Meld is popular software and can be found easily on the default repository of almost any Linux distro. And for installation on Ubuntu, you can use this command:

sudo apt install meld

Additional: Sublime Merge (Non-FOSS)

sublime merge

Coming from the developers of the famed Sublime Text editor, Sublime Merge is targeted at programmers who are constantly dealing with version control systems, especially Git, as having the best workflow with Git is its primary focus.

From command line integration, powerful search, and flexibility to Git flow integration, anything that powers your workflow comes with it.

Like Sublime Text, Sublime Merge is also not open source. Similarly, it is also free but encourages you to buy a license for continuous use. However, you can continue using it without purchasing the license forever.

Sublime Merge

What’s Your Pick?

There are a few more tools like Sublime Merge. P4Merge and Beyond Compare come to my mind. These are not open source software but they are available for the Linux platform.

In my opinion, the diff command and Meld tools are enough for most of your file comparison needs. Specific scenarios like dealing with Git could benefit from specialized tools like GitDiff.

Source

WP2Social Auto Publish Powered By : XYZScripts.com