HubsInfo Network
Login or Register to remove ads! You're browsing our forum and website as a Guest meaning you can only see a portion of the forum in read-only mode.
PHP MySQL Linux Material Design Web Hosting Online Games SimCity BuildIt

Update Ubuntu Linux Softwares Using Command Line?


Update Ubuntu Linux Softwares Using Command Line?
« on: May 01, 2015, 06:30:57 AM »
Ubuntu Linux can be upgraded using GUI tools or using traditional command line tools such as:
apt-get command - apt-get is the command-line tool for handling packages.
aptitude command - aptitude is a text-based interface to the Debian GNU/Linux package system including Ubuntu Linux.

apt-get update: Update is used to resynchronize the package index files from their sources via Internet.
apt-get upgrade : Upgrade is used to install the newest versions of all packages currently installed on the system
apt-get install package-name : Install is followed by one or more packages desired for installation. If package is already installed it will try to update to latest version.

Get update software list, enter:
Code: [Select]
$ sudo apt-get update

Update software(s) i.e. apply updates and patches on Ubuntu Linux
Code: [Select]
$ sudo apt-get upgrade

To upgrade individual software called foo type command:
Code: [Select]
$ sudo apt-get install fooOR
Code: [Select]
$ sudo apt-get install apache php5 mysql-server
 



Linux Ubuntu Guides Linux games - Lutris.net