Apt-cache search open office german download




















I think pre-depends is required to be installed. I found that it downloaded both the amd64 and i versions for some packages. Show 2 more comments. This only works if you do not have the package or its dependencies installed locally. In real world situations this doesn't work for you.

I guess this will work if you can keep both installations, source presumably connected to the Internet and the target with no Internet connection exactly the same, for example installing Ubuntu from same ISO on both machines and then cleaning all. Doesn't get dependencies at all for me Ubuntu Show 3 more comments.

Nimantha 5, 5 5 gold badges 18 18 silver badges 50 50 bronze badges. FSp FSp 1, 16 16 silver badges 37 37 bronze badges. Adding -qq to the apt-get line removes the need for the grep and the need for --assume-yes — jpaugh. Binzxxxxxx — MacMartin. Also does NOT require sudo to run sript! I had to add another line to handle PreDepends though. How do I use this to download packages for some other version of ubuntu like version 14 — aprilian.

Thanks a lot for this. I wanted to download texlive-full --install-recommends and only ended up with a metapackage called texlive-full in my archives. I don't know about cache. You will have to try it yourself askubuntu. Once the files have been obtained, what command would you use to make sure all these files are used when performing an offline installation?

I think if you do dpkg -i package. On different machine run the same command without ' -d '. Saves you from downloading and copying a bunch of packages that are already installed.

No I don't. How the cache is created, refreshed is it periodic, once a day or manual. As far as I read, the cache is refreshed manually. Assuming there is one package that has the new version, how does apt-cache updates its cache? Hi, How can i search through installed applications? In particular I want to search with a keyword in both package name and description for installed package? You can use the following command to search for a particular packages, for example apache in this case.

Sorry if I was not clear. I specifically need to look into list of packages that are installed in my system. I work in many places offline no Internet access. So how do I re-download all. Have a question or suggestion? Please leave a comment to start the discussion. What does search functionality have to do with caches? If you want only to search by name, use the --names-only argument. For more information, read the man apt-cache , it would be useful.

This is the cache from your "subscribed" repositories. There are a couple of additional locations for other types of package information. See man apt-cache for more details. Essentially, running apt-cache search git will return all instances of available packages containing the word sequence "git" in the package name, as well as in the package description.

For example, this means that any package that may contain the word sequence "git" in it, like the word "di git al", in its description will also be returned as a result. Please note the bold in the previous sentence. If you are only interested in packages that are specifically concerned with git - the source control manager, you will need to restrict your query to using a regular expression in order to make the search results more restrictive. That said, you will need to tune your queries of the package cache to be more specific to your interest.

Hope this helps. This is an indirect answer to your question but still related to it since it's about package management. I personally use aptitude instead of apt-get. Install apt-xapian-index and use axi-cache search when searching instead of apt--cache. You'll get much better results. Hit y and then Enter to confirm, after that the Aptitude will be installed on your system.

Now, in order to search for a package through aptitude, type apt search followed by the keyword related to the package name. That is all there is to it! In this article, we have learned how to search for a package using the apt-cache search command. In addition, we also learned the use of apt search and the aptitude command to search for a package.

I hope it will be helpful whenever you need to search for either an installed or installable package in your system. Karim Buzdar holds a degree in telecommunication engineering and holds several sysadmin certifications. As an IT engineer and technical author, he writes for various web sites. He blogs at LinuxWays. Ever faced a problem while installation for apt package, when you do not know the exact package name.

As with apt, you have to provide the full name of the package in order to install it such as apt install apache2. If you do not provide the exact name and just type apache , it will not be going to install. The same goes true while removing an apt package.



0コメント

  • 1000 / 1000