When you start with any Linux Distribution, like Ubuntu, Kali Linux and such, it is required to make yourself aware about "apt-get" command.
As "apt" stands "Advance Package Tools". This command is very handy and makes easy to handle packages in Linux. This command is basically used for installing, update and upgrade your packages etc.
Let's study few important features of apt-get:
• | apt-get install | :
This command is used to install any software packages in Linux Operating System. Refer the syntax below:
{ sudo apt-get install "software name" }
• | apt-get update| :
This command is initiated to update packages. Refer the syntax below:
{ sudo apt-get update } to update packages.
{ sudo apt-get update "package-name" } to update particular package.
This command will make you see three lines in terminal: hit, ign and get.
✓ hit: This reflection in terminal means there is no change made in package version.
✓ ign: This reflection in terminal means that package is being ignored due to certain reason. This is not an error, it simply means either package version is very recent or some issue while retrieving the file but issue was minor hence ignored.
✓ get: This reflection in terminal means new version of package is available.
• | apt-get upgrade|
When you have updated the installed packages, you can simply upgrade those packages using this command.
Using "man" command along with apt-get, you can view the complete manual for apt-get in Linux.
That's all for now. Thanks for reading.
Author: Shashank
Very informative,looking for more such blogs to improve my knowledge, thankyou Shashank sir
ReplyDelete