Software Management Techniques for Ubuntu Terminal Power Users

navya , Credit to  volkotech-solutions Nov 17
App management in Ubuntu via command line & GUI banner image

This blog gives detailed info about the basics of software management in Ubuntu, including how to install, update, & remove software apps with terminal and GUI.

Ubuntu is built on the Linux platform, it is completely free and open-source software. The official editions of Ubuntu are Desktop, Server, and core for IoT devices and it can run both on the computer and virtual machines.

Pre-requisites

  • Laptop/pc with Ubuntu os
  • Active Terminal

You can refer to the following blog to install ubuntu on your laptop/pc
https://mycode.blog/naveen-golla/how-install-ubuntu-your-computer

In Ubuntu, we can download and install the required software in two methods

  1. Using command line - terminal
  2. Using pre-installed Ubuntu software application

1. Using Command Line - Terminal

One of the effective ways of downloading required software applications is using terminal commands. The only command that you have to learn for downloading software is 
sudo apt-get.

Installing software

With the given command you can install any required software, for example, I’m installing firefox with the command line. Command: sudo apt-get install <software name> In the below screenshot, you can see the results. Right after the command, the terminal asks password for the superuser, give your password and authenticate it.

Install Firefox Browser using Ubuntu terminal

Upgrading software

As we are living in the fastest-growing technological world we always seek better versions of software applications. To get better performance we need to upgrade our software. One of the effective methods to upgrade software is using the command line, The command for upgrading software: sudo apt-get upgrade <software name>In the below screenshot, you can see the result of upgraded software,

Upgrading Firefox using Ubuntu command line

Updating software

All over the world, many people are using different software applications, there might be some bugs and better improvements or some addon features in the software application, there we need to update the software.The command that is used for updating the software is sudo apt-get update <software name>, if it didn’t work just simply run sudo apt-get update, which will update all the applications that are running in your system.

Updating Firefox Browser using Ubuntu terminal

Removing software

As for developers or any other normal user, storage matters a lot, so if you want to save storage and for better performance, you need to clean up your system in the sense, you need to delete all the unwanted apps, configuration files, and unnecessary packages.

Here is a better choice to remove the unwanted files and apps in your system, Command: sudo apt-get remove <software name>
This command helps to remove software partially, it just removes the application but not the dependencies and binary files of the application.In the below images, we can see the removal of software, but not the binary files.
 

Removing Firefox Browser using Ubuntu terminal

In the below screenshot, you can still see the binary data of firefox,

Ubuntu terminal shows that Firefox is partially removed

This can be removed with the help of another command, please look down!

With the help of the purge command, we can remove the entire data of particular software. Command: sudo apt-get purge <software name>In the below screenshot, we can see the removal of the entire data of the application.

Removing Firefox Browser completly using Ubuntu terminal
 

Please check the below image also,

Ubuntu terminal shows that Firefox is removed completely

Note: 

If you want to install any development software use the following command sudo snap install <development software name>
For example, sudo snap install atom --classic

2. Using Ubuntu software application - UI

At the time of installation, we will be getting one application called Ubuntu software, in the below screenshot you can see the appearance of the application 

Open Ubuntu software app using GUI

You can install any software application through UI, with the help of Ubuntu inbuilt software application. Navigate to the Ubuntu software application.


List of apps present in Ubuntu Software

Now you may choose the category of the application you want, for example, Development,

Grid view of developed apps in Ubuntu Software

You can see all the available applications related to the development environment, select the application you want, for example, I’m selecting sublime-text 

You can see all the application’s comprehensive details,  and you can choose to install it. Because Ubuntu is incredibly safe and secure. It will ask for the superuser’s password, give your system password and authenticate.

Installing Sublime App using Ubuntu GUI

Giving password in authentication window to install the app

Now, go to your application library and verify that your application is  installed,

Validating the installation of Sublime editor in ubuntu apps GUI

So if you want to uninstall the application,  go to your ubuntu software application, choose the software you want to uninstall, and then click Remove.

Removing sublime app from Ubuntu with GUI

Finally, I’d like to emphasize the importance of Managing your apps so that you can focus on your job rather than worrying about performance issues. So, use the aforementioned commands to begin updating your computer/laptop and making your system run more efficiently.

FAQ

Is Ubuntu a paid OS?

No, not at all, Ubuntu is completely free of cost and user-friendly and it is safe and secure.

What type of users can use Ubuntu OS?

Most of the developers prefer Ubuntu OS, as it is cost-effective and performance-wise also it is good.

Which method is more preferable to download the software applications in Ubuntu?

The command-line method is more preferable as it is a time-saving procedure.

Comments

Authors

Read Next