• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

How to download package using apt-get command in ubuntu

May 17, 2013 by Sharad Chhetri Leave a Comment

How to download package using apt-get command in ubuntu

To download the package in ubuntu with the help of command apt-get use the flag called download
Note: download flag will download the given binary package into the current directory.

apt-get download package-name

eg.

apt-get download apache2

This below given is the practical which I did in Ubuntu

linux@tuxworld:~$ sudo apt-get download apache2
[sudo] password for linux:
Get:1 Downloading apache2 2.2.22-6ubuntu2.2 [1,440 B]
Fetched 1,440 B in 0s (4,451 B/s)
linux@tuxworld:~$ ls -l apache2_2.2.22-6ubuntu2.2_i386.deb
-rw-r–r– 1 root root 1440 Mar 18 18:33 apache2_2.2.22-6ubuntu2.2_i386.deb
linux@tuxworld:~$

You can see the downloaded package in current directory from where you have run the command.

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. Completely remove package on Ubuntu / Debian by apt-get
  2. How to install and configure nagios nrpe client in Ubuntu with apt-get command
  3. Yum command to download rpm file without installing in linux system
  4. wget : continue download of the file
  5. NonInteractive apt-get install in Debian
  6. Install subversion 1.8 on Ubuntu using apt
  7. linux command to list the files from rpm package without extracting
  8. Prevent starting service after package installation on Ubuntu / Debian
  9. How To Always Install Latest Git Package In Ubuntu Operating System
  10. yum : how to find rpm package which has certain command or file

Filed Under: Linux, Tips And Tricks Tagged With: apt-get

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

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

Primary Sidebar

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Linux Command

What is Linux Internal And External Command

Linux Basic Commands With Examples For Every Beginner

tr command to convert lines to space , tab and vertical tab

smbpasswd command not found on CentOS 7 and RHEL 7

Solution : semanage command not found

Unix / Linux : How to print duplicate lines from file

More Posts from this Category

You Might Like These Articles!

simplecodesyntax wordpress plugin

SimpleCodeSyntax : My Another WordPress Plugin

Install Nginx

How To Install Nginx On Ubuntu 22.04 LTS

Install Latest Git package in Ubuntu Operating System

How To Always Install Latest Git Package In Ubuntu Operating System

Bash script for installing VirtualBox on Ubuntu 22.04 LTS Desktop

Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)

libfuse

dlopen(): error loading libfuse.so.2 – Got Error On Ubuntu

Failed to open/create the internal network

VirtualBox Error: Failed to open/create the internal network

Always Useful Tips And Tricks

How to use grep command to get fixed pattern or exact keyword

Run the script using nohup without hitting enter key two times

Learn Linux Date Command With Examples

Allow only members of Wheel group to use su command on RHEL/CentOS

Recover Linux Grub Password in linux rescue mode CentOS/Red Hat

Convert video file into gif file through command line in linux

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Explore 90+ Article On "Linux Tips And Tricks"

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy