Pages

Saturday 25 April 2015

Fedora: Enabling RPM Fusion Repository!

RPM fusion is on of the most famous repository for Fedora operating system! RPM fusion repository contains some non-open source packages i.e closed-source packages and also some non-free programs ! RPM fusion also has some packages like VLC media player which are not present in official fedora repository ! So as you know vlc media player has no competition in world of video and audio players so for the purpose of vlc installation in fedora lets see how to enable RPM fusion repository in fedora! 

Use the following two commands to enable RPM fusion repository in fedora!

sudo yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-21.noarch.rpm

sudo yum localinstall --nogpgcheck http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-21.noarch.rpm
 
Just copy and paste the following two commands in terminals and now update the repo
database using the following command
 
sudo yum update 
 
after updating the system.. the databases repo in the fedora operating system is updated!
So now the RPM Fusion repository is enabled so you can download and install vlc media
player in your fedora operating system using the following command!
 
sudo yum install vlc
 
and vlc media player is installed in your fedora :) 
 
 

Fixing dpkg: Fedora workstation

hello friends! so, this will be my first post on fedora related issues .. I found problems while using dpkg (short for debian package) in fedora ... dpkg is basically used to install .deb packages in your linux operating system!

dpkg is not present in fedora! So you have to install it first using the following command!

sudo yum install dpkg

it will now ask you for the password.. so provide it and it will be installed in the system! So many of you may also face a error at this time says that users is not present in sudoers file! so to add our user in the sudoers file use the following two commands in terminal!

first become superuser in terminal .. for that purpose use the following command

su

after hitting enter terminal will again ask for the password provide it and now you have a superuser or root terminal! Now i need you to enter the following command 

usermod sampleusername -a -G wheel

After performing these tasks now restart your fedora operating system!
after restarting again try to install dpkg using the command 

sudo yum install dpkg

This time dpkg will install in your operating system without any error ! 
so now the time has come to install .deb packages in your fedora operating system... lets try to install sublime text editor in fedora using the following command in the terminal


sudo dpkg -i sublime-text_build-3083_amd64.deb

and it gives the following error 


lets have a look at the error "failed to open package into file '/var/lib/dpkg/available' for reading: no such file or directory"

so it says there is no file name "available" in "/var/lib/dpkg/" so we need to go there and make a available file there so for that purpose use the following commands

cd /var/lib/dpkg/

sudo touch available

sudo chmod -R 777 available

after doing this three tasks you will be able to install .deb packages in fedora operating system! :)

Saturday 4 April 2015

Customising Kali Linux GRUB Bootloader!! Easy Way!!

Hey guys, in this post i'm gonna show you how to cutomise Grub boot loader in kali linux ! Note:- these methods will also work same for ubuntu and linux mint !

So first of all we need to change the image that we see at bootloader in kali linux! Here you can add any image you want! I'm gonna use the image of Rachel McAdams !


I need you to put the image in /boot/grub/ directory of kali linux
so for this purpose you can manually use gui provided by kali or you can use terminal of kali linux !
Suppose the image(rachel.jpg) is present in your Downloads folder then use the following commands

Okayy ! so, now you have successfully copied Rachel McAdams pic in your /boot/grub/ directory , Now you have to open the terminal and type the following command shown in the pic below!

 lastly you need to open the grub.cfg file present in /boot/grub/ directory to edit the menuentry names of operating system that appears on the grub bootloader !
 i will remove the menu entry of the recovery mode of linux and also i will change the names of linux and windows os in my laptop ! So for kali linux i will use An0n_h4x0र and i will remove the menu entry of recovery mode .. for windows 8.1 i will name it as An0n_8.1 and for linux mint i will name it as An0n_h4ck1nt0sh and remove the menu entry of recovery mode of linux mint .. so all these you have to do on your own using your favorate text editor!

so that's how my grub looks now


Thank you very much!