[ILUGC] GNU/Linux commands - apt-get

  • From: Dhanasekar <tkdhanasekar@xxxxxxxxx>
  • To: ilugc@xxxxxxxxxxxxx, kanchilug@xxxxxxxxxxxxx
  • Date: Wed, 14 Sep 2016 20:00:22 +0530

Hi,
Distro -Ubuntu/Debian:

apt-get - APT package handling utility

# apt-get update

update is used to resynchronize the package index files from their
sources

# apt-get upgrade

upgrade is used to install the newest versions of all packages

# apt-get install package1 package2

install or upgrade the packages

# apt-get dist-upgrade

will upgrade, unconcerned of whether software packages
will be added or removed to fulfill dependencies

# apt-get install packageName --no-upgrade

to install Packages without upgrading

# apt-get install packageName --only-upgrade

to upgrade only specific packages

# apt-get remove packagename

will remove packages without configuration

# apt-get purge packagename

will remove software packages including their configuration files

# apt-get clean

used to free up the disk space by clean downloaded packages from
the local repository

# apt-get --download-only source packagename

will download only source code of particular package

# apt-get source packagename

to download and unpack source code of a package

# apt-get --compile source packagename

will download, unpack and compile the source code

# apt-get download packagename

will download any given package without installing it

# apt-get check packagename

will update package cache and checks for broken dependencies


regards,

T.Dhanasekar


_____________________________________
ILUGC List: //www.freelists.org/list/ilugc
ILUGC Web: http://ilugc.in/

Other related posts:

  • » [ILUGC] GNU/Linux commands - apt-get - Dhanasekar