Monday, May 13, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 16839  / 1 Year ago, wed, march 29, 2023, 2:18:22

So, I tried installing a lot of packages that are in one of my folders. In the terminal I chose directory and did: "sudo apt-get install *.deb"
I've gotten a lot of errors that say "couldn't find any package by regex" or something like this. I'm doing this on computer with no internet access. What does it mean and what wrong did I did?


More From » apt

 Answers
4

In the terminal I chose directory and did: "sudo apt-get intall *.deb"



Here there are two problems:



  1. intall is misspelled, it should be install

  2. apt-get will install local packages if a path is provided in the way of ./package.deb or /path/to/package.deb


This should achieve the desired result


sudo apt-get install ./*.deb

This will install the packages and any dependency needed if it can find them.


[#28028] Wednesday, March 29, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uquelighted

Total Points: 242
Total Questions: 110
Total Answers: 106

Location: Cyprus
Member since Tue, Sep 22, 2020
4 Years ago
uquelighted questions
;