sudo apt-get update sudo apt-get install ensuring that apt-get knows to install the most recent version of the package. Another useful source for information is the help.ubuntu.com site. For example, if you searched that site for apt-get you would find AptGet/Howto as one of the results.

How to Bring Linux-Style apt-get Installations to Windows Aug 07, 2017 Linux Commands: Apt-get - How to use Linux Commands Jan 30, 2017

Jun 18, 2020 · sudo apt-get install {package_name} For example, if you want to install the gimp package apt-get install gimp. Update: apt-get update. Before installing any packages on the system, it is recommended that update first. The syntax for performing updates follows: sudo apt-get update. Upgrade: apt-get upgrade

$ sudo apt-get install gazebo2 ros-indigo-qt-build ros-indigo-driver-common ros-indigo-gazebo-ros-control ros-indigo-gazebo-ros-pkgs ros-indigo-ros-control ros-indigo-control-toolbox ros-indigo-realtime-tools ros-indigo-ros-controllers ros-indigo-xacro python-wstool ros-indigo-tf … Difference Between apt and apt-get Explained - It's FOSS Jun 11, 2019 How to Manage Packages on Ubuntu With Apt

apt-get selects packages based on your sources list, which is /etc/apt/sources.list . apt-get draws from three levels of packages: stable, testing, and unstable. For example, at the time of writing apache in stable was 1.3.26, testing 1.3.27, and unstable 1.3.28. Try AptPinning if you want an unstable package on a stable Debian system. Beware

$ sudo apt-get install gazebo2 ros-indigo-qt-build ros-indigo-driver-common ros-indigo-gazebo-ros-control ros-indigo-gazebo-ros-pkgs ros-indigo-ros-control ros-indigo-control-toolbox ros-indigo-realtime-tools ros-indigo-ros-controllers ros-indigo-xacro python-wstool ros-indigo-tf … Difference Between apt and apt-get Explained - It's FOSS Jun 11, 2019 How to Manage Packages on Ubuntu With Apt