Wardah Batool – Linux Hint https://linuxhint.com Exploring and Master Linux Ecosystem Wed, 10 Mar 2021 03:33:05 +0000 en-US hourly 1 https://wordpress.org/?v=5.6.2 HardInfo: Check Hardware Information in Linux https://linuxhint.com/hardinfo-check-hardware-information-linux/ Mon, 08 Mar 2021 10:05:13 +0000 https://linuxhint.com/?p=93445 Computer hardware is a combination of various components, such as motherboard, CPU, GPU, memory, and other I/O devices. It is good for Linux users to have a basic knowledge of the hardware components of the system that they are currently using. This will help administrators to manage the required devices accordingly.

This article shows you how to check the hardware information in Ubuntu using various methods. These options are discussed in the sections that follow.

Checking Hardware Information Using HardInfo

To get hardware information using HardInfo, you first need to install HardInfo on your Linux system. Start the installation process by opening the terminal and running the following command:

$ sudo apt-get install hardinfo

D:\Kamran\Feb\16\Warda\Linux Hardware Info\images\image1 final.png

After installing HardInfo on your system, open the utility via the command-line to see the hardware information in the GUI. To open HardInfo, simply enter the following command:

$ hardinfo

D:\Kamran\Feb\16\Warda\Linux Hardware Info\images\image3 final.png

A new window will open after you run this command. If you click on “Summary,” you will get all system-related information, including the processor, OS, display, etc.

D:\Kamran\Feb\16\Warda\Linux Hardware Info\images\image2 final.png

To check the status of the Operating System, including the version, PC name, distribution, etc., go to the “Operating System” window. A screen will appear with detailed information, as shown in the image below:

D:\Kamran\Feb\16\Warda\Linux Hardware Info\images\image5 final.png

To check the system’s kernel version, select the “Boot” window. This window will show you the updated version information with the date and time.

D:\Kamran\Feb\16\Warda\Linux Hardware Info\images\image4 final.png

To get package information, click “Processor.”

D:\Kamran\Feb\16\Warda\Linux Hardware Info\images\image7 final.png

Clicking “Memory” will display the memory status, including the total memory, available memory, used memory, cache, active, inactive status, etc.

D:\Kamran\Feb\16\Warda\Linux Hardware Info\images\image6 final.png

Select “Input Devices” to get more icons to view specific system details. Click a specific icon to reveal relevant details related to that icon.

D:\Kamran\Feb\16\Warda\Linux Hardware Info\images\image9 final.png

To obtain details about the system network, click the “Network” option:

So, this is how you can find hardware system details using HardInfo.

If you prefer to check the hardware information via the command-line, then follow the steps mentioned below.

Checking Hardware Information Using the Command-Line

This section covers some important commands that can be used to fetch hardware information via the terminal. The ishw command is used for this purpose.

System Hardware Information

The “lshw” utility helps users to print system information such as hardware components, which can include Cpu, disks, cache, etc. Though this utility is built-in, but if your system does not have this utility, then you can install it using the following command:

$ sudo apt-get install lshw

D:\Kamran\Feb\16\Warda\Linux Hardware Info\images\image12 final.png

Now, to print the hardware information, use the following command:

$ sudo lshw

D:\Kamran\Feb\16\Warda\Linux Hardware Info\images\image10 final.png

The output of this command includes every minor detail related to the system. To get a summary of this information, use the “short” command. The information will be printed in a table organized into columns:

$ sudo lshw –short

D:\Kamran\Feb\16\Warda\Linux Hardware Info\images\image11 final.png

CPU Information

The “lscpu” command will fetch CPU details from the “sysfs” files.

To display cpu information, use the following command:

$ lscpu

D:\Kamran\Feb\16\Warda\Linux Hardware Info\images\image13 final.png

Block Device Information

The “lsblk” command is used to collect block device, storage, and other information related to the hard disk, flash drive, etc.

To list data using this command, issue the following in the terminal:

