Results 1 to 7 of 7

Thread: running multiple .deb files

  1. #1
    Join Date
    Dec 2010
    Beans
    20
    Distro
    Ubuntu 10.10 Maverick Meerkat

    running multiple .deb files

    How can i install all the .deb files in a directory with Terminal?

  2. #2
    Join Date
    Jun 2010
    Beans
    Hidden!

    Re: running multiple .deb files

    try dpkg -i *.deb from the folder

  3. #3
    Join Date
    Apr 2005
    Location
    Finland/UK
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: running multiple .deb files

    make that sudo dpkg -i *.deb and you'll get the packages installed instead of an error about not having permissions..

  4. #4
    Join Date
    Dec 2010
    Beans
    20
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: running multiple .deb files

    I don't want to install an individual file.

    I want to install all of the .deb files in a directory with one command.

  5. #5
    qamelian's Avatar
    qamelian is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Feb 2005
    Location
    Nova Scotia, Canada
    Beans
    1,580
    Distro
    Ubuntu Development Release

    Re: running multiple .deb files

    Quote Originally Posted by Gav1991 View Post
    I don't want to install an individual file.

    I want to install all of the .deb files in a directory with one command.
    And that's what the above posters explined. By using * instead of the name of an individual deb file, you will be installing all of them.

  6. #6
    Join Date
    Feb 2007
    Location
    North East, USA
    Beans
    689
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: running multiple .deb files

    Quote Originally Posted by Gav1991 View Post
    I don't want to install an individual file.

    I want to install all of the .deb files in a directory with one command.
    * is a wildcard and will fill in every item in the directory that ends with .deb so the commands posted "Should" work.

    Have not tested it myself.

  7. #7
    Join Date
    Jun 2010
    Beans
    Hidden!

    Re: running multiple .deb files

    Quote Originally Posted by Gav1991 View Post
    I don't want to install an individual file.

    I want to install all of the .deb files in a directory with one command.
    thats what sudo dpkg -i *.deb would do (thanx for the correction mcduck)
    it'll configure all .deb files in the current directory
    else use sudo dpkg -i /path/to/folder/*.deb

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
  •