Software :: What Program To List All Installed Packages In A Text File And Compare 2 Lists
Feb 22, 2011
I need to get names of all installed packages in 2 machines and save them in 2 text files, then I want to compare these 2 files to know the differences between 2 files and from that I could know the differences between 2 machines. Is it possible to do that and what program I could use?
Is it possible to list/find/compare the program versions on a Centos system, against Redhat/Centos Errata/Security/Bug lists? Sort of looking for a way to make sure that all the packages on a system are ok, and not a security risk-- Without having to update every package. A pseudo code, in my mind is:
I have an internal hard drive and an external hard drive, both with about 350 GB of data. The data came from the same source, but over the last couple of years, different people have moved files around to different directories, and some files have been deleted. Now I want to merge all the files onto the internal hard drive. I estimate that 80% of the files on the external hard drive are the same, so I don't want to copy 290+ GB of data over when I already have it.
Therefore, I need a way to find just the files on the external hard drive that don't already exist on the internal one. In other words, I need to create two lists of file names irrespective of directories and compare them, selecting only the file names that exist in one list OR the other. I've Googled for solutions but can't find anything suitable. There are ways to create text files of the file names and compare them with diff, but they have to be in the same order, and since these files are in vastly different directories, that won't work.
I have a system that will not boot as /usr has been destroyed and I would like to get a list of installed packages before re-installing. I know that it's possible to get this using dpkg or apt, but I cannot run those.
Where in the filesystem is this information stored and what's the best way to get a list of installed apps from the files?
I am trying to compare a list of patterns from one file and grep them against another file and print out only the unique patterns. Unfortunately these files are so large that they have yet to run to completion. Here's the command that I used:
Code: grep -L -f file_one.txt file_two.txt > output.output Here's some example data:
How do you list only installed packages that were not installed automatically? I see in aptitude that it will list whether they were installed automatically or not, but it is hard to find them because the are a lot more installed automatically than non-automatically.
I can't remember if branch is the correct term but I am talking stable, testing or unstable.
i have looked through the dpkg and aptitude man pages but can't seem to find if there is a way to search which packages on the system are installed from a specific branch. Is there a way to do this?
I want to list all installed packages by keyword. For example I want to know what packages were installed related to "game". How can I do that in Fedora?
I tried 'yum list installed', 'you search' ... but still can't find a solution. I'm not a yum expert .
In MacPorts, the ports I would be looking for are the requested ports. They have a system so that when you install a port, that port is marked as requested. Also if you want to keep a port that was installed as a dependency, you can set it to be requested manually. Does the Debian system have the same functionality? It seems that there are some utilities that get that done..
I'm working on a script that keeps track of user explicitly installed packages (no deps, no default packages), where can I found a list of ubuntu natty preinstalled packages ? Is there some file in the filesystem or in installation disc ?
I would like to know what packages are currently installed in my linux machine. My machine is running CentOS 5.4. There is no GUI. All I have is command line interface.
I have realized that in not installing suggested packages I've missed out on a ton of doc files, which would really come in handy while I'm away from internet access.
Is there a way take a list of currently installed packages and find out which of them have doc packages available? Possibly install them in a single step? I have been playing around with aptitude and apt-rdepends, but I'm not quite sure how to go about this. Somehow take a list of installed packages, run it through an apt-cache search, and end up with a list of -doc packages to install? My bash-fu isn't the greatest, and I suppose this could be a bad idea to begin with.
I wounder how I should do to find out what packages I have explicitly installed on the system, NOT including the dependencies. The purpose is to get a figure of what packages I need to install when I reinstall my system.In Gentoo one can look at the world-file (/var/lib/portage/world) which is a list of my explicitly installed packages, not including system packages (located in /var/lib/portage/system)
I'm migrating to a new Lucid Lynx machine, and I'd like to install all of the packages that I currently have installed on my old machine.Is there a way to query a list of all packages that are currently installed on a particular system, such that I could simply throw this list at apt-get on a new system
I'd like to list all packages I installed since the installation. The tricky part is that I don't care for dependencies - only clean list of what I ordered to install. I went through man pages and I did not find anything relevant. Also /var/log/apt/history* doesn't say what I requested and what came as a dependency.
For gentoo-aware folks, I am looking for something like "world" file.
I am having to reinstall ubuntu because of my silly mistake. Anyway, my questions is, when booting from live cd, how would I get the terminal to print out what I have listed on my actual hard drive? I know this works if I am logged into my actual Ubuntu hard drive, but I can't do that: dpkg --get-selections > installed-software.I am trying to get a list of installed packages because I can't actually boot into my current ubuntu hard drive
I have a dead system that was running Debian Linux (lenny). I can boot into emergency mode, but nothing else. I will likely have to reinstall Debian. I've read lots of things online about how to get a list of currently installed packages. Which is fine and dandy if the system is working and I can log into it. I'm basically wanting to extract such a list from a hard drive containing an installation I can't log into normally. I can access the filesystem just fine, and nothing related to aptitude has been damaged.
Is there any way that I can get a list of packages (on the command line) that have been installed manually i.e. all those that haven't been installed as dependencies? I think this must be possible as apt seems to know which dependency packages are no longer required i.e. apt-get autoremove
Can I keep the old 32bit_testing /home with all the hidden directories there when moving to 64bit_testing?
Is there a way to export a list of all installed packages in aptitude or synaptic, so that when reinstalling, it can be easily imported? (reinstalling the same system)
On some computers I can not use graphical installation interface of Fedora 9. So I use text mode.I would like to have a very small installation with very few installed packages, so at package selection I uncheck everything. In text mode installation there is no option to customize installed packages down to package names. I can only check main themes.So I uncheck everything and installation starts. This method results over 400 packages to bo installed... This is too much with many unnecessary packages.If I use graphical interface and uncheck every package name at custom package selection then about 150 packages will be installed.Is there any good way to use textmode installation and don't install more than 400 packages?
I was working on my flash drive install of Ubuntu, when I squashfsed my /usr. Long story short, I some how ended up with a working /usr, but with a few packages marked as installed, but not having its components installed (emacs). When I try to remove emacs (emacs23-nox), it gives me numerous errors about files (all relating to emacs) not existing (all in /usr). Thus my questions are as follows:
1) Is there a way to force the removal without it caring about missing packages?
-OR-
2) Is there a way to reload which packages are installed by checking which files exist, etc?