$ lsblk

The output will provide a list of information on the screen. To check all block devices, issue the following:

$ lsblk -a

D:\Kamran\Feb\16\Warda\Linux Hardware Info\images\image14 final.png

USB Controller Information

To view information about the devices that are connected to the system, including USB controllers, enter the following command:

$ lsusb

D:\Kamran\Feb\16\Warda\Linux Hardware Info\images\image15 final.png

Conclusion

This article provided a brief introduction to getting Linux system hardware information using the HardInfo utility. We have also displayed all the necessary commands for readers who want to check this through the command-line.

]]>
How to Install Python 3.9 On Ubuntu 20.04 and 20.10 https://linuxhint.com/install-python-ubuntu/ Mon, 08 Mar 2021 09:22:01 +0000 https://linuxhint.com/?p=93419 Python, an object-oriented programming language, is well-liked among beginners and experienced developers due to its easy and user-friendly syntax. This versatile language is used as a key language in top tech companies.

With new features/modules, security updates, and improvements, the python 3.9 version has been released to make this functional language more useful and top-ranked.

Now, let’s check how to get python 3.9 on Ubuntu 20.04 device.

How to Install Python 3.9 On Ubuntu 20.04 (LTS) and 20.10:

There are two main approaches to install python 3.9 on Ubuntu 20.04. but we will go with the convenient and straight-forward approach.

Your terminal will be opened by pressing Ctrl+Alt+T. Once your terminal is opened, follow the steps listed below:

Step 1: Add repository with the command:

$ sudo add-apt-repository ppa:deadsnakes/ppa

D:\Kamran\Feb\03\Article\Pics\images\image1 final.png

Step 2: Use the update command to update your apt cache. It will help to update all packages listed on Ubuntu.

$ sudo apt update

D:\Kamran\Feb\03\Article\Pics\images\image3 final.png

Once all the packages are updated, use the below-mentioned command to install the updated version of python 3.9.

$ sudo apt install python 3.9

D:\Kamran\Feb\03\Article\Pics\images\image2 final.png

So, python 3.9 is installed on your system. You can check its version if there is any doubt by using the command:

$ python 3.9 -V

D:\Kamran\Feb\03\Article\Pics\images\image5 final.png

Now, the installation process of python 3.9 is completed.

How To Uninstall Python 3.9 On Ubuntu 20.04 (LTS) 20.10:

In addition, if you want to remove or uninstall it, the following command will be used, and it will remove a python from your system.

$ sudo apt autoremove python3.9

D:\Kamran\Feb\03\Article\Pics\images\image4 final.png

Conclusion:

In this article, we have learned how to install the Python 3.9 version on Ubuntu 20.04. Python is a high-level, object-oriented language that is simple, easy to learn, and convenient for large-scale projects.

]]>
How to Install Microsoft Teams on Ubuntu 20.04 (LTS) and 20.10 https://linuxhint.com/install-microsoft-teams-ubuntu/ Mon, 08 Mar 2021 06:13:43 +0000 https://linuxhint.com/?p=93409 Microsoft has designed its most collaborative platform yet bundled with Office 365. Since 2019, Microsoft Teams has been available for Linux users. This program is globally famous because it provides the ability to use unlimited features in a single forum.

The most notable features of Microsoft Teams include audio and video calls, chats, online meetings, file and data collaboration, extensibility features, and much more. Once Microsoft Teams is installed, it does not matter if you have a small or large enterprise, you will be able to complete the project quickly and efficiently.

This article shows you how to install Microsoft Teams on Ubuntu 20.04 (LTS) and 20.10. Microsoft Teams can be installed on Ubuntu 20.04 (LTS) and 20.10 using multiple methods, which are provided in the sections below.

Method 1: Installing Microsoft Teams Using the GUI

Step 1: Open the official site of Microsoft Teams.

There, you will see multiple downloading options. Select Linux Deb 64-bit and download the .deb package.

