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
- Using command line - terminal
- 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.
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,
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.
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.
In the below screenshot, you can still see the binary data of firefox,
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.
Please check the below image also,
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
You can install any software application through UI, with the help of Ubuntu inbuilt software application. Navigate to the Ubuntu software application.
Now you may choose the category of the application you want, for example, Development,
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.
Now, go to your application library and verify that your application is installed,
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.
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