How to Use the Linux Command Line: Software Management

Software Management In the previous part of this series, we learned some of the basics of CLI (command line interface). In this article, we will learn how to manage the software on your distro just use the command line,without touching the interface at all.
ubuntu apt
I see the great benefits of using the command line in any system based on Ubuntu. Each * buntucomes with ' options ' software management tool that not only creates a consistent experience acrossthe different flavor, even if they use the same resource or repository to manage software. A user's lifebecome easier with the CLI because the same command works on taste and derivatives. So, if you areKubuntu user you will not have a problem supporting Linux Mint users because the CLI will removeall of the wrappers. In this tutorial I target all the major distro: Debian/Ubuntu, openSUSE and Fedora.

Debian/Ubuntu: how to update the repository and install packages

There are two command line tools for the Debian family: "apt-get" and "gifted". Aptitude is regarded as a good tool as it does a better job in dependent and better manage the other packages. If Ubuntudidn't come with "gifted" pre-installed, I suggest you install this tool.

Before we install any package we must always update the repositories so they can pull the latest information about the package. This is not just limited to Ubuntu. Regardless of the distro you use,you should always update the repository before the package installation or system updates. Thecommands to update the package is run:

sudo apt-get update
Once the repository is updated, you can install the "gifted". The model is a simple sudo apt-get install

sudo apt-get install năng khiếu
Ubuntu comes pre-installed with a bash completion tool that makes life easier with apt-get and aptitude. You do not need to remember the full name of the package, just type the first three lettersand press "Tab". Bash will give you all the packages starting with three letters. So, if I type "sudo apt-get install apt ' and then press ' Tab ' it will only give me a long list of such packages.

A when the gifted are installed, you should start using it instead of apt-get. The usage is the same,just replace apt-get to aptitude.

Run system update/upgrade

Run a system upgrade is quite easy on Ubuntu and its derivatives. The commands are very simple:
sudo update năng khiếu
sudo nâng cấp năng khiếu
There's also a command for upgrading the system called ' dist-upgrade. This command is a bit higher than simply ' upgrade ' commands, because it made some extra duties. While the command ' upgrade 'only upgrade to the latest version of the installation package, it does not remove any old Pack. ' Dist-upgrade ' on the other hand also handles the change depend and can remove unnecessary packages.Also if you want to upgrade to the latest version of the Linux kernel then you need ' dist-upgrade 'commands. You can run the following command:

sudo update năng khiếu
sudo aptitude dist-upgrade


Comments

Popular posts from this blog

The Best Backup Software

Modeling Tools for Software Development and Engineering

[Win & Mac] Adobe Photoshop CC 14.0 installer