D:\Kamran\Feb\15\Articles\Install Microsoft teams On Ubuntu 20\images\image3 final.png

Step 2: You will find the .deb file in the Downloads folder. Double-click the file to open it.

D:\Kamran\Feb\15\Articles\Install Microsoft teams On Ubuntu 20\images\image5 final.png

Step 3: A window will appear with the installation button. Click ‘Install’ to continue.

D:\Kamran\Feb\15\Articles\Install Microsoft teams On Ubuntu 20\images\image4 final.png

Now, it should be installed on your system. You can use it by signing in.

D:\Kamran\Feb\15\Articles\Install Microsoft teams On Ubuntu 20\images\image7 final.png

Method 2: Installing Microsoft Teams Using the Terminal

Issue the following command in the terminal to download the .deb package:

$ wget –O teams.deb https://packages.microsoft.com/repos/ms-teams/pool/main/t/teams/teams_1.3.00.5153_amd64.deb

D:\Kamran\Feb\15\Articles\Install Microsoft teams On Ubuntu 20\images\image6 final.png

Now, to install it, use the command given below:

$ sudo apt install ./teams.deb

D:\Kamran\Feb\15\Articles\Install Microsoft teams On Ubuntu 20\images\image2 final.png

Uninstalling Microsoft Teams from Ubuntu 20.04 and 20.10

To uninstall teams from Ubuntu, issue the command given below:

$ sudo apt remove teams

D:\Kamran\Feb\15\Articles\Install Microsoft teams On Ubuntu 20\images\image1 final.png

Conclusion

In this article, you learned how to install Microsoft Teams using the GUI and the Terminal. Microsoft Teams is a major platform, in which many people from the same organization can work together as a team for small- and large-scale projects.

]]>
How To Use the C Programming Language in Ubuntu 20.04 https://linuxhint.com/how-to-use-the-c-programming-language-in-ubuntu-20-04/ Sun, 07 Mar 2021 21:39:50 +0000 https://linuxhint.com/?p=93223

C is an excellent procedural programming language for beginners who want to learn how to program. Many applications, including databases and operating systems, use this general-purpose programming language for development.

The C language is popular among new learners because it is not only easy to use but also helps programmers to better understand the internal architecture of the computer. C is the first step into the programming world, and after learning the C programming language, it will not be as difficult to learn other programming languages. Moreover, the C language is portable, as programs written in this language can be transferred to various platforms without requiring any changes to the code.

This article shows you how to use the C programming language in Ubuntu 20.04 (LTS) and 20.10.

Installing and Running the C Language

To begin working with the C programming language in Ubuntu, first, you will need to install it.

To make the C language run on Ubuntu, you first need to get its compiler, which can be installed through the installation of the build-essential development package. To install this package, launch the terminal and issue the following command:

$ sudo apt install build-essential

After the installation process of the build-essential package is completed, use the following command to view the version of the C compiler:

$ gcc --version

Now that you have installed the C compiler on your system, you can get started with the C language.

Writing Code in the C Language

First, open any text editor and write a simple C program. To run the program, open a text file and write a program in the file.

Save the file, naming it “HelloLinux” with the “.c” extension. Compile the code via the command provided below:

$ gcc –o HelloLinix HelloLinuc.c

To obtain the output of the program, type the filename in the terminal:

$ ./HelloLinux.c

Conclusion

This guide showed you how to make the C programming language work in Ubuntu. The C programming language is a general-purpose language that is used to develop graphics, applications, even games. For new programmers, the C language is the first step into the software development world, since it is easy to master. Even in 2020, the C language remains popular and relevant among developers due to its ubiquity and simplicity.

]]>
How to Install Brave Browser on Ubuntu 20.04 https://linuxhint.com/install-brave-browser-ubuntu/ Sun, 07 Mar 2021 21:29:39 +0000 https://linuxhint.com/?p=93246

Brave software developed a modern browser focused on speed, privacy, security privileges, and performance known as Brave browser, which like many other modern browsers, is based on Chromium.

