how can i delete files i installed with the linux terminal?

computer info linux terminal on this site is dedicated to the range of video terminals produced by ...
computer info linux terminal image




1Man1God


i just now installed ubuntu and first i installed eclipse with the terminal (sodu apt get) command, it was taking way to long to install so i canceld it and realized i could install eclipse with synaptics.

so my question is first, where do the files go installed via terminal if i cancel it and if i dont.

also i installed ubuntu yesterday on a 74gig partition and now i only have 11gigs left... why? i didnt do anything yet except install a bunch of php editors. (5)



Answer
Since you seem to like to use the terminal:
To delete files that you installed with apt use
sudo apt-get remove --purge name_of_package
Adding --purge to the command will remove any config files also; a really complete removal of any package.
If you have some file that you want to delete use the rm command.
Synaptic will not install programs any faster than apt-get, it is just a gui where you can easily also search for programs.
If you install a program with synaptic or apt-get the files will go to /var/cache/apt/archives, whether you cancel or not.
To see what is on your hard drive you can use konqueror (gui) or the du command in the terminal. See the last link.
Be careful about deleting "strange" files. You can use synaptic to see what is installed on your computer and get a short description of the program. To get info about a particular file use the commands:
apt-cache show name_of_file
apt-cache depends name_of_file
Good luck

On which partition does Linux get installed to when it is installed alongside Windows?




Habbes


I recently downloaded and installed Linux Mint 4 on a notebook already loaded with Windows 7. Prior to installation I had created a 100GB partition where I would install Linux. During installation, I was given 3 options:1)Install alongside Win7 2)Replace Win7 3)Something else (manage partitions). I actually went with option 1. Once it was done, it seemed to work ok but I can't tell on which drive it has been installed. The 100GB blank partition is still unused, and when I go to Disk Mgmnt in Windows, the other partitions are the Recovery and OS (where Win7 is located). In Linux I only see the OS drive in "Computer", I'm not sure whether it was installed on the same partition as Win7 (I'm new to Linux). Not I want to uninstall it and during installation choose option 3 and manually set it to install to the 100GB partition, though I'm not sure how to uninstall and remove Linux when I'm not sure where it's located. I heard one should first restore window's MBR and the remove the Linux partition.
Thanks for the answers, let me try them out. I mean Linux Mint 14, not 4



Answer
As you can see from the first link linux mint 4 is very old and no longer supported. I wold not be surprised if you were unable to install any software from the mint repository. You should definitely install a newer version; mint 13 or later.
Linux cannot run on a windows partition so it will not be on the C; drive.
There is a GUI program called gparted which will tell you about all your partitions and what is on them.If you do not have it and cannot install it you will have to use the terminal.
Try these commands:
mount
This will list which partitions are currently be used by linux mint. Look for a line that looks like this
/dev/sda1 on / ext3
It will have more info but / indicates the root partition where most of linux is stored and /dev indicates the partition in linux speak. Hard drive a named sda or hda, sdb or hdb, etc. and the partitions a numerated 1 2 3 (sda1, sda2, etc). Note where / is mounted.
Next run the command
cfdisk /dev/sdx
replace the x with what you found with the mount command. THat will tell you what partitions you have on that hard drive. If you have more than 1 hard drive installed cfdisk /dev/sdb will work. You should also see any windows partitions listed as ntfs or fat32.
Now you should know your partition layout and where windows and linux are located. Linux will also create a partition called swap that is used to help memory.
You do not have to worry about the MBR if you are reinstalling linux. The reinstall will install a new grub (linux bootloader) and you will still be able to boot windows.
You cannot delete the linux partitions while they are in use. When you reinstall mint select the manual option and delete the non windows partitions (ext2, ext3, swap) and be careful not to select the windows partitions. You should know the location from the previous commands. It is always a good idea to backup any important files when manipulating partitions.
Reinstall mint and install grub to the first hard drive /dev/sda (not /dev/sda1).
100GB is a lot of space for linux, but no harm in doing that. You will also need a few GBs for swap.
You can contact me by email if you need to follow up.
Good luck




Powered by Yahoo! Answers

Comments :

0 komentar to “how can i delete files i installed with the linux terminal?”
 

Sexy Lace Bikini

Leave little to the imagination in this super sexy booty short bikini transparent lace. Adjustable triangle top with peek-a-boo slits ties at neck and back. Matching ruffled booty shorts leave so little to the imagination! 90% Nylon 10% Spandex. Four way stretch means one size fits most. Unlined. Club Wear by Body Zone Read More

LG Scarlet

This event, which was attended by more than 200 media from Middle East and Africa, followed earlier events in Los Angeles and in London that drew celebrities for a mock premiere event to reveal the secret of “Scarlet, The Hit New TV Series,” which had been promoted through broadcast and online trailers.