Apt-get list available files


















Create a free Team What is Teams? Learn more. List of files installed from apt package Ask Question. Asked 12 years ago. Active 2 days ago. Viewed k times. Improve this question.

David Nehme. David Nehme David Nehme 1, 4 4 gold badges 12 12 silver badges 13 13 bronze badges. Similar on SU superuser. Add a comment. Active Oldest Votes. Improve this answer. Show 4 more comments. Great tip about restoring on another machine. And sometimes system updates an app that you specifically wish system to not touch it ever, do fire this at end of commands sudo apt-mark hold name-your-package.

This will prevent apt-get from upgrading to current version which is the default for updating process. Pablo Bianchi 9, 3 3 gold badges 51 51 silver badges 92 92 bronze badges.

Tim Tisdall Tim Tisdall 1, 10 10 silver badges 11 11 bronze badges. On Debian "apt-mark showmanual" didn't work on "squeeze" but worked on "wheezy" — Wadih M. Like with most other answers, apt-mark showmanual doesn't really. It also lists tons of automatically installed packages, probably part of the base install. Well the question was for installed packages and this gives all installed packages minus the automatically installed dependencies.

It does include the initial packages as part of the initial install. I guess you could run this on a fresh install to get a list of the default installs and then subtract that from this to see the difference.

No one mention this alternative to list manually installed packages: apt list --manual-installed. Nerdfest Nerdfest 4, 2 2 gold badges 26 26 silver badges 29 29 bronze badges. Tamer Tamer 4 4 silver badges 7 7 bronze badges. I am not trying a complete mirror, but only the fact of taking config files into account is awesome.

I was looking for such a tool for a while now, thank you very much! It is much better than the dpkg --get-selections solution because: It preserves all repositories information. It keeps track of what packages were automatically installed. It allows to repack locally installed DEB files. Sadi Sadi You want to reinstall the packages now there on When you will install fresh, that computer will be considered a new computer.

You just have to sign in to your Ubuntu account and your previous computer will be shown. Click on it; you'll get a list of all apps. Select "install" on the app you want to install. Nirmik Nirmik 7, 15 15 gold badges 55 55 silver badges 86 86 bronze badges. I set the same name for my computer on a fresh installation to prevent from huge downloading from Ubuntu One server each time.

Do you think that this work for me? Maythux Maythux Then you can use the list as input to 'dpkg --set-selections' and install the packages with apt-get: scp user oldserver:user-installed. SebMa 1, 1 1 gold badge 17 17 silver badges 26 26 bronze badges. The package cache. The source cache. TLDR; I eventually found that apt --installed list gives best result as suggested in top answer above. Although apt-cache pkgnames seems to do the trick at first glance, it lists "all packages in the system" per the help text above , which also includes packages which apt knows about but aren't actually installed.

There's a --installed option but it doesn't seem to work with pkgnames. Help out this community wiki - Add up-to-date solutions. Podcast Making Agile work for data science. Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually.

Related 1. Hot Network Questions. Question feed. Stack Overflow works best with JavaScript enabled. Yes, add me to your new blog post notifications list. Terms of Service and other policies. Managed Solutions. SSL by brand. SSL by Type.



0コメント

  • 1000 / 1000