Brave browser features can block online ads from the websites and show several blocked ads via ad-trackers. As the brave browser is chromium-based therefore it can add limited chromium extensions.

Its speed of loading pages is faster than any other browser. Brave browsers can differentiate between safe and unsafe sites.

Let’s move towards the installation procedure of Brave browser on Ubuntu 20.04.

Install Brave Browser on Ubuntu 20.04 (LTS) and 20.10

Brave browser can be installed through GUI. It is an easy approach to get a browser on the system.

Open the Software center on Ubuntu and type “Brave browser” in the search bar.

Select Brave browser:

Click on the Install button to start the installation process, which will take a few min. After completion of downloading and installation, it can be viewed in your applications.

Click on Brave browser to start browsing on it.

Uninstall Brave Browser on Ubuntu 20.04 (LTS) and 20.10

Suppose you want to remove Brave browser from your system, open Software center on Ubuntu, and click on Installed applications. Search Brave browser. You’ll get the Remove button there. Click on it to remove Brave browser from Ubuntu.

Conclusion

We have learned how to get Brave browser on Ubuntu 20.04 through GUI and its uninstallation method. Brave browser is an open-source, secure browser that is 3-6 times faster than any other browser. People used to prefer the brave browser because of its ad-tracker and ad-block feature.

]]>
How to Install Microsoft Edge Browser on Ubuntu 20.04 https://linuxhint.com/install-microsoft-edge-browser-ubuntu/ Sun, 07 Mar 2021 21:22:40 +0000 https://linuxhint.com/?p=93253

Microsoft Edge is a noticeably fast, secure web browser that comes with Chrome’s familiar feel because it is now based on Chromium. Firefox is one of the most popular web browsers in Linux, and there are many more alternatives; Edge from Microsoft is one of them. It is more helpful for Windows users who are switching to Linux distributions.

Every browser is known through its features among users. Similarly, Edge has some unequable attributes, such as it allows you to list tabs in a vertical way, its interface displays only essentials elements. Moreover, it gives you reading mode as it strips out all the extra material aside from the main text, which makes reading more convenient. It also lets you collect snippets of text from different websites and organized and manage them.

Let’s check how to get Edge Browser on the latest Ubuntu:

How to Install Microsoft Edge on Ubuntu 20.04 (LTS) and 20.10:

Open your terminal and copy the following commands, put them in the terminal, and press Enter.

The first step to enable the repository is using the below-mentioned command:

$ curl <a href="https://packages.microsoft.com/keys/microsoft.asc">https://packages.microsoft.com/keys/microsoft.asc</a> | gpg --dearmor > microsoft.gpg

The output of the command is shown in the above image. Now copy the command given below to proceed with the process:

$ sudo install –o root –g root –m 644 microsoft.gpg /etc/apt/trusted.gpg.d/

Lastly, use the following commands and put them in terminal one by one to complete the process of adding repository:

$ sudo sh –c ‘echo “deb [arch=amd64] <a href="https://packages.microsoft.com/repos/edge">https://packages.microsoft.com/repos/edge</a> stable main“ > etc/apt/sources.list.d/Microsoft-edge-d.list’

$ sudo rm microsoft.gpg

Now update packages list using:

$ sudo apt update

Use the given commands to install Microsoft Edge:

$ sudo install microsoft-edge-dev

Now, you can run Edge browser on your system by searching it from applications.

The new Edge Browser has a clean user-interface and sleek design. Let’s check how to uninstall it from Ubuntu:

How to Uninstall Microsoft Edge from Ubuntu 20.04

Through the following command, you will be able to uninstall Microsoft edge from the system.

$ sudo apt remove Microsoft-edge-dev

Conclusion

