LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   command-line program removal (https://www.linuxquestions.org/questions/linux-software-2/command-line-program-removal-257701/)

DJOtaku 11-21-2004 04:37 PM

command-line program removal
 
Hey,

On my server I've completely lost the ability to boot into graphical stuff. I don't care anymore because it's just a server and I can do everything I need to do relative to running a server in the command line. So my question is, how, using RPM or yum, do I get rid of programs such as Koffice, Openoffice, etc. I have no need for them and need to clear up space in the server.

Thanks

DJOtaku 11-21-2004 04:40 PM

to be a little more specific, how do I make sure that all of the libraries and everything else associated with it are deleted too.

acid_kewpie 11-21-2004 04:44 PM

"rpm -e koffice" to remove koffice etc... you'll presumably have kde installed too... so you can "rpm -e kde" potentially too. "rpm -qa" to list all installed packages

DJOtaku 11-21-2004 04:50 PM

THANKS! That was EXTREMELY helpful

DJOtaku 11-21-2004 04:52 PM

is there something like dir /p for dos in the rpm -qa command? It just streams by so quickly.

bones996 11-21-2004 06:11 PM

Redirect the output of "rpm -qa" to a file & then view the file. The following will do this for you "rpm -qa > rpm.txt" where rpm.txt is the file where the output is redirected to - it can be named anything you like.

DJOtaku 11-21-2004 06:39 PM

thanks alot! Linuxquestions.org is so awesome!

ahh 11-21-2004 07:20 PM

Quote:

is there something like dir /p for dos in the rpm -qa command? It just streams by so quickly.
In case you need it in the future, pipe a command to the program "less"
Code:

rpm -qa | less
Or if you don't have less on your pc, more.

Strangely, this is one case where less IS more :)


All times are GMT -5. The time now is 12:07 PM.