Saturday, April 20, 2013

How do you uninstall programs in linux slax?

Q. I just put slax on a pendrive and I want to get rid of some programs. How do you do that?

A. This is taken from http://www.slax.org/forum.php?action=view&parentID=9231

Here are a few tips on how to remove packages from modules rather easily and quickly. It might be the method you use, but it seems to me, by what you writ,e that you just remove files you find an not the entire package(s).
Here's how I do it (Wolvix 1.1.0):

1. Extract the module to a temporary directory:

lzm2dir name_of_module.lzm tempdirectory/2. Inside the 'tempdirectory/' look for the var/log/packages/ folder. Inside it is a list of all packages which have been installed to the module. Since the packages have been installed to the modules we can uninstall them with the 'removepkg' command, just like you would on Slackware, but there's a little trick to it. You have to use the 'ROOT=' parameter. Here's an example:

ROOT=tempdirectory/ removepkg name_of_packageThe 'ROOT=' parameter tells the system to remove the package from the target directory and not from the system it self.
Example:

ROOT=tempdirectory/ removepkg audaciousYou can also remove several packages at once:

ROOT=tempdirectory/ removepkg audacious streamtuner mplayerOnce one or more packages have been removed from the module, look in tempdirectory/var/log/removed_packages and tempdirectory/var/log/removeed_scripts.
In those dirs you'll see the list of removed packages and scripts. You don't need those files anymore, so you can just delete them if you want. They are just log files.

LUg.

How Do I Format a Flash Drive on Linux Mint 12 LXDE/KDE?
Q. How do I format my Flash Drive or "PENDRIVE" on Linux Mint 12 Lisa LXDE? When I right click on it all it says is eject.

I'm assuming I need to download something? When I had Ubuntu UI via Linux Mint I just right clicked > format. Now on the default Linux Mint 12 interface it just says eject.

A. You have to use gParted.
Or it might named "Partition Editor" or something with "Disk".
You will find it in the main menu, under "System" or "system Tools".

Once you open the gParted, you will understand it. If you don't look for the devices on upper right corner. primary hard disk is named either hda or sda. the partitions are 1,2,3 n so on. eg C drive will be called as had1, D as hda2 n so on.
If you have another hard disk, it will be named as hdb1, hdb2, n so on.

If you are not sure about the name of your pen drive, you can guess it by size.

once you get your flash drive, you will have to right click on it. you will get several options after that. including "delete" and so on. Simply choose "format to>" n it will show a lot of file systems. choose the one you want. (usually FAT32, or NTFS.)

Here is one video of gParted on Mint 11. It didn't say what version was it (KDE, XFCE, or Gnome). And I couldn't find a video for 12.

http://www.youtube.com/watch?v=hk1j4qXlNzg

How do I get rid of the two partitions on a thumb drive through linux ubuntu?
Q. I tried to put ubuntu on a pendrive and it did not work out well. Now, when I plug in the usb device, it shows as two devices and it has a file that I can't delete. How do I combine the two partitions and format the thumb drive through Ubuntu 7.10
Thanks linux OS! But how do I work the program? both partitions have a lock icon next to them. How do I make the program work?

A. Use gparted



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment