How to download a program from a linux repository without installing it?

Asked

Viewed 84 times

-4

I wonder if it is possible, if yes, how to download a program from a linux repository without installing it. The reason is that almost every time I want to install software, I can use a command on the terminal that allows me to install, but in that case I would like to just download and store the installer. Does anyone know how to proceed? The specific system I use is Deepin.

  • This question does not belong to the scope of the site, because it has no relationship with programming.

1 answer

-1


You may be able to use the following command:

sudo apt download <nome do(s) pacote(s)>

Downloading a tar.gz with the . deb inside will be done in the directory you were in when running the command, but it will belong to root. To have access just use:

sudo chmod 777 nome_do_arquivo.tar.gz

Then just unpack to find the . deb.

  • The command was working, was downloading, but Deepin blocked the access and in the end did not work. But anyway, is the answer.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.