We have seen a brief note about how to install the Microsoft Edge browser on Ubuntu. Unlike the internet, explorer Edge is Chromium-based. However, it does not support all of the extensions that Chrome offers because Edge is still in its infancy, and Microsoft has many plans to improve it. Edge browser would be helpful for those users who are switching from Windows to any distribution of Linux.

]]>
How to Install Security Updates in Ubuntu 20.04 https://linuxhint.com/install-security-updates-ubuntu/ Sun, 07 Mar 2021 21:19:30 +0000 https://linuxhint.com/?p=93263

An essential part of using any operating system is to check for security updates from time to time. It can be difficult to keep track of security updates all the time. One of the easiest ways to keep your Ubuntu system secure is by upgrading your software packages. New versions add the latest features available, and system security is increased by updating programs frequently.

This guide shows you how to install security updates in Ubuntu 20.04, which will be performed by upgrading security packages.

There are two primary methods for upgrading the software to minimize the vulnerability of security issues:

  • Update Ubuntu via the Command-Line
  • Update Ubuntu

Method 1: Update Ubuntu via the Command-Line

Updating Ubuntu using the command line gives you more clarity and authority over the process. Open your terminal and issue the following command to update the packages:

$ sudo apt update

To get a list of packages that are due for an update, enter the following command:

$ apt list --upgradable

Now, all the packages can be updated using the following command, which will complete all updates of the packages that require updates. After you enter the command listed below, your operating system will be upgraded successfully:

$ sudo apt upgrade


There will always be some software packages in the system that depend on each other to function properly.

These packages can be updated using the “dist-upgrade” command mentioned below. Type the command in the terminal to get an update:

$ sudo apt dist-upgrade


Unused packages that are no longer needed can be removed by executing the following command:

$ sudo apt autoremove

Method 2: Update Ubuntu via the GUI

The second approach to install security updates on your system is to install the updates using the software updater application. To start updating Ubuntu using the GUI, open the Ubuntu Applications folder and search for the Software Updater:

Open the Software Updater to check for the update details:

A dialogue box will appear to ask you for permission to install the updates right now or later:


Click “Details of updates” to receive a menu of individual packages, then check the package that you want to update:

Once it is done, click on “Install Now” to start the installation:


You can look at information about the installation in greater detail by clicking details:

So, the updated version of Ubuntu and the updated packages will be installed on the system. A window may ask you to restart your system to take the changes into effect.

Conclusion

The guide showed you how to upgrade the operating system via the GUI and the command-line. By updating the software packages and operating systems, security updates will be installed that not only make the whole experience smoother and faster but also secure the system from bugs and malware.

]]>
How to Change Folder Color in Ubuntu 20.04 https://linuxhint.com/change-folder-color-ubuntu/ Sun, 07 Mar 2021 13:33:24 +0000 https://linuxhint.com/?p=93063 It can be time-consuming and frustrating for a user to search for a folder when there are many stored in one directory. Color-coded folders help you to visually differentiate folders, making it easy to identify the required folder and speeding up your computer work. This article shows you how to change folder color in Ubuntu.

How to Change Folder Color in Ubuntu 20.04

There two steps to follow in this procedure. First, open the terminal, then copy the following command to enable the repository:

$ sudo add-apt-repository ppa:costales/yaru-colors-folder-color

Use the following command for installation:

$ sudo apt install folder-color yaru-colors-folder-color

Once it has been installed, move forward to check the availability of the “Folder’s Color” option. For this, right-click on any folder, and “Folder’s Colors” can be viewed in the context menu, as shown in the image below:

As you can see, the folder color changing menu appeared. So, pick a hue from the list and change your folder color by clicking the desired hue.

How to Uninstall Folder Color in Ubuntu 20.04

To delete the folder color extension from the system, use the commands given below:

$ sudo apt-get remove folder-color

Conclusion

This tutorial showed you how to install the folder-color theme on Ubuntu. Changing the folder color helps to make folders more unique and differentiable, improving the efficiency of searching for folders. You can easily get a particular folder, even when in a hurry. The article also showed you how to perform the folder-color uninstallation procedure.

]]>