Ubuntu updating packages
It performs installations, package searches, and many other operations by referencing this database.
Due to this fact, before beginning any packaging operations with apt-get, we need to ensure that our local copy of the database is up-to-date. Apt-get requires administrative privileges for most operations: For a more complete upgrade, you can use the "dist-upgrade" argument, which attempts intelligent dependency resolution for new packages and will upgrade essential programs at the expense of less important ones: You can see that it is possible to install multiple packages at one time, which is useful for acquiring all of the necessary software for a project in one step.
We can install the full "vim" text editor package by typing: This command removes the package, but keeps the configuration files in case you install the package again later.If you need to update Linux kernel packages, you can use the commands below. If you want to brush up on your Linux-fu and play around with other commands, you can find an entire directory of commands here. Be sure to leave a comment below or join us over in the PCMech Forums!Apt is a command line frontend for the dpkg packaging system and is the preferred way of managing software from the command line for many distributions.Ubuntu Desktop releases offer handy GUI utilities to handle Package Management and System Update: Using a desktop computer (workstation), it is more possible that you will use these GUI utilities.
However, you can use the command line if you prefer. You can find these applications using Ubuntu Unity Dash (see image) or from the applications menu in other Ubuntu flavors.
Alternatively, you can click the Ubuntu icon in the top left corner of the screen, and then type in “Terminal” to get the command line.