Linux Command – sudo apt-get

As a newbie to Linux, I do need to search in the Internet for the command lines to be executed whenever I wanted to do something in the Ubuntu’s environment. Recently, the most commonly used command line that I used is

sudo apt-get install

I used it when I was installing the Java Development Kit JDK 8.0 for example. Then, I am curious what does the sudo means? And is the apt-get means get the application? So, I did a search in the Internet to get more understanding on these commands which I have been using it lately.

Someone wrote in his/her reply,
sudo is a shell command — it’s a program whose name you can type in the shell. Its arguments are a command to run as root, the system user with maximum privileges. (super user do)

apt-get is a shell command, part of the APT tool suite. APT is the package manager on Debian, Ubuntu, Mint and other Linux distributions. apt-get installs and maintains programs and other collections of files (data, documentation, etc.) in the form of packages. Packages are usually downloaded from repositories on the Internet, but can also be read from a CD or other media.

install, here, is a one of apt-get’s commands. It is followed by the name of one or more package to install. Other apt-get commands include remove (to remove the packages whose name follow), upgrade (to upgrade all packages for which upgrades can be downloaded), etc. The apt-get command build-dep installs all the packages that are required to install the specified package from source.

Let me include a link which I found from the Internet where someone is sharing the top 20 useful commands for Linux newbie, http://www.tecmint.com/useful-linux-commands-for-newbies/. If you think this is not enough, I also found another link which showed the 50 most used Linux/Unix commands with examples, http://www.thegeekstuff.com/2010/11/50-linux-commands/?utm_source=feedburner.

Indeed, it is a new journey for myself as a newbie and a lot of learning, trials and errors, hiccups to get things done or worked. The initial fear of touching Linux has gone because I have to use it as part of my work life. Positively looking into this new transformation brought by my new working environment. At the moment, I do not have intention to completely move from Windows to Linux.

With the virtual machine tool installed, I will have more chances to deal with different operating systems. I am looking forward 🙂

Advertisements