Debian :: Remove All Of Kde In One Command?
Jan 29, 2010How do I remove all of kde in one command except for the kde packages that I have installed before doing apt-get install kde?
View 14 RepliesHow do I remove all of kde in one command except for the kde packages that I have installed before doing apt-get install kde?
View 14 RepliesHow to remove a program by the command
Code:
./configure
make
sudo make install
installed?
I have a problem where in order to satisfy RPM dependencies, I need to remove packages and downgrade them in the same command. Imagine the following situation Before
A v2.0 depends on B,C
B v2.0 depends on C > 1.0
C v1.1
After
A v1.0 depends on C
C v 1.0
If I issue a
$ rpm -Uvh --oldpackage Av1.0.rpm Cv1.0.rpm
it will fail with "B depends on C > 1.0" If I issue a
$ rpm -e B
it will fail with "A requires B" so I appear to be in a catch-22. The obvious solution is to use a "--nodeps" and remove B before doing the downgrade, but I am creating these commands programmatically so I was hoping to use dependency resolution as a sanity check against an incorrect script. Is there any way to perform this downgrade without breaking the RPM dependency sanity checks by force?
I have just switched to banshee as my media player and imported my films and music. Problem is, the video list is quite hard to read because all the video files have spaces in their names which are replaced by % signs, numbers and letters. I'm wondering if there is a command I can use in the directory that will automatically remove all the spaces from the filenames or better still, replace the spaces with hyphens or underscores?
View 6 Replies View RelatedI am reading the output of /proc/acpi/thermal_zone/ATF0/temperature in a program to read my CPU temp. I am using cat like the following:
Code:
#cat /proc/acpi/thermal_zone/ATF0/temperature
temperature: 49 C
I basically want to get rid of the spaces in between temperature and the actual temperature. Is there a command I can pipe the cat output to, to remove the spaces. I have seen suggestions for sed, or tr, but for some reason I cannot get them to work properly.
i want to remove words "Max" and "constrained" in a file given below:
Max 0.003745 constrained
Max 0.004549 constrained
Max 0.001689 constrained
[code]....
and further want to replace "Max" by line number so that i can plot the resulting file. i searched in forum, but couldn't do what i wanted to do. e.g. i used
1)grep command
grep -v "Max" inputfile >outputfile
deletes whole line,and hence whole text.
2) sed command
cat inputfile |sed 's/ .{1,12} //g' >outputfile
gives output
0.003745constrained
0.004549constrained
0.001689constrained
[code]....
When using the pr command for formatting simple text files for printing, page numbers are included in the header by default. I figured out how to remove the date from the header (pr -D ""), and how to remove the title (pr -h ""), but for the life of me I can't figure out how to remove page numbering from the header. Anybody know how/if this can be accomplished?
View 1 Replies View RelatedI am using this command for blocking some ipaddress. but now i want to remove iapddress. when i try # route delete 64.126.45.122 SIOCDELRT: No such process
View 1 Replies View RelatedI can't find a Yum command to clean up no longer needed dependencies, you know similar to apt-get autoremove. Or does yum do this with the erase or remove command? btw: yum-clean-all just flushes out the cache right?
View 2 Replies View RelatedI wanted to know command to triggered "Safely Remove Drive".So I could implement it on Hardy 8.04
http://ubuntuforums.org/showthread.p...88#post8674988
My console fu is a bit lacking, as it seems that I can't figure out how to uninstall all packages containing a certain expression.
I tried: apt-get remove *expression*
If I click right-click on a drive in nautlius and do 'safely remove drive', the external hard-drive stops spinning.
What is the terminal equivalent? If I do 'pumount' it is unmounted, but the hard-drive continues spinning.
1. Find everything that belongs to KDE in /usr/bin/
2. Show me what it is
3. (Give me an option to) delete it
A note about what did not remove mentioned;
Code:
apt-get remove kde --purge
apt-get autoremove
Im using this unix command(in a php file) to remove a certain string and then remove the whitespace left by that string. Unofrtunately in many cases, the files get completely erased. Is there a workaround?
Code
<?php
$dir = "./";
$rmcode = `find $dir -name "*.php"
[cod3e]....
Where exactly are the temporary files stored, in /tmp or /var/tmp. How can i remove temporary files through command line? What is the difference between these two directories?
View 2 Replies View RelatedI have a centos server x86_64 arch installed - i am getting some issues where i want to update rpms but because there is a equivliant i386 package installed i get dependency errors.Is it safe to run this command to remove all i386 packages - will my system still boot after this yum remove *.i?86
View 1 Replies View RelatedYesterday i finally got around to installing my graphics card (NVIDIA GeForce 8400M CS) on fedora 12 by using the command yum install kmod-nvidia the terminal then told me that it installed correctly so i rebooted my system. Now when i boot up into fedora, it loads and when the sign in window is about to appear instead my screen shows random colors all over the place. I am hoping someone can tell me how to remove this via the command line prior to actually starting fedora.
View 2 Replies View RelatedI've just added an application to load on startup in gnome.At first gnome loads properly,but after few seconds that application starts automatically and I can see its icon on taskbar , then gnome freezes and I can't do anything in gui.
How I can remove that application from starup of gnome using command line?
What command should I use to remove orphaned packages or units?
View 3 Replies View RelatedHow to remove all foldernames which contains spaces in Desktop with a single command?
View 7 Replies View RelatedI want to delete all files within a specific folder without actually deleting the folder, what is a good bash command for this?. I found this one but encountered some errors even though I am executing it within the specific folder:
useratdebian:/home/user/folder# find . -type f -exec rm -rf {} ;
[1] 5052
useratdebian:/home/user/folder# find: missing argument to `-exec'
[1]+ Exit 1 find . -type f -exec rm -rf
The command as it appears is:
find . -type f -exec rm -rf {} ;
how to delete only the files contained within the folder called "folder" for example?
An app failed to load properly and now i'm stuck in a sequence I don;t understand the solution for.
sudo apt-get autoremove
dpkg was interupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
how to write a script so that when I use the 'del' command it removes/sends the files / folders to a I specify for example 'dustbin'
View 1 Replies View RelatedI have a file with tens of thousands of lines. I need to remove specific letters eg eggs, from every line that has the letters in it. Is there a command which can help me do that easily?
View 4 Replies View RelatedIs there any way to quickly remove multiple related packages from the command line instead of having to enter the name of every single one? I am trying to remove OpenOffice from my server running 10.04. It would work nicely if I could get a list of packages without line breaks, such as the list displayed by aptitude when upgrading. That way I could just paste the package list into the terminal. However, "aptitude search 'openoffice'" dumps a long list on many lines that cannot be used that way.
View 3 Replies View RelatedWhat is the single command that will remove all 'other'permissions from all files and directories under /home.
Just starting to learn Linux.
Remove the sudo command software packages without damaging my system?
View 9 Replies View RelatedI need to remove a large binary file(PDF file) from a large log file which is generated daily.This is seriously hogging space on our servers.I need to remove the large PDF from the logs to make the logs smaller and manageable
I need to take out the texts (or binary file) between the strings
<my:PDF> and </my:PDF>
<applicationForm> and </applicationForm>
<image> and </image>
<extractedSignature> and </extractedSignature>
I am not sure whether sed utility can do this, these are large files and need to be pruned .I am not seeking logrotation advice just a script or command that can strip these large logs of texts between the characters above . I am not sure how to do this.These files are rather large.I am not sure how to achieve this with sed , tail, head , tr or any other facility .
i am working on a project that uses message queues. i am able to successfully create them and they are working fine. now the problem is to close/remove message queues without software or mq_close / mq_unlink command. earlier when i worked on rh9, there is ipcs utility. we use ipcs to see all the existing message queues and ipcrm to remove them. however ipcs is not working for message queues in RHEL 5.3. Neither ipcs shows the exisiting message queues and neither we are able to use ipcrm. Plz guide to close/remove the queues with ipcs or any other command/utility from shell itself.
View 1 Replies View RelatedDoes anyone know if I can successfully remove / delete the 'debian-sys-maint' account from MySQL? I noticed it there and appears to be something the Debian developers / maintainers of MySQL package added. I am guessing it's there to manage package updates and system maintenance as a back door of sorts. Anyone know if I can remove this account and not break the package or database?
[Code]...