Results 1 to 3 of 3

Thread: DEB files of applications installed through terminal

  1. #1
    Join Date
    Oct 2008
    Beans
    28

    DEB files of applications installed through terminal

    Hi all,
    I usually install applications via terminal. Where are the package files (.deb) stored for such apps??? If i backup them, it will save me from downloading again... so is there any way i can get those package files of apps i installed???

  2. #2
    Join Date
    Oct 2012
    Beans
    187

    Re: DEB files of applications installed through terminal

    these are stored in /var/cache/apt/archive

    you can setup a trivial repository for your downloaded packages using dpkg-scanpackages but you will need to install it first

    please read
    http://www.debian.org/doc/manuals/re...owto#id3032359
    http://www.debian.org/doc/manuals/re...g-a-repository

    for more details

  3. #3
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: DEB files of applications installed through terminal

    it depends on how you installed them through terminal...

    If you are using apt-get (or Ubuntu Software Center or Synaptic), you'll find downloaded packages in /var/cache/apt/archives.

    The package manager will automatically use existing packages instead of downloading again, but keep in mind that this only applies if the existing package is same or later version than the one in repositories. So if there's an updated package available, it will always be downloaded instead of using the cached version.

    Also, running "sudo apt-get clean" will empty the cache. (or "sudo apt-get autoclean" to only remove old versions and packages that aren't installed at the moment)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •