The command syntax is:. Note the importance of the -f command line parameter. You need it to have APT automatically install package dependencies for you. Alternatively, you can use the GDebi software program, in case you prefer a program with a graphical user interface.
You can also use APT to remove the package and its dependencies from your system. It is a two step process. First remove the actual package and then its dependencies. APT automatically figures out which dependencies it no longer needs:.
Personally, I highly recommend getting comfortable with working from the terminal on Linux. It might strike you as inconvenient at first, but the Linux terminal offers so many powerful tools. Things such as grep , find , awk , sed and many more. As a first practice you can go through the article that teaches you how to edit text files from the terminal with Nano. Long term Linux enthusiast, open source software developer and technical writer.
Skip to content About Contact us. PragmaticLinux Long term Linux enthusiast, open source software developer and technical writer. You might also like. Otherwise, the --download-only option to apt-get is your friend: -d, --download-only Download only; package files are only retrieved, not unpacked or installed.
Dirk Eddelbuettel Dirk Eddelbuettel k 54 54 gold badges silver badges bronze badges. It avoids problems faced by apt-get when the package is already installed — biocyberman. It's simpler than any of the other suggested answers, but it's easy to miss since it's just a comment. BrooksMoses: I can't do that anymore, the question is closed. Show 5 more comments. Alfonso Vila Alfonso Vila 3 3 silver badges 2 2 bronze badges. Was searching for this information for almost an hour now.
On This doesn't appear to download anything if the package is already up-to-date on the system. Show 1 more comment. The Overflow Blog. I'm just curious, why would you avoid creating the folder? I do not need to store the package forever and avoid creating the folder saves time too. Just wanted to note that this solution will also insist on package removal e. Aaron Santavicca Aaron Santavicca 51 1 1 silver badge 1 1 bronze badge.
This is perfect. All other solutions I tried don't work if apt install can't meet all dependency requirements. I just wanted the. For example, with contents like this: apache2-mpm-event curl dmidecode ethtool libapache2-mod-wsgi libapache2-mod-python Hope this helps.
Michael Terry Michael Terry 3, 18 18 silver badges 34 34 bronze badges. This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post.
How doesn't it provide an answer? This downloads a deb from the archive to the current directory. Is that not exactly what the question was? A bit more detail may be useful. While this technically qualifies as an answer, you may still want to provide more than two commands. It's a simple answer to a straightforward question. I think the problem with this method is that the download still requires administrative privileges.
It seems silly to go to such extremes just to get a file into your home directory. Opening the. Shayan Shayan 1, 14 14 silver badges 31 31 bronze badges. Luckily, each Debian package has a small file in control.
To view this file, use cat. For example, to use Google Chrome, the control file asks for ca-certificates, fonts-liberation, libappindicator1, libasound2, libatk-bridge2. Read through this file carefully, and use it to install the individual libraries on your Linux PC. When the correct programs are on your PC, the extracted program should work like normal.
I successfully fired up Tracktion Waveform 11 on Solus 4. Also, Arch does this automatically with the AUR. Essentially, if you want a Debian package bad enough, follow this method and it will likely work. Did I miss something here?
How do you ship and install such a restructured DEB? Do you tar. Debian packages are really just AR archives with data inside.
0コメント