CentOS 5 :: Output Of 'yum List Installed' From A Standard 5.1 Installation
Mar 22, 2009
I would like to get the output from 'yum list installed' from a standard CentOS 5.1 32bit installation on a Intel desktop PC. I would like to do a diff with my 'yum list installed' to figure out exactly what my company customized. I know the docs here have the list of added, deleted and updated packages going from 5.0 to 5.1, but is there a complete 'yum list installed' list somewhere?
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.
How would I list 4 users ID numbered 10, 11, 12 and 13 from my users list and output them to a file busers where their names are numbered by ascending order? How would I accomplish that on a one line command?
I'm working on a SBC9261 board with touchscreen, running Linux 2.6.24./dev/ttyS0 is the standard output and /dev/tty0 is the console on the touchscreen.What I would like to do is to clone the standard output to the touchscreen, so the console would be displayed twice.
When I run yum list installed command the output shows two kernels:
[Code].....
Would it therefore be safe to remove the first kernel in the installed list to save having two kernels being updated everytime I run yum update? Or is the PAE kernel dependant upon the original?
I'm trying to pull out sections from a bunch of files. For one file, I use:
Code: sed '/string1/,/string2/ !d' <filename.ext >newfilename.ext to pull out everything between two strings in the original file and put them in a new file.
have recently installed CentOS 5.6 Final on TWO DIFFERENT desktop PC's, and, on EITHER ONE, I can not get any sound output when using KMid to play a "standard .mid file (the file I am using to experiment with is "Canyon.mid", from the Windoze Media directory, a fairly standard midi audio file, I should think?!). I have normal audio output on both of these machines (.mp3 files, system sounds, etc.), so the specific sound cards are NOT the issue, here!I am thinking I must be missing something, as both of these PC's are completely different CPU types, etc. as well. The only significant similiarity in the two machines is the complete lack of MIDI audio output!And, yea, the soundcards are BOTH MPU-401 compatible, and they both have irq's assigned to this port (or, maybe just one has an irq assigned, I will have to double check...).
I am working on telnet session and excuting commands. I am able to redirect or store expect output to log file but now i want to store in excel file like ispreadsheet showing details of commands and its responses
I'm considering rebuilding my system. Is there any way to get the list of software that I added? I know I can see the list of installed software in Ubuntu Software Center, but that list includes items that were included. Rather than going through that long list to see what was included and what I added, is there a way to see only the items I added?
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'm following the "The Perfect Server - Fedora12 x86_64 [ISPConfig 3]" instructions and I am encountering an error when trying to build the rpm for courier-imap (from page 4 of the HOWTO).
I am beginner in ubuntu. I wish to run the programs that will display a picture which use the ffmpeg, sdl and lame. When I type gcc -o exercise exercise1.c 'sdl-config --cflags --libs' to compile the program it give this such of error :gcc: sdl-config --cflags --libs: No such file or directory. I have installed the gcc packages, SDL, FFMPEG, LAME but still cannot display the output. What should I do with the gcc packages?
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 prefer to do a clean install of each new version of Ubuntu.I do have a separate /home partition which I preserve during each new install. I also have many additional packages installed.My question is:How do I preserve the list of installed additional software so that I may readily reinstall all of it after each upgrade?
Is there already a program that reads multiple pipes or file descriptors and writes to the standard output (not splitting lines).Like cat, but reading all files simultaneously and preserving lines.It is needed to avoid coding of select/epoll loops or using multithreading in simple programs. Like "select loop for bash".
I understand there is a file that stores the repositories' information, but I can't find it!Is there a way I can create a list of what applications have been installed?The idea is that if I am running a backup, finding a way to save the repository list and applications installed so if I am upgrading, or fixing a borked system by re-installing Fedora, I could copy the repo list back, and run the applications list like ode:yum install <cat apps.txt?> and get all of the applications I've installed via Yum without having to remember them all?Is there anything else, outside of /home, I should look at backing up? SELinux settings?
We make everyday a DB Mysql backup on Linux redhat Enterprise. We are using a bash shell script (and putting it in the crontab) to execute it automatically everyday. We added a line to this script telling, once the backup has completed, to find old backup files (stored on hard disk after each backup) older than x days to remove them. We use the find command (search for file type) with the mtime option and in combination with rm command. Everything runs ok but we also want to add some new code to the same line: If find command cannot find anything or fails, for example if it cannot delete file or fails, send the error message (standard error output) to an error file (like error000001 and increasing) and mail the errorxxxx file to an email address for example to admin@companyname.com. What would be the code for this issue to add it to our find command in the same bash shell script??
I haven't tried CentOS in a log time, but CentOS 6 is coming out in a while, so I thought about trying it again. I'm using Fedora now and I like it, but I'm still reinstalling at least once a year. I'd like to get to the point where I can just sit on CentOS and update to reasonably up-to-date software without having to go through the trouble of compiling, etc.
So, I'm getting ready to install CentOS 5.6 in a virtual machine to play with. What repositories should I install and which ones are compatible? I'm using RPM Fusion now with Fedora with a handful of others for specific software not available in RPM Fusion.
I used parted to create a partition inside the logical volume, and then merrily used that partition, which appeared as /dev/pv-whatever/lv-whateverp1
Of course I created the FS as ext3.
So, after a reboot, I can't access anything in that logical volume with standard tools, as /dev/pv-whatever now only has the lv-whatever special file inside.
I can look inside the LV with parted fine, but parted can't copy ext3 filesystems.
Is there any way to get the data out of a partition created INSIDE a logical volume if that filesystem is ext3?