Remove package with Yum
Answer:
You can use the following command to remove packages using yum,
e.g. remove Firefox
yum remove firefox
To remove multiple packages, try
yum remove firefox gedit
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
Remove package with Yum
Answer:
You can use the following command to remove packages using yum,
e.g. remove Firefox
yum remove firefox
To remove multiple packages, try
yum remove firefox gedit
How to remove installed package using RPM?
Answer:
To remove installed package using rpm, use the following command
e.g. remove Firefox
rpm -e firefox
To remove multiple packages, try
rpm -e firefox gedit
Disable IPv6 in Linux
Answer:
To disable IPv6 during boot time.
1. edit /boot/grub/menu.lst
# sudo vi /boot/grub/menu.lst
2. append the following line at the end of your targeted kernel, save the file.
ipv6.disable=1
3. Restart your system and verify to see it is now disabled (The following command should return nothing)
# ip a | grep inet6
How to change hostname in Ubuntu?
Answer:
To see the current hostname setting, see
# cat /etc/hostname
www.example.com
To change it, edit this file
sudo vi /etc/hostname
Save it and reboot your system and perform the step above to check again.
How to check if my system was just rebooted
Answer:
Use the following command
sudo last reboot
And it will show all the reboot information, e.g.
reboot system boot 2.6.27-7-server Sat Jan 2 19:03 - 20:39 (01:35)
...