Installing Ubuntu 14.04 x64: Update

Installing Ubunto is relatively easy.. a easy guide  on Virtual Machine can also be used; just copy the iso to USB Stick and boot from USB.

just a few more steps to ensure you have everything going

# Log in then become root:
> sudo su
# Follwing steps makes you install updated
> apt-get update
> apt-get upgrade
> apt-get dist-upgrade

# Note: you can use "apt-get dist-upgrade" instead of "apt-get upgrade"
> # apt-get upgrade --> upgrade is used to install the newest versions of all packages currently installed
> # dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages

# to do the above on a single line is also possible, but I prefer to do it one by one, to ensure there are no errors..

> sudo apt-get update && time sudo apt-get dist-upgrade

these are a few command you should also know..

> apt-get check
This command is a diagnostic tool. It does an update of the package lists and checks for broken dependencies.
apt-get -f install
This command does the same thing as Edit->Fix Broken Packages in Synaptic. Do this if you get complaints about packages with "unmet dependencies".

> apt-get autoclean
This command removes .deb files for packages that are no longer installed on your system. Depending on your installation habits, removing these files from /var/cache/apt/archives may regain a significant amount of diskspace.

> apt-get clean
The same as above, except it removes all packages from the package cache. This may not be desirable if you have a slow Internet connection, since it will cause you to redownload any packages you need to install a program.

> apt-get remove <package_name>
This command removes an installed package, leaving configuration files intact.

> apt-get purge <package_name>
This command completely removes a package and the associated configuration files. Configuration files residing in ~ are not usually affected by this command.

> apt-get remove <package1> <package2>+
If you want to remove package1 and install package2 in one step:
apt-get autoremove

> apt-get autoremove <package_name>
This command removes packages that were installed by other packages and ar no longer needed.

take time to read the help page

 

Posted in Installing Operating Systems and tagged , .

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.