Question: I am working in an air-gapped environment where there is no internet.

I would like to install certain packages that are in my home directory. These packages are put here through USB device. Now, I have 50 `.deb` files in my home directory. And I would like to install them using `sudo apt install`.

Can help me on how can I make the `sudo apt install` command recognize this path?

I am new to Ubuntu. So, can anyone provide step by step info please?

Answer: 
You can use different paths:

via `apt` - `sudo apt install /path/to/package`

or via `dpkg` - `sudo dpkg -i /path/to/package`

If you want to install all packages in directory you can use something like:

```
sudo apt install /path/to/packages/*

```
another way if all packages (with depencecies are in one folder)

```
sudo apt-get -o dir::cache::archives="Path/to/folder/with/debs" install what ever.

```

Only tested from me with apt-get not